fix helpers script for UI chart and docs

This commit is contained in:
Felix Kunde
2020-02-18 12:59:40 +01:00
parent d054def1be
commit a448706564
4 changed files with 14 additions and 7 deletions
@@ -24,6 +24,13 @@ If release name contains chart name it will be used as a full name.
{{- end -}}
{{- end -}}
{{/*
Create a service account name.
*/}}
{{- define "postgres-operator-ui.serviceAccountName" -}}
{{ default (include "postgres-operator-ui.fullname" .) .Values.serviceAccount.name }}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
@@ -54,8 +54,8 @@ rules:
- get
- list
- patch
- update # needed if postgres-operator account is used for pods as well
- watch # needed if postgres-operator account is used for pods as well
- update
- watch
# to CRUD secrets for database access
- apiGroups:
- ""