Skip to content

Commit 185ced7

Browse files
committed
feat: hostPort for agent-grpc configurable
1 parent 1f7f09a commit 185ced7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/nginx-gateway-fabric/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ spec:
135135
ports:
136136
- name: agent-grpc
137137
containerPort: 8443
138+
{{- if .Values.nginx.hostPort.enable }}
139+
hostPort: {{ .Values.nginx.hostPort.port }}
140+
{{- end }}
138141
{{- if .Values.nginxGateway.metrics.enable }}
139142
- name: metrics
140143
containerPort: {{ .Values.nginxGateway.metrics.port }}

charts/nginx-gateway-fabric/values.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,8 @@ nginx:
245245
## Enables hostPort.
246246
enable: false
247247

248-
## The HTTP hostPort configuration for NGINX.
249-
http: 80
250-
251-
## The HTTPS hostPort configuration for NGINX.
252-
https: 443
248+
## The hostPort configuration for NGINX.
249+
port: 443
253250

254251
# @schema
255252
# type: object

0 commit comments

Comments
 (0)