Fix bug in common when using ExternalName

This commit is contained in:
kjeld Schouten-Lebbing
2021-08-23 22:10:44 +02:00
parent 2ee970ac30
commit 77c53de558
2 changed files with 1 additions and 11 deletions

View File

@@ -18,4 +18,4 @@ maintainers:
name: common
sources: null
type: library
version: 6.8.3
version: 6.8.4

View File

@@ -111,16 +111,6 @@ subsets:
{{- range $name, $port := $values.ports }}
{{- if $port.enabled }}
- port: {{ $port.port | default 80 }}
targetPort: {{ $port.targetPort | default $name }}
{{- if $port.protocol }}
{{- if or ( eq $port.protocol "HTTP" ) ( eq $port.protocol "HTTPS" ) ( eq $port.protocol "TCP" ) }}
protocol: TCP
{{- else }}
protocol: {{ $port.protocol }}
{{- end }}
{{- else }}
protocol: TCP
{{- end }}
name: {{ $name }}
{{- end }}
{{- end }}