mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Expose TCP and UCP service as hostPorts in daemonsets. (#14171)
When controller.daemonset.useHostPort is enabled Signed-off-by: Fernando Llaca <ferllarom@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6ac38493ee
commit
645bccadd3
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: nginx-ingress
|
||||
version: 1.6.14
|
||||
version: 1.6.15
|
||||
appVersion: 0.24.1
|
||||
home: https://github.com/kubernetes/ingress-nginx
|
||||
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
|
||||
|
||||
@@ -144,11 +144,17 @@ spec:
|
||||
- name: "{{ $key }}-tcp"
|
||||
containerPort: {{ $key }}
|
||||
protocol: TCP
|
||||
{{- if .Values.controller.daemonset.useHostPort }}
|
||||
hostPort: {{ $key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.udp }}
|
||||
- name: "{{ $key }}-udp"
|
||||
containerPort: {{ $key }}
|
||||
protocol: UDP
|
||||
{{- if .Values.controller.daemonset.useHostPort }}
|
||||
hostPort: {{ $key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
|
||||
Reference in New Issue
Block a user