Remove cluterrolebinding creation

This commit is contained in:
Nikolai Rodionov 2023-02-19 10:56:02 +01:00
parent 241453bc84
commit 9e580ad112

View File

@ -58,9 +58,7 @@ 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
- kubectl create clusterrolebinding $DRONE_COMMIT --clusterrole=cluster-admin --serviceaccount=drone-service:default
- helmfile -e badhouseplants apply - helmfile -e badhouseplants apply
- kubectl delete clusterrolebinding $DRONE_COMMIT
- name: Apply eterosoft - name: Apply eterosoft
image: ghcr.io/helmfile/helmfile:canary image: ghcr.io/helmfile/helmfile:canary