Skip to content

Commit

Permalink
Revert "docs: Add step to restart dex deployment after config changes"
Browse files Browse the repository at this point in the history
This reverts commit 1fb6804.

This rollout is not longer needed since it's automatically handled by
the salt states

Refs: #2569
  • Loading branch information
TeddyAndrieux committed May 26, 2020
1 parent abaee43 commit bb7eb27
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/operation/cluster_and_service_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,6 @@ To add a new static user, perform the following operations:
salt-master-bootstrap -- salt-run \\
state.sls metalk8s.addons.dex.deployed saltenv=metalk8s-|version|
#. From the Bootstrap node, restart the Dex deployments.

.. code-block:: shell
root@bootstrap $ kubectl --kubeconfig /etc/kubernetes/admin.conf \
rollout restart deployment dex -n metalk8s-auth
#. Finally, create and apply the required :file:`ClusterRoleBinding.yaml` file
that ensures that the newly added static user is bound to a Cluster Role.

Expand Down Expand Up @@ -266,13 +259,6 @@ To change the password of an existing user, perform the following operations:
salt-master-bootstrap -- salt-run \\
state.sls metalk8s.addons.dex.deployed saltenv=metalk8s-|version|
#. From the Bootstrap node, restart the Dex deployments.

.. code-block:: shell
root@bootstrap $ kubectl --kubeconfig /etc/kubernetes/admin.conf \
rollout restart deployment dex -n metalk8s-auth
#. Verify that the password has been changed and you can log in to the MetalK8s
UI using the new password

Expand Down

0 comments on commit bb7eb27

Please sign in to comment.