* 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>
109 lines
1.4 KiB
YAML
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 }}
|