1
0
Fork 0

ci: set directly KUBECONFIG environment secret in GitHub Actions

This commit is contained in:
Vojtěch Mareš 2023-07-03 19:48:47 +02:00
parent 04b47685c5
commit 98e8250eaa
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -82,12 +82,6 @@ jobs:
with:
version: "${{ env.HELM_VERSION }}"
- uses: azure/k8s-set-context@v3
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG_CONTENT }}
context: kiwi
# - name: set imagepullsecret
# uses: azure/k8s-create-secret@v4
# with:
@ -107,6 +101,7 @@ jobs:
--timeout 900s \
--dry-run=true \
--install \
--kube-context="kiwi" \
--namespace="${{ env.NAMESPACE }}" \
-f ./charts/backoffice/values.staging.yaml \
--set image.tag="${{ github.ref_name }}-${{ github.sha }}" \
@ -126,6 +121,7 @@ jobs:
--timeout 900s \
--dry-run=true \
--install \
--kube-context="kiwi" \
--namespace="${{ env.NAMESPACE }}" \
-f ./charts/backoffice/values.staging.yaml \
--set image.tag="${{ github.ref_name }}-${{ github.sha }}" \