Skip to content

Commit 07bfbf2

Browse files
GokulBansal0Harness
authored andcommitted
feat: [PL-68002]: increase password length from 10 to 16 (#27)
* afe2a1 chore(PL-68002): increase password length from 10 to 16
1 parent 81ba5c9 commit 07bfbf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chart/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ Create the name of the service account to use
7777
{{- $localESOSecretCtxIdentifier := (include "harnesscommon.secrets.localESOSecretCtxIdentifier" (dict "ctx" $ )) }}
7878
{{- if eq (include "harnesscommon.secrets.isDefaultAppSecret" (dict "ctx" $ "variableName" "GCP_CREDENTIALS")) "true" }}
7979
{{- $hasAtleastOneSecret = true }}
80-
GCP_CREDENTIALS: {{ include "harnesscommon.secrets.passwords.manage" (dict "secret" "cloud-info-secret-mount" "key" "GCP_CREDENTIALS" "providedValues" (list "CLOUD_INFO_GCP_CREDS" "secrets.default.GCP_CREDENTIALS") "length" 10 "context" $) }}
80+
GCP_CREDENTIALS: {{ include "harnesscommon.secrets.passwords.manage" (dict "secret" "cloud-info-secret-mount" "key" "GCP_CREDENTIALS" "providedValues" (list "CLOUD_INFO_GCP_CREDS" "secrets.default.GCP_CREDENTIALS") "length" 16 "context" $) }}
8181
{{- end }}
8282
{{- if eq (include "harnesscommon.secrets.isDefaultAppSecret" (dict "ctx" $ "variableName" "CONFIG_FILE")) "true" }}
8383
{{- $hasAtleastOneSecret = true }}
84-
CONFIG_FILE: {{ include "harnesscommon.secrets.passwords.manage" (dict "secret" "cloud-info-secret-mount" "key" "CONFIG_FILE" "providedValues" (list "CLOUD_INFO_CONFIG" "secrets.default.CONFIG_FILE") "length" 10 "context" $) }}
84+
CONFIG_FILE: {{ include "harnesscommon.secrets.passwords.manage" (dict "secret" "cloud-info-secret-mount" "key" "CONFIG_FILE" "providedValues" (list "CLOUD_INFO_CONFIG" "secrets.default.CONFIG_FILE") "length" 16 "context" $) }}
8585
{{- end }}
8686
{{- if not $hasAtleastOneSecret }}
8787
{}

0 commit comments

Comments
 (0)