We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89abeec commit c035df6Copy full SHA for c035df6
charts/cf-common/templates/services/_services.tpl
@@ -91,7 +91,7 @@ spec:
91
{{- if $serviceItem.extraSelectorLabels }}
92
{{- include "cf-common-0.26.0.tplrender" (dict "Values" $serviceItem.extraSelectorLabels "context" $) | nindent 4 }}
93
{{- end }}
94
- {{- if and $serviceItem.trafficDistribution (semverCompare ">=1.31-0" (include "cf-common-0.26.0.kubeVersion" . )) }}
+ {{- if and $serviceItem.trafficDistribution (semverCompare ">=1.31-0" (include "cf-common-0.26.0.kubeVersion" $ )) }}
95
trafficDistribution: {{ $serviceItem.trafficDistribution | default "PreferClose" }}
96
{{- end -}}
97
0 commit comments