Re create an administrator user
If you are particularly creative, you can lock yourself out of Deep Security Smart Check. To regain access to the system, you can re-create an administrator user.
Get the current installed version of Deep Security Smart Check
helm ls command:
$ helm ls NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE deepsecurity-smartcheck 1 Sun Jun 23 10:01:49 2019 DEPLOYED smartcheck-1.2.9 1.2.9 default
The version of Deep Security Smart Check that is installed will be shown in the
APP VERSION column.
helm upgrade to create a recovery user
Assuming you have settings specific to your cluster in
overrides.yaml, use the following command to create a recovery user. Replace
1.2.9 with the version from the previous step:
$ helm upgrade \ --values overrides.yaml \ --set auth.userName=recovery \ deepsecurity-smartcheck \ https://github.com/deep-security/smartcheck-helm/archive/1.2.9.tar.gz
The output of the command will include instructions for retrieving the recovery username and password.