File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
deploy/charts/cert-manager/templates Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ metadata:
16
16
{{- end }}
17
17
spec :
18
18
replicas : {{ .Values.cainjector.replicaCount }}
19
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
19
20
{{- if not (has (quote .Values.global.revisionHistoryLimit) (list "" (quote ""))) }}
20
21
revisionHistoryLimit : {{ .Values.global.revisionHistoryLimit }}
21
22
{{- end }}
61
62
image : " {{ template " image" (tuple .Values.cainjector.image $.Chart.AppVersion) }}"
62
63
imagePullPolicy : {{ .Values.cainjector.image.pullPolicy }}
63
64
args :
65
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
64
66
{{- if not (has (quote .Values.global.logLevel) (list "" (quote ""))) }}
65
67
- --v={{ .Values.global.logLevel }}
66
68
{{- end }}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ metadata:
15
15
{{- end }}
16
16
spec :
17
17
replicas : {{ .Values.replicaCount }}
18
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
18
19
{{- if not (has (quote .Values.global.revisionHistoryLimit) (list "" (quote ""))) }}
19
20
revisionHistoryLimit : {{ .Values.global.revisionHistoryLimit }}
20
21
{{- end }}
79
80
image : " {{ template " image" (tuple .Values.image $.Chart.AppVersion) }}"
80
81
imagePullPolicy : {{ .Values.image.pullPolicy }}
81
82
args :
83
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
82
84
{{- if not (has (quote .Values.global.logLevel) (list "" (quote ""))) }}
83
85
- --v={{ .Values.global.logLevel }}
84
86
{{- end }}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ metadata:
15
15
{{- end }}
16
16
spec :
17
17
replicas : {{ .Values.webhook.replicaCount }}
18
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
18
19
{{- if not (has (quote .Values.global.revisionHistoryLimit) (list "" (quote ""))) }}
19
20
revisionHistoryLimit : {{ .Values.global.revisionHistoryLimit }}
20
21
{{- end }}
66
67
image : " {{ template " image" (tuple .Values.webhook.image $.Chart.AppVersion) }}"
67
68
imagePullPolicy : {{ .Values.webhook.image.pullPolicy }}
68
69
args :
70
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
69
71
{{- if not (has (quote .Values.global.logLevel) (list "" (quote ""))) }}
70
72
- --v={{ .Values.global.logLevel }}
71
73
{{- end }}
You can’t perform that action at this time.
0 commit comments