chore: remove orphaned deployment/polaris-rbac.yaml (PRI-917) #149

Closed
privilegedescalation-engineer[bot] wants to merge 19 commits from gandalf/remove-orphaned-polaris-rbac-pri-917 into main
Showing only changes of commit fcb0018216 - Show all commits
+17
View File
@@ -45,6 +45,23 @@ jobs:
- name: Setup kubectl
uses: azure/setup-kubectl@v4
- name: Locate kubeconfig for ARC runner
run: |
set -euo pipefail
for dir in /runner /home/runner/.kube /home/github/.kube; do
if [ -f "${dir}/config" ]; then
echo "Found kubeconfig at ${dir}/config"
echo "KUBECONFIG=${dir}/config" >> "$GITHUB_ENV"
break
fi
done
if [ -z "${KUBECONFIG:-}" ]; then
echo "::error::No kubeconfig found for ARC runner. Checked: /runner, ~/.kube, ~/kube"
exit 1
fi
echo "Using kubeconfig: ${KUBECONFIG}"
kubectl cluster-info --request-timeout=5s
- name: Apply RBAC for E2E pipeline
run: |
set -x