fix: update pipeline code

This commit is contained in:
Nikolai Rodionov 2023-03-01 13:43:05 +01:00
parent ecd61bff94
commit 8fd856c059

View File

@ -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