mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat(common): Release common-3.0.4 (#294)
This commit is contained in:
parent
9541ab44fe
commit
23164367ab
89 changed files with 427 additions and 216 deletions
|
@ -18,7 +18,9 @@ Return the primary port for a given Service object.
|
|||
{{- /* Return the first port if none has been explicitly marked as primary */ -}}
|
||||
{{- if not $result -}}
|
||||
{{- $firstPortKey := keys $enabledPorts | first -}}
|
||||
{{- $result = get $enabledPorts $firstPortKey -}}
|
||||
{{- if $firstPortKey -}}
|
||||
{{- $result = get $enabledPorts $firstPortKey -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $result | toYaml -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue