Skip to content

Commit bcf8c80

Browse files
authored
Merge pull request #121 from holaplex/mpw/gw-netpol-update
fix: hub-gw network policy selectorlabel
2 parents a74cdf1 + e19af98 commit bcf8c80

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

charts/hub-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: '0.23.0'
21+
version: 0.23.1
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to

charts/hub-gateway/templates/netpol.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ metadata:
88
spec:
99
podSelector:
1010
matchLabels:
11-
{{- include "hub-gateway.selectorLabels" . | nindent 8 }}
11+
app.kubernetes.io/name: apisix
12+
ingress:
13+
- to: {}
1214
egress:
1315
- to:
1416
- podSelector:
@@ -120,4 +122,5 @@ spec:
120122
{{- end }}
121123
policyTypes:
122124
- Egress
125+
- Ingress
123126
{{- end }}

charts/hub-gateway/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ maintenanceMode:
1212
internalService:
1313
enabled: true
1414

15-
maintenanceMode:
15+
networkPolicies:
1616
enabled: false
1717

1818
routes:
@@ -262,9 +262,6 @@ apisixPlugins:
262262
files:
263263
- plugins/org-lookup.lua
264264

265-
networkPolicies:
266-
enabled: false
267-
268265
apisix:
269266
enabled: true
270267
fullnameOverride: apisix

0 commit comments

Comments
 (0)