diff --git a/charts/generic/Chart.yaml b/charts/generic/Chart.yaml index 56cc240..b0de267 100644 --- a/charts/generic/Chart.yaml +++ b/charts/generic/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: generic description: Generic Chart -version: 1.2.2 +version: 1.2.3 diff --git a/charts/generic/templates/services.yaml b/charts/generic/templates/services.yaml index cb7d426..2beb69e 100644 --- a/charts/generic/templates/services.yaml +++ b/charts/generic/templates/services.yaml @@ -17,6 +17,9 @@ metadata: {{- end }} spec: type: {{ $service.type }} + {{- if $service.externalName }} + externalName: {{ $service.externalName }} + {{- end }} ports: - port: {{ $service.port }} targetPort: {{ $service.targetPort | default $service.port }}