Files
charts/bitnami/dataplatform-bp1/templates/role.yaml
ksarvani ba3c1d024a bitnami/dataplatform-bp1: added annotation based discovery feature to wavefront and updated emitter/exporter images. (#8133)
* updated dataplatform-bp1

* removed charts folder

* removed kafka prefix in wavefront config

* updated README file

* update values.yaml and README.md

* updated README.md

* updated emitter image repo

* updated comments in values.yaml file

* updated values.yaml

* updated exporter deployment

* updated README and values.yaml files

* updated README.md

* updated values.yaml

* Fix comments standard

* [bitnami/dataplatform-bp1] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Miguel Ángel Cabrera Miñagorri <mcabrera@vmware.com>
Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2021-11-22 18:10:55 +01:00

56 lines
1.3 KiB
YAML

{{- if .Values.dataplatform.rbac.create -}}
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: Role
metadata:
name: {{ template "dataplatform.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: dataplatform
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- ""
resources:
- statefulsets
- pods
- services
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- namespaces
- namespaces/status
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- controllerrevisions
- daemonsets
- daemonsets/status
- deployments
- deployments/scale
- deployments/status
- replicasets
- replicasets/scale
- replicasets/status
- statefulsets
- statefulsets/scale
- statefulsets/status
verbs:
- get
- list
- watch
{{- end -}}