UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

feat: Adding function to lookup CIDR value for api-egress policy

Merged Ryan Garcia requested to merge controlplanecidr-fix into main
3 files
+ 7
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -10,9 +10,11 @@ spec:
- to:
- ipBlock:
cidr: {{ .Values.networkPolicies.controlPlaneCidr }}
{{- if eq .Values.networkPolicies.controlPlaneCidr "0.0.0.0/0" }}
# ONLY Block requests to cloud metadata IP
except:
- 169.254.169.254/32
{{- end }}
policyTypes:
- Egress
{{- end }}
Loading