This commit is contained in:
Chris Cowley 2025-04-02 17:09:25 +02:00
parent a9262b4f2d
commit 941ac9dc41

View file

@ -20,7 +20,7 @@ jobs:
/tmp/install-opentofu.sh --install-method deb
rm -f /tmp/install-opentofu.sh
- name: Tofu init
working-directory: ${{ github.workspace }}/authentik"
working-directory: ${{ github.workspace }}/authentik
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
@ -28,7 +28,7 @@ jobs:
export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu init
- name: Tofu Plan
working-directory: ${{ github.workspace }}/authentik"
working-directory: ${{ github.workspace }}/authentik
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
@ -36,7 +36,7 @@ jobs:
export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu plan -out tfplan
#- name: Tofu Apply
# working-directory: ${{ github.workspace }}/authentik"
# working-directory: ${{ github.workspace }}/authentik
# run: |
# export KUBE_CONFIG_PATH="/tmp/kubeconfig"
# echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}