Skip to content

Commit ffea51c

Browse files
committed
feat(charts): reuses the value from an existing secret and config
1 parent 3e7ffd3 commit ffea51c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

charts/builder/templates/builder-controller-secret-key-auth.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ metadata:
44
name: builder-key-auth
55
labels:
66
heritage: drycc
7-
annotations:
8-
"helm.sh/hook": pre-install
97
type: Opaque
108
data:
11-
builder-key: {{ randAlphaNum 64 | b64enc }}
9+
builder-key: {{ include "common.secrets.lookup" (dict "secret" "builder-key-auth" "key" "builder-key" "defaultValue" (randAlphaNum 64) "context" $) }}

0 commit comments

Comments
 (0)