From ef2bc07c5345c65a3aa526ef7192b91467f34e2f Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Wed, 18 Dec 2024 13:14:06 +0200 Subject: [PATCH] Enable RBAC for microk8s tests --- .github/workflows/integration_test_charm.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration_test_charm.yaml b/.github/workflows/integration_test_charm.yaml index 6f9b5134..25f98797 100644 --- a/.github/workflows/integration_test_charm.yaml +++ b/.github/workflows/integration_test_charm.yaml @@ -367,6 +367,8 @@ jobs: sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s status --wait-ready" sg '${{ steps.parse-cloud.outputs.group }}' -c "retry --times 3 --delay 5 -- sudo microk8s enable dns" sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s status --wait-ready" + sg '${{ steps.parse-cloud.outputs.group }}' -c "retry --times 3 --delay 5 -- sudo microk8s enable rbac" + sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s status --wait-ready" sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s.kubectl rollout status --namespace kube-system --watch --timeout=5m deployments/coredns" sg '${{ steps.parse-cloud.outputs.group }}' -c "retry --times 3 --delay 5 -- sudo microk8s enable hostpath-storage" sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s.kubectl rollout status --namespace kube-system --watch --timeout=5m deployments/hostpath-provisioner"