mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
Expose external port in svc for ClusterIP (#13869)
Signed-off-by: Michał Mrówka <michal.z.mrowka@gmail.com> Signed-off-by: Michał Mrówka <michal.z.mrowka@gmail.com>
This commit is contained in:
@@ -47,7 +47,7 @@ spec:
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- if and .Values.externalAccess.enabled (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) }}
|
||||
{{- if .Values.externalAccess.enabled }}
|
||||
- name: tcp-external
|
||||
port: {{ .Values.service.ports.external }}
|
||||
protocol: TCP
|
||||
|
||||
Reference in New Issue
Block a user