From 21fa008ec716a75f871de166489b1d5516024fb5 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 18 Feb 2023 18:38:56 +0100 Subject: [PATCH] Add an etersoft pipeline --- .drone.yml | 19 ++++++++++++------- helmfile.yaml | 5 ----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5b6f2a7..d2b8418 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,14 +5,9 @@ kind: pipeline type: kubernetes name: Apply helmfile changes -matrix: - ENV: - - etersoft - - badhouseplants - steps: -- name: Diff helmfiles +- name: Diff badhouseplants image: ghcr.io/helmfile/helmfile:canary environment: KUBECONFIG_CONTENT: @@ -20,4 +15,14 @@ steps: commands: - mkdir $HOME/.kube - 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 diff --git a/helmfile.yaml b/helmfile.yaml index eba81b1..edf0fea 100644 --- a/helmfile.yaml +++ b/helmfile.yaml @@ -11,10 +11,5 @@ releases: namespace: kube-system createNamespace: false - - <<: *openvpn - installed: false - namespace: openvpn-service - createNamespace: true - helmfiles: - path: {{.Environment.Name }}/helmfile.yaml