Skip to content

Commit

Permalink
Ignore gatekeeper-system namespace in export
Browse files Browse the repository at this point in the history
This is an internal namespace (used by Azure Policy for Kubernetes clusters)
  • Loading branch information
saliceti committed Jan 25, 2024
1 parent 56cc7a3 commit 56dddfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/export_aks_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -eu
set -o pipefail

NAMESPACE_BLACKLIST="default kube-node-lease kube-public kube-system"
NAMESPACE_BLACKLIST="default kube-node-lease kube-public kube-system gatekeeper-system"

echo "Fetching custom namespaces..."
all_namespaces=$(kubectl get namespaces -o name)
Expand Down

0 comments on commit 56dddfc

Please sign in to comment.