Commit 70556eb 1 parent 075d0dc commit 70556eb Copy full SHA for 70556eb
File tree 19 files changed +59
-39
lines changed
19 files changed +59
-39
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ metadata:
21
21
spec:
22
22
replicas: { { .Values.matcher.replicas } }
23
23
revisionHistoryLimit: { { .Values.revisionHistoryLimit } }
24
- strategy:
25
- type: { { .Values.updateStrategy.type } }
24
+ { {- if .Values.updateStrategy } }
25
+ strategy: { {- toYaml .Values.updateStrategy | nindent 4 } }
26
+ { {- end } }
26
27
selector:
27
28
matchLabels:
28
29
{ {- $selectorLabels | nindent 6 } }
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.api.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change 19
19
replicas : {{ .Values.authApi.replicas }}
20
20
{{- end }}
21
21
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
22
- strategy :
23
- type : {{ .Values.updateStrategy.type }}
22
+ {{- if .Values.updateStrategy }}
23
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
24
+ {{- end }}
24
25
selector :
25
26
matchLabels :
26
27
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : 1
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.dbSynchronizationLeader.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ metadata:
6
6
name : {{ $name | quote }}
7
7
labels :
8
8
{{- include "smartface.detector.labels" . | nindent 4 }}
9
+ {{- if .Values.updateStrategy }}
10
+ debug : " ano"
11
+ {{- end }}
9
12
annotations :
10
13
{{- with .Values.annotations }}
11
14
{{- toYaml . | nindent 4 }}
18
21
replicas : {{ .Values.detector.replicas }}
19
22
{{- end }}
20
23
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
21
- strategy :
22
- type : {{ .Values.updateStrategy.type }}
24
+ {{- if .Values.updateStrategy }}
25
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
26
+ {{- end }}
23
27
selector :
24
28
matchLabels :
25
29
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : 1
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : 1
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.edgeStreamProcessor.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : 1
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.faceMatcher.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.streamDataDbWorker.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change 18
18
replicas : {{ .Values.extractor.replicas }}
19
19
{{- end }}
20
20
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
21
- strategy :
22
- type : {{ .Values.updateStrategy.type }}
21
+ {{- if .Values.updateStrategy }}
22
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
23
+ {{- end }}
23
24
selector :
24
25
matchLabels :
25
26
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : {{ .Values.graphqlApi.replicas }}
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ metadata:
16
16
spec :
17
17
replicas : {{ .Values.liveness.replicas }}
18
18
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
19
- strategy :
20
- type : {{ .Values.updateStrategy.type }}
19
+ {{- if .Values.updateStrategy }}
20
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
21
+ {{- end }}
21
22
selector :
22
23
matchLabels :
23
24
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ metadata:
5
5
name : {{ .Values.readonlyApi.noAuthName | quote }}
6
6
spec :
7
7
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
8
- strategy :
9
- type : {{ .Values.updateStrategy.type }}
8
+ {{- if .Values.updateStrategy }}
9
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
10
+ {{- end }}
10
11
selector :
11
12
matchLabels :
12
13
app : {{ .Values.readonlyApi.noAuthName | quote }}
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ metadata:
5
5
name : {{ .Values.readonlyApi.authName | quote }}
6
6
spec :
7
7
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
8
- strategy :
9
- type : {{ .Values.updateStrategy.type }}
8
+ {{- if .Values.updateStrategy }}
9
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
10
+ {{- end }}
10
11
selector :
11
12
matchLabels :
12
13
app : {{ .Values.readonlyApi.authName | quote }}
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ metadata:
17
17
spec :
18
18
replicas : 1
19
19
revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
20
- strategy :
21
- type : {{ .Values.updateStrategy.type }}
20
+ {{- if .Values.updateStrategy }}
21
+ strategy : {{- toYaml .Values.updateStrategy | nindent 4 }}
22
+ {{- end }}
22
23
selector :
23
24
matchLabels :
24
25
{{- $selectorLabels | nindent 6 }}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ serviceAnnotations: {}
20
20
# -- Common labels for all services
21
21
serviceLabels : {}
22
22
# -- Common revisionHistoryLimit for all deployments
23
- revisionHistoryLimit : 10
23
+ revisionHistoryLimit :
24
24
# -- Common updateStrategy for all deployments
25
25
# # e.g:
26
26
# # updateStrategy:
@@ -29,8 +29,7 @@ revisionHistoryLimit: 10
29
29
# # maxSurge: 25%
30
30
# # maxUnavailable: 25%
31
31
# #
32
- updateStrategy :
33
- type : " RollingUpdate"
32
+ updateStrategy : {}
34
33
35
34
# -- docker secrets used to pull images with
36
35
imagePullSecrets :
You can’t perform that action at this time.
0 commit comments