Skip to content

Commit 43e3273

Browse files
committed
feat(#646): Got Kubernetes 1.25 working in Azure using audit with aad-pod-identity
1 parent d7976cc commit 43e3273

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

azure/k8s-vault-azure-start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export AZ_KEY_VAULT_NAME="$(terraform output -raw vault_name)"
3535
az aks get-credentials --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME
3636

3737
echo "Setting up workspace PSA to restricted for default"
38-
kubectl apply -f ../k8s/workspace-psa.yml
38+
kubectl apply -f k8s/workspace-psa.yml
3939

4040
kubectl get configmaps | grep 'secrets-file' &>/dev/null
4141
if [ $? == 0 ]; then

azure/k8s/workspace-psa.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: default
5+
labels:
6+
pod-security.kubernetes.io/audit: restricted
7+
kubernetes.io/metadata.name: default

0 commit comments

Comments
 (0)