Skip to content

Commit e1e6e1b

Browse files
committed
fix: remove special case for azure ingress networkpolicy
1 parent 0c8da3e commit e1e6e1b

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

changelog/0.50.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,5 @@ Released 2025-10-23
7474
- [753a390](https://github.com/elastisys/compliantkubernetes-apps/pull/2814/commits/753a390ba53e5f60e340c5c4579f038f83c17619) - test: Use stable ID to open combobox, avoiding dependency on selected value [@andremarklund-elastisys](https://github.com/andrema1rklund-elastisys)
7575
- [dadddca](https://github.com/elastisys/compliantkubernetes-apps/pull/2814/commits/dadddca9769fcca10eb3467bfa8a36af2d77ce0c) - test: Add wait for subnamespace creation to ensure full creation [@andremarklund-elastisys](https://github.com/andrema1rklund-elastisys)
7676
- [9e6247a](https://github.com/elastisys/compliantkubernetes-apps/pull/2814/commits/9e6247a5b87a977885b5ec6b26bb3bc61cb9b0ca) - test: Add wait for subnamespace to mitigate occasional failures of kubectl wait for namespace [@andremarklund-elastisys](https://github.com/andrema1rklund-elastisys)
77-
- [bd0d3e4](https://github.com/elastisys/compliantkubernetes-apps/pull/2814/commits/bd0d3e49281b724a0ea0e13199bd7c978782d361) - fix: Add open ingress to NGINX controller networkpolicy for Azure compatibility [@andremarklund-elastisys](https://github.com/andrema1rklund-elastisys)
7877
- [#2858](https://github.com/elastisys/compliantkubernetes-apps/pull/2858) - apps wc: move user alertmanager secret to created with install hook [@viktor-f](https://github.com/viktor-f)
7978
- [3eddee2b](https://github.com/elastisys/compliantkubernetes-apps/pull/2814/commits/3eddee2b81a288060bdb254f32f7f596e7916430) - deploy: fixed ingress-nginx netpol when not using hostnetwork [@lucianvlad](https://github.com/lucianvlad)

helmfile.d/charts/networkpolicy/service-cluster/templates/ingress-nginx/controller.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ spec:
1212
- Ingress
1313
- Egress
1414
ingress:
15-
{{- if eq (dig "ck8sCloudProvider" "" .Values.global ) "azure" }}
16-
- from:
17-
- ipBlock:
18-
cidr: 0.0.0.0/0
19-
ports:
20-
- protocol: TCP
21-
port: 443
22-
- protocol: TCP
23-
port: 80
24-
{{- end }}
2515
{{- if or .Values.ingressNginx.ingressOverride.ips .Values.global.scNodes.ips .Values.global.scIngress.ips }}
2616
- from:
2717
{{- if and .Values.ingressNginx.ingressOverride.enabled .Values.ingressNginx.ingressOverride.ips }}

helmfile.d/charts/networkpolicy/workload-cluster/templates/ingress-nginx/controller.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ spec:
1212
- Ingress
1313
- Egress
1414
ingress:
15-
{{- if eq (dig "ck8sCloudProvider" "" .Values.global ) "azure" }}
16-
- from:
17-
- ipBlock:
18-
cidr: 0.0.0.0/0
19-
ports:
20-
- protocol: TCP
21-
port: 443
22-
- protocol: TCP
23-
port: 80
24-
{{- end }}
2515
{{- if or .Values.ingressNginx.ingressOverride.ips .Values.global.wcNodes.ips .Values.global.wcIngress.ips }}
2616
- from:
2717
{{- if and .Values.ingressNginx.ingressOverride.enabled .Values.ingressNginx.ingressOverride.ips }}

0 commit comments

Comments
 (0)