Install helm-secrets plugin
This commit is contained in:
parent
932a0183f5
commit
e5e856741c
@ -5,6 +5,8 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Show helmfile diffs
|
name: Show helmfile diffs
|
||||||
|
environment:
|
||||||
|
HELM_SECRETS_VERSION: v4.3.0
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -20,6 +22,7 @@ steps:
|
|||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
|
- helm plugin install https://github.com/jkroepke/helm-secrets --version $HELM_SECRETS_VERSION
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants diff
|
- helmfile -e badhouseplants diff
|
||||||
@ -30,6 +33,7 @@ steps:
|
|||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
|
- helm plugin install https://github.com/jkroepke/helm-secrets --version $HELM_SECRETS_VERSION
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e etersoft diff
|
- helmfile -e etersoft diff
|
||||||
@ -41,6 +45,8 @@ steps:
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Apply helmfile changes
|
name: Apply helmfile changes
|
||||||
|
environment:
|
||||||
|
HELM_SECRETS_VERSION: v4.3.0
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -55,6 +61,7 @@ steps:
|
|||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
|
- helm plugin install https://github.com/jkroepke/helm-secrets --version $HELM_SECRETS_VERSION
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants apply
|
- helmfile -e badhouseplants apply
|
||||||
@ -65,6 +72,7 @@ steps:
|
|||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
from_secret: KUBECONFIG_CONTENT
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
|
- helm plugin install https://github.com/jkroepke/helm-secrets --version $HELM_SECRETS_VERSION
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e etersoft apply
|
- helmfile -e etersoft apply
|
||||||
|
Reference in New Issue
Block a user