mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39:43 +00:00
readme.rst: fix indent
This commit is contained in:
parent
75b569694a
commit
c6543d1acf
1 changed files with 11 additions and 9 deletions
20
README.rst
20
README.rst
|
|
@ -75,10 +75,11 @@ ArgoCD bootstrap
|
||||||
* Run bootstrap script `scripts/bootstrap.sh -k gullfaxi -e gullfaxi`
|
* Run bootstrap script `scripts/bootstrap.sh -k gullfaxi -e gullfaxi`
|
||||||
|
|
||||||
* Add git repo:
|
* Add git repo:
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
argocd login --grpc-web argocd.ioot.xyz
|
.. code-block:: bash
|
||||||
argocd repo add git@github.com:amkartashov/gf-k8s --ssh-private-key-path ~/.ssh/argocd.ioot.xyz
|
|
||||||
|
argocd login --grpc-web argocd.ioot.xyz
|
||||||
|
argocd repo add git@github.com:amkartashov/gf-k8s --ssh-private-key-path ~/.ssh/argocd.ioot.xyz
|
||||||
|
|
||||||
|
|
||||||
* Create new Oauth application <https://github.com/settings/applications/new>:
|
* Create new Oauth application <https://github.com/settings/applications/new>:
|
||||||
|
|
@ -87,13 +88,14 @@ ArgoCD bootstrap
|
||||||
* Homepage URL: https://argocd.ioot.xyz/
|
* Homepage URL: https://argocd.ioot.xyz/
|
||||||
* Authorization callback URL: https://argocd.ioot.xyz/api/dex/callback
|
* Authorization callback URL: https://argocd.ioot.xyz/api/dex/callback
|
||||||
* Update dex client id and secret:
|
* Update dex client id and secret:
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
kubectl --context gullfaxi -n argocd patch secret argocd-secret \
|
.. code-block:: bash
|
||||||
--patch='{"stringData": {
|
|
||||||
"dex.github.clientId": "REPLACE",
|
kubectl --context gullfaxi -n argocd patch secret argocd-secret \
|
||||||
"dex.github.clientSecret": "REPLACE"
|
--patch='{"stringData": {
|
||||||
}}'
|
"dex.github.clientId": "REPLACE",
|
||||||
|
"dex.github.clientSecret": "REPLACE"
|
||||||
|
}}'
|
||||||
|
|
||||||
* Remove secret ``kubectl --context gullfaxi -n argocd delete secret argocd-initial-admin-secret``.
|
* Remove secret ``kubectl --context gullfaxi -n argocd delete secret argocd-initial-admin-secret``.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue