fix: update pipeline code
This commit is contained in:
parent
ecd61bff94
commit
8fd856c059
@ -70,10 +70,6 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
ARGO_GITHUB_OAUTH_KEY:
|
|
||||||
from_secret: GITHUB_OAUTH_KEY
|
|
||||||
ARGO_GOOGLE_OAUTH_KEY:
|
|
||||||
from_secret: GOOGLE_OAUTH_KEY
|
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
@ -100,6 +96,10 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
|
ARGO_GITHUB_OAUTH_KEY:
|
||||||
|
from_secret: GITHUB_OAUTH_KEY
|
||||||
|
ARGO_GOOGLE_OAUTH_KEY:
|
||||||
|
from_secret: GOOGLE_OAUTH_KEY
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
|
Reference in New Issue
Block a user