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