Files
charts/bitnami/kiam/templates/server/server-write-clusterrole.yaml
Javier J. Salmerón-García 2a66fcbe79 [bitnami/kiam] Add kiam helm chart (#4313)
* [bitnami/kiam] Add kiam helm chart

* fix readme

* Fix apiversion

* Update bitnami/kiam/templates/NOTES.txt

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>

* Update bitnami/kiam/templates/NOTES.txt

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>

* Apply requested changes

* Add helper

* Update bitnami/kiam/README.md

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>
2020-11-12 16:10:30 +01:00

25 lines
754 B
YAML

{{- if .Values.server.enabled }}
{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: server
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
name: {{ template "common.names.fullname" . }}-server-write
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
{{- end }}
{{- end }}