Skip to content

Commit

Permalink
fix: Revert "feat: helm requires bootstrap password (DET-10196)" (#9345)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-amano-hpe authored May 9, 2024
1 parent df0b7f9 commit 2445d39
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
7 changes: 2 additions & 5 deletions docs/reference/deploy/helm-config-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,10 @@
any HTTP traffic. The default timeout is 300 (5 minutes).

- ``initialUserPassword``: Specifies a string containing the default password for the admin and
determined user accounts in a brand new deployment. This is required in order to prevent
potentially launching an unsecured cluster, but has no effect if the database has already been
created. (*Required*)
determined user accounts.

- ``defaultPassword``: (*Deprecated*) Specifies a string containing the default password for the
admin and determined user accounts in a brand new deployment. Use ``initialUserPassword``
instead.
admin and determined user accounts. Use ``initialUserPassword`` instead.

- ``logging``: Configures where trial logs are stored. This section takes the same shape as the
logging configuration in the :ref:`cluster configuration <cluster-configuration>`, except that
Expand Down
6 changes: 0 additions & 6 deletions docs/release-notes/helm-requires-initial-password.rst

This file was deleted.

4 changes: 3 additions & 1 deletion helm/charts/determined/templates/master-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ stringData:
{{- end }}
security:
initial_user_password: {{ coalesce .Values.initialUserPassword .Values.defaultPassword | quote | required "An initial password for admin and determined users is required!" }}
{{- if .Values.initialUserPassword }}
initial_user_password: {{ coalesce .Values.initialUserPassword .Values.defaultPassword | quote }}
{{- end }}
{{- if .Values.tlsSecret }}
tls:
cert: {{ include "determined.secretPath" . }}tls.crt
Expand Down
5 changes: 1 addition & 4 deletions helm/charts/determined/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,7 @@ resourcePools:
# defaultComputeResourcePool: default

## Configure the initial user password for the cluster
## Will be the password for both `admin` and `determined` default users at launch
## This is required to ensure all launches have a password set, but has no effect
## once a password is already set.
# initialUserPassword:
# initialUserPassword

# additional_resource_managers:
# - resource_manager:
Expand Down

0 comments on commit 2445d39

Please sign in to comment.