Skip to content

Commit

Permalink
feat(intialAdminHashPassword): support (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcRiiad authored Oct 17, 2024
1 parent 47a28b4 commit 1765372
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ spec:
secretKeyRef:
name: {{ required "You must specify a license secret" .Values.license.secretName }}
key: {{ required "You must specify a license secret" .Values.license.secretKey }}
{{- if .Values.initialAdminHashPassword.enabled }}
- name: HRZ_ADMIN_PWD_HASH
valueFrom:
secretKeyRef:
name: {{ .Values.initialAdminHashPassword.secretName }}
key: {{ .Values.initialAdminHashPassword.secretKey }}
{{- end }}
- name: LOGGING_APPENDER
value: {{ .Values.logFormat }}
{{- if .Values.logback.pattern }}
Expand Down
9 changes: 9 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,15 @@ license:
secretName: ""
secretKey: ""

## Set up initial admin user.
## @param initialAdminHashPassword.enabled Whether to enable the initial admin user
## @param initialAdminHashPassword.secretName Existing secret name where the initial admin password is stored
## @param initialAdminHashPassword.secretKey Existing secret key where the initial admin password is stored
initialAdminHashPassword:
enabled: false
secretName: ""
secretKey: ""

## For backwards-compatibility reasons, this array should contain
## only one element.
## For more information, refer to the Horizon installation guide.
Expand Down

0 comments on commit 1765372

Please sign in to comment.