Files
charts/bitnami/spring-cloud-dataflow/templates/role.yaml
Javier J. Salmerón-García 3f7ed3f9f5 [bitnami/scdf] General improvements (#5719)
* [bitnami/scdf] General improvements

* Add TLS section

* Update bitnami/spring-cloud-dataflow/README.md

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

* Apply suggestions

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
2021-03-08 12:52:57 +01:00

81 lines
1.6 KiB
YAML

{{- if .Values.rbac.create }}
kind: Role
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ include "scdf.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- ""
resources:
- services
- pods
- replicationcontrollers
- persistentvolumeclaims
verbs:
- get
- list
- watch
- create
- delete
- update
- apiGroups:
- ""
resources:
- configmaps
- secrets
- pods/log
- pods/status
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- statefulsets
- deployments
- replicasets
verbs:
- get
- list
- watch
- create
- delete
- update
- patch
- apiGroups:
- extensions
resources:
- deployments
- replicasets
verbs:
- get
- list
- watch
- create
- delete
- update
- patch
- apiGroups:
- batch
resources:
- cronjobs
- jobs
verbs:
- get
- list
- watch
- create
- delete
- update
- patch
{{- end }}