mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
* [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>
25 lines
754 B
YAML
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 }}
|