argocd-helm/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml
Scott Cabrinha 4f4c3af0c2
feat: add imagePullSecrets, labels, annotations and update CRDs (#268)
* feat: add imagePullSecrets, labels, annotations and update CRDs

* remove global value

* keep templated labels

* Update charts/argo-rollouts/Chart.yaml

update minor version, not just patch

Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com>

* Update charts/argo-rollouts/README.md

Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com>

Co-authored-by: Eytan Hanig <eytanhanig@users.noreply.github.com>
2020-03-25 09:29:44 -07:00

109 lines
1.4 KiB
YAML

{{- if .Values.clusterInstall }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Release.Name }}-clusterrole
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
app.kubernetes.io/name: {{ .Release.Name }}-clusterrole
app.kubernetes.io/part-of: {{ .Release.Name }}
rules:
- apiGroups:
- apps
resources:
- replicasets
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- argoproj.io
resources:
- rollouts
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- argoproj.io
resources:
- analysisruns
- experiments
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- argoproj.io
resources:
- analysistemplates
verbs:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- create
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- update
- patch
- apiGroups:
- networking.istio.io
resources:
- virtualservices
verbs:
- watch
- get
- update
{{- end }}