Add an etersoft pipeline

This commit is contained in:
Nikolai Rodionov 2023-02-18 18:38:56 +01:00
parent 96f0ced99f
commit 21fa008ec7
2 changed files with 12 additions and 12 deletions

View File

@ -5,14 +5,9 @@
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: Apply helmfile changes name: Apply helmfile changes
matrix:
ENV:
- etersoft
- badhouseplants
steps: steps:
- name: Diff helmfiles - name: Diff badhouseplants
image: ghcr.io/helmfile/helmfile:canary image: ghcr.io/helmfile/helmfile:canary
environment: environment:
KUBECONFIG_CONTENT: KUBECONFIG_CONTENT:
@ -20,4 +15,14 @@ steps:
commands: commands:
- mkdir $HOME/.kube - mkdir $HOME/.kube
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config - echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
- helmfile -e ${ENV} diff - helmfile -e badhouseplants diff
- name: Diff eterosoft
image: ghcr.io/helmfile/helmfile:canary
environment:
KUBECONFIG_CONTENT:
from_secret: KUBECONFIG_CONTENT
commands:
- mkdir $HOME/.kube
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
- helmfile -e eterosoft diff

View File

@ -11,10 +11,5 @@ releases:
namespace: kube-system namespace: kube-system
createNamespace: false createNamespace: false
- <<: *openvpn
installed: false
namespace: openvpn-service
createNamespace: true
helmfiles: helmfiles:
- path: {{.Environment.Name }}/helmfile.yaml - path: {{.Environment.Name }}/helmfile.yaml