File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
charts/kube-state-metrics Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4242 {{ toYaml .Values.podAnnotations | nindent 8 }}
4343 {{- end }}
4444 spec :
45- {{- if and (semverCompare ">=1.33-0" .Capabilities.KubeVersion.Version) (kindIs "bool" .Values.hostUsers) }}
46- hostUsers : {{ .Values.hostUsers }}
45+ {{- if and (semverCompare ">=1.33-0" .Capabilities.KubeVersion.Version) (not (empty .Values.hostUsers) ) }}
46+ hostUsers : {{ ternary "true" "false" .Values.hostUsers }}
4747 {{- end }}
4848 automountServiceAccountToken : {{ .Values.automountServiceAccountToken }}
4949 hostNetwork : {{ .Values.hostNetwork }}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ extraArgs: []
5656automountServiceAccountToken : true
5757
5858# -- Use the host's user namespace available in kubernetes 1.33+.
59- hostUsers : nil
59+ hostUsers :
6060
6161service :
6262 port : 8080
You can’t perform that action at this time.
0 commit comments