Skip to content

Commit

Permalink
Update aceshifter rbac
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 8, 2024
1 parent ba82203 commit 5fc141d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ spec:
kind: HelmRepository
name: appscode-charts-oci
namespace: {{ $.Release.Namespace }}
valuesFrom:
{{- if eq (include "clustermanager.openshift" $) "true" }}
- kind: ConfigMap
name: ace-openshift-scc
valuesKey: cert-manager-csi-driver-cacerts.yaml
{{- end }}
{{- with $vals }}
{{- dict "values" . | toYaml | nindent 2 }}
{{- end }}
Expand Down
9 changes: 9 additions & 0 deletions charts/aceshifter/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ rules:
- get
- list
- watch
- create
- apiGroups:
- cluster.open-cluster-management.io
resources:
Expand All @@ -83,6 +84,14 @@ rules:
- get
- list
- watch
- apiGroups:
- helm.toolkit.fluxcd.io
resources:
- helmreleases
verbs:
- get
- list
- watch
- apiGroups:
- ui.k8s.appscode.com
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ spec:
kind: HelmRepository
name: appscode-charts-oci
namespace: {{ .Release.Namespace }}
valuesFrom:
{{- if eq (include "clustermanager.openshift" $) "true" }}
- kind: ConfigMap
name: ace-openshift-scc
valuesKey: cert-manager-csi-driver-cacerts.yaml
{{- end }}
{{- with $vals }}
{{- dict "values" . | toYaml | nindent 2 }}
{{- end }}

0 comments on commit 5fc141d

Please sign in to comment.