Skip to content

Commit ae1c724

Browse files
authored
fix(chart): bump appVersion to 1.7.6 and add kubevirt RBAC (#883)
Chart.yaml pinned appVersion/image to 1.5.7 while the templates render flags (--auth-oidc-scopes, --timeline-retention, --timeline-max-size) that only exist in 1.7.x binaries. Installing with chart defaults pulls the 1.5.7 image, which rejects those flags, prints usage, and never becomes ready. Bump appVersion and the artifacthub image annotation to 1.7.6 to match the templates. Also add a kubevirt crdGroup (kubevirt.io + cdi/clone/export/instancetype/ migrations/pool/snapshot sub-APIs), defaulted on like the other CRD groups, so the resource browser and topology can read KubeVirt VMs instead of spamming forbidden-watch errors on clusters running KubeVirt.
1 parent a5a8cd5 commit ae1c724

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

deploy/helm/radar/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: radar
33
description: Modern Kubernetes visibility - topology, traffic, Helm and GitOps management
44
type: application
55
version: 1.5.10
6-
appVersion: "1.5.7"
6+
appVersion: "1.7.6"
77
icon: https://radarhq.io/radar/icon-512.png
88
keywords:
99
- kubernetes
@@ -38,7 +38,7 @@ annotations:
3838
url: https://radarhq.io/community/chat
3939
artifacthub.io/images: |
4040
- name: radar
41-
image: ghcr.io/skyhook-io/radar:1.5.7
41+
image: ghcr.io/skyhook-io/radar:1.7.6
4242
artifacthub.io/screenshots: |
4343
- title: Multi-cluster topology
4444
url: https://github.com/skyhook-io/radar/raw/main/docs/screenshots/topology-view.png

deploy/helm/radar/templates/clusterrole.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ rules:
319319
resources: ["*"]
320320
verbs: ["get", "list", "watch"]
321321
{{- end }}
322+
{{- if .Values.rbac.crdGroups.kubevirt }}
323+
- apiGroups: ["kubevirt.io", "cdi.kubevirt.io", "clone.kubevirt.io", "export.kubevirt.io", "instancetype.kubevirt.io", "migrations.kubevirt.io", "pool.kubevirt.io", "snapshot.kubevirt.io"]
324+
resources: ["*"]
325+
verbs: ["get", "list", "watch"]
326+
{{- end }}
322327
{{- if .Values.rbac.crdGroups.kured }}
323328
- apiGroups: ["kured.io"]
324329
resources: ["*"]

deploy/helm/radar/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ rbac:
145145
keda: true # keda.sh
146146
knative: true # serving.knative.dev, eventing.knative.dev, sources/messaging/flows/networking.internal.knative.dev
147147
kubeshark: true # kubeshark.io
148+
kubevirt: true # kubevirt.io (VirtualMachines/VMIs) + cdi/clone/export/instancetype/migrations/pool/snapshot.kubevirt.io
148149
kured: true # kured.io
149150
kyverno: true # kyverno.io, wgpolicyk8s.io, reports.kyverno.io, openreports.io
150151
mariadb: true # mariadb.mmontes.io

0 commit comments

Comments
 (0)