mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 01:19:44 +00:00
readme: add oauth2-proxy into bootstrap instructions
This commit is contained in:
parent
0e45303c36
commit
6e075388e9
1 changed files with 23 additions and 2 deletions
25
README.rst
25
README.rst
|
|
@ -95,6 +95,19 @@ ArgoCD bootstrap
|
|||
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>:
|
||||
|
||||
* Application name: oauth2.ioot.xyz
|
||||
* Homepage URL: https://oauth2.ioot.xyz
|
||||
* Authorization callback URL: https://oauth2.ioot.xyz/oauth2/callback
|
||||
* Update oauth2-proxy client id, secret and cookie secret:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
argocd app set argocd/oauth2-proxy --parameter config.clientID REPLACE
|
||||
argocd app set argocd/oauth2-proxy --parameter config.clientSecret REPLACE
|
||||
argocd app set argocd/oauth2-proxy --parameter config.cookieSecret `pwgen -1 32`
|
||||
|
||||
* Create new Oauth application <https://github.com/settings/applications/new>:
|
||||
|
||||
* Application name: argocd.ioot.xyz
|
||||
|
|
@ -117,10 +130,18 @@ Passing Sensitive Parameters in ArgoCD apps
|
|||
|
||||
Used methods:
|
||||
|
||||
* manually creating K8s secrets (f.e. this way is used to configure repo secret in argocd)
|
||||
* manually updating K8s secrets (f.e. this way is used to configure GitHub Oauth App client secret)
|
||||
* manually creating K8s secrets
|
||||
|
||||
F.e. this way is used to configure repo secret in argocd.
|
||||
|
||||
* manually updating K8s secrets
|
||||
|
||||
F.e. this way is used to configure GitHub Oauth App client secret.
|
||||
|
||||
* modifying helm parameters in application
|
||||
|
||||
F.e. this is done for Oauth2 Proxy application.
|
||||
|
||||
ArgoCD application types which can be used
|
||||
===============================================================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue