File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
labels :
6
6
{{- include "jupyterhub.labels" . | nindent 4 }}
7
7
spec :
8
- {{- if typeIs "int " .Values.hub.revisionHistoryLimit }}
8
+ {{- if not ( typeIs "<nil> " .Values.hub.revisionHistoryLimit) }}
9
9
revisionHistoryLimit : {{ .Values.hub.revisionHistoryLimit }}
10
10
{{- end }}
11
11
replicas : 1
Original file line number Diff line number Diff line change 34
34
type: RollingUpdate
35
35
rollingUpdate:
36
36
maxUnavailable: 100%
37
- { {- if typeIs " int " .Values.prePuller.revisionHistoryLimit } }
37
+ { {- if not ( typeIs " <nil> " .Values.prePuller.revisionHistoryLimit) } }
38
38
revisionHistoryLimit: { { .Values.prePuller.revisionHistoryLimit } }
39
39
{ {- end } }
40
40
template:
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
8
8
labels :
9
9
{{- include "jupyterhub.labels" . | nindent 4 }}
10
10
spec :
11
- {{- if typeIs "int " .Values.proxy.traefik.revisionHistoryLimit }}
11
+ {{- if not ( typeIs "<nil> " .Values.proxy.traefik.revisionHistoryLimit) }}
12
12
revisionHistoryLimit : {{ .Values.proxy.traefik.revisionHistoryLimit }}
13
13
{{- end }}
14
14
replicas : 1
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
7
7
labels :
8
8
{{- include "jupyterhub.labels" . | nindent 4 }}
9
9
spec :
10
- {{- if typeIs "int " .Values.proxy.chp.revisionHistoryLimit }}
10
+ {{- if not ( typeIs "<nil> " .Values.proxy.chp.revisionHistoryLimit) }}
11
11
revisionHistoryLimit : {{ .Values.proxy.chp.revisionHistoryLimit }}
12
12
{{- end }}
13
13
replicas : 1
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ metadata:
16
16
{{- include "jupyterhub.labels" . | nindent 4 }}
17
17
spec :
18
18
podManagementPolicy : Parallel
19
- {{- if typeIs "int " .Values.scheduling.userPlaceholder.revisionHistoryLimit }}
19
+ {{- if not ( typeIs "<nil> " .Values.scheduling.userPlaceholder.revisionHistoryLimit) }}
20
20
revisionHistoryLimit : {{ .Values.scheduling.userPlaceholder.revisionHistoryLimit }}
21
21
{{- end }}
22
22
replicas : {{ .Values.scheduling.userPlaceholder.replicas }}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
labels :
7
7
{{- include "jupyterhub.labels" . | nindent 4 }}
8
8
spec :
9
- {{- if typeIs "int " .Values.scheduling.userScheduler.revisionHistoryLimit }}
9
+ {{- if not ( typeIs "<nil> " .Values.scheduling.userScheduler.revisionHistoryLimit) }}
10
10
revisionHistoryLimit : {{ .Values.scheduling.userScheduler.revisionHistoryLimit }}
11
11
{{- end }}
12
12
replicas : {{ .Values.scheduling.userScheduler.replicas }}
You can’t perform that action at this time.
0 commit comments