Skip to content

Commit

Permalink
fix mb encrypt key length
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-funk committed Nov 28, 2024
1 parent 60599eb commit 0509427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/app/templates/metabase/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ If release name contains chart name it will be used as a full name.
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- printf "%s-metabase" .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name .Chart.Name | trunc 63 | trimSuffix "-" }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/app/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $databaseUser := .Values.global.secrets.databaseUser | default "postgres" }}
{{- $databasePassword := .Values.global.secrets.databasePassword | default (randAlphaNum 10) }}
{{- $metabaseDatabaseUser := .Values.global.secrets.metabaseDatabaseUser | default "postgres" }}
{{- $metabaseDatabasePassword := .Values.global.secrets.metabaseDatabasePassword | default (randAlphaNum 10) }}
{{- $metabaseDatabasePassword := .Values.global.secrets.metabaseDatabasePassword | default (randAlphaNum 20) }}
{{- $metabaseDatabaseName := .Values.global.secrets.metabaseDatabaseName | default "metabase" }}
{{- $caseManagementApiKey := .Values.global.secrets.caseManagementApiKey | default (randAlphaNum 10) }}
{{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "nr-compliance-enforcement") | default dict }}
Expand Down

0 comments on commit 0509427

Please sign in to comment.