diff --git a/helm/regclient/templates/_helpers.tpl b/helm/regclient/templates/_helpers.tpl index 212fc88fe76..8f0fb831dc1 100644 --- a/helm/regclient/templates/_helpers.tpl +++ b/helm/regclient/templates/_helpers.tpl @@ -24,7 +24,7 @@ Create the name of the service account to use */}} {{- define "regclient.serviceAccountName" -}} {{- if .Values.serviceAccount.create -}} - {{ default (printf "%s-foo" (include "common.names.fullname" .)) .Values.serviceAccount.name }} + {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }} {{- else -}} {{ default "default" .Values.serviceAccount.name }} {{- end -}} diff --git a/helm/regclient/templates/keystorerole.yaml b/helm/regclient/templates/keystorerole.yaml index 4dc12084e9f..effb4570a30 100644 --- a/helm/regclient/templates/keystorerole.yaml +++ b/helm/regclient/templates/keystorerole.yaml @@ -9,4 +9,4 @@ metadata: rules: - apiGroups: [""] resources: ["pods","configmaps", "secrets"] - verbs: ["create", "delete", "patch"] + verbs: ["get", "create", "delete", "patch"]