Skip to content

Commit

Permalink
Add a few more namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
avnes committed Feb 27, 2024
1 parent d6eb4a6 commit 90e3adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capability-limitrange/bulk-apply-limitrange.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

# Get all namespaces, but exclude kube-system and monitoring plus namespaces that have exceptions
NAMESPACES=$(kubectl get ns --no-headers=true | awk '!/kube-system|monitoring|traefik|kyverno|fluentd|flux-system|velero|atlantis|upbound-system|terminal-cargoallocati-zamrl|codeanalysis-yjlbr|onboardcustomers-npxkm|logistics-quotes-eqxam|logistics-routes-bapbj|logistics-quote-stagin-zlpxz/{print $1}')
NAMESPACES=$(kubectl get ns --no-headers=true | awk '!/kube-system|monitoring|traefik|kyverno|fluentd|flux-system|velero|atlantis|upbound-system|terminal-cargoallocati-zamrl|codeanalysis-yjlbr|onboardcustomers-npxkm|logistics-quotes-eqxam|logistics-routes-bapbj|logistics-quote-stagin-zlpxz|dataplatform-staging-akkla|dataplatform-ajamn/{print $1}')

# Apply to all namespaces
for NS in $NAMESPACES; do
Expand Down

0 comments on commit 90e3adc

Please sign in to comment.