Skip to content

Commit

Permalink
Fix kubectl commands for exporting configs (Closes #1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Napp committed Oct 12, 2020
1 parent d216d67 commit 6002086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions adoc/admin-troubleshooting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ Please update the Dex & Gangway ConfigMap to use the same client secret.

[source,bash]
----
kubectl get configmap oidc-dex-config > oidc-dex-config.yaml
kubectl get configmap oidc-gangway-config > oidc-gangway-config.yaml
kubectl -n kube-system get configmap oidc-dex-config -o yaml > oidc-dex-config.yaml
kubectl -n kube-system get configmap oidc-gangway-config -o yaml > oidc-gangway-config.yaml
----

Make sure the oidc's `secret` in `oidc-dex-config.yaml` is the same as the `clientSecret` in `oidc-gangway-config.yaml`.
Expand Down
4 changes: 2 additions & 2 deletions adoc/admin-velero-usecase.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ velero restore logs <RESTORE_NAME>
[source,bash]
----
# Download dex.yaml
kubectl get configmap oidc-dex-config -o yaml > oidc-dex-config.yaml
kubectl -n kube-system get configmap oidc-dex-config -o yaml > oidc-dex-config.yaml
# Edit oidc-dex-config.yaml to desired
vim oidc-dex-config.yaml
Expand All @@ -121,7 +121,7 @@ kubectl delete pod -l app=oidc-dex
[source,bash]
----
# Download gangway.yaml
kubectl get configmap oidc-gangway-config -o yaml > oidc-gangway-config.yaml
kubectl -n kube-system get configmap oidc-gangway-config -o yaml > oidc-gangway-config.yaml
# Edit oidc-gangway-config.yaml to desired
vim oidc-gangway-config.yaml
Expand Down

0 comments on commit 6002086

Please sign in to comment.