Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions articles/control-center/getting-started/upgrade.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,16 @@ kubectl -n control-center edit configmap control-center

=== Secret for Control Center User Credentials

You'll need to set up a secret which holds the email and password of the main Control Center user. These values must be the same as what was entered during the installation process of version 1.0, in the installation wizard. Assuming the email was `[email protected]` and the password was `examplepassword123`, you would execute the following:
You'll need to set up a secret which holds the email and password of the main Control Center user.
These values must be the same as what was entered during the installation process of version 1.0, in the installation wizard.

WARNING: To prevent the sensitive values of the secrets being *stored in the terminal command history*, write down the values in files (*without* an extra newline character at the end of the text) and pass those files to `kubectl` to save their content as the secret's values.

[source,bash]
----
kubectl -n control-center create secret generic control-center-user \
[email protected] \
--from-literal=password=examplepassword123
--from-file=password=/path/to/password.txt
----

You'll have to adjust these values, though, for your email address and password.
Expand Down