Skip to content

Commit

Permalink
feat(intialAdminHashPassword): support (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcRiiad authored Oct 17, 2024
1 parent ef5319a commit df8b551
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 @@ -160,6 +160,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: STM_ADMIN_PWD_HASH
valueFrom:
secretKeyRef:
name: {{ .Values.initialAdminHashPassword.secretName }}
key: {{ .Values.initialAdminHashPassword.secretKey }}
{{- end }}
- name: KEYSET
valueFrom:
secretKeyRef:
Expand Down
9 changes: 9 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,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: ""

## Additional allowed hosts that are whitelisted to access the Stream UI.
## Configured ingresses will automatically be added to the list, this should
## only be used when port forwarding or when an ingress is created manually.
Expand Down

0 comments on commit df8b551

Please sign in to comment.