Skip to content

Commit

Permalink
feat(base-cluster/monitoring): improve strength of generated grafana …
Browse files Browse the repository at this point in the history
…adminPassword
  • Loading branch information
cwrau committed Nov 22, 2023
1 parent 54a6512 commit afac350
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ type: Opaque
data:
username: {{ "admin" | b64enc }}
# This might change on every `template` call, this can be ignored
password: {{ include "common.secrets.passwords.manage" (dict "secret" $name "key" "password" "providedValues" (list "monitoring.grafana.adminPassword") "context" (dict "Values" .Values "Release" ((dict "IsUpgrade" false "IsInstall" true "Namespace" "monitoring") | mergeOverwrite (deepCopy .Release)))) }}
{{- end }}
password: {{ include "common.secrets.passwords.manage" (dict "secret" $name "length" 40 "strong" true "key" "password" "providedValues" (list "monitoring.grafana.adminPassword") "context" (dict "Values" .Values "Release" ((dict "IsUpgrade" false "IsInstall" true "Namespace" "monitoring") | mergeOverwrite (deepCopy .Release)))) }}
{{- end }}

0 comments on commit afac350

Please sign in to comment.