Set SOPS_AGE_KEY var
This commit is contained in:
parent
b9a6280611
commit
76b9c79189
@ -19,6 +19,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
|
SOPS_AGE_KEY:
|
||||||
|
from_secret: SOPS_AGE_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
|
||||||
@ -27,6 +29,8 @@ steps:
|
|||||||
- name: Diff eterosoft
|
- name: Diff eterosoft
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
|
SOPS_AGE_KEY:
|
||||||
|
from_secret: SOPS_AGE_KEY
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
@ -54,6 +58,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
|
SOPS_AGE_KEY:
|
||||||
|
from_secret: SOPS_AGE_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
|
||||||
@ -64,6 +70,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
|
SOPS_AGE_KEY:
|
||||||
|
from_secret: SOPS_AGE_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