File tree Expand file tree Collapse file tree 2 files changed +35
-7
lines changed
deploy/helm-chart/kubernetes-secret-generator Expand file tree Collapse file tree 2 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -41,18 +41,28 @@ spec:
41
41
ports :
42
42
- containerPort : 8080
43
43
name : healthcheck
44
+ {{- if .Values.livenessProbe.enabled }}
44
45
livenessProbe :
45
46
httpGet :
46
47
path : /healthz
47
48
port : healthcheck
48
- initialDelaySeconds : 6
49
- periodSeconds : 3
49
+ initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
50
+ periodSeconds : {{ .Values.livenessProbe.periodSeconds }}
51
+ timeoutSeconds : {{ .Values.livenessProbe.timeoutSeconds }}
52
+ successThreshold : {{ .Values.livenessProbe.successThreshold }}
53
+ failureThreshold : {{ .Values.livenessProbe.failureThreshold }}
54
+ {{- end }}
55
+ {{- if .Values.readinessProbe.enabled }}
50
56
readinessProbe :
51
57
httpGet :
52
58
path : /readyz
53
59
port : healthcheck
54
- initialDelaySeconds : 6
55
- periodSeconds : 3
60
+ initialDelaySeconds : {{ .Values.readinessProbe.initialDelaySeconds }}
61
+ periodSeconds : {{ .Values.readinessProbe.periodSeconds }}
62
+ timeoutSeconds : {{ .Values.readinessProbe.timeoutSeconds }}
63
+ successThreshold : {{ .Values.readinessProbe.successThreshold }}
64
+ failureThreshold : {{ .Values.readinessProbe.failureThreshold }}
65
+ {{- end }}
56
66
env :
57
67
- name : WATCH_NAMESPACE
58
68
value : {{ template "kubernetes-secret-generator.watchNamespace" . }}
Original file line number Diff line number Diff line change @@ -27,20 +27,23 @@ serviceAccount:
27
27
# If not set and create is true, a name is generated using the fullname template
28
28
name :
29
29
30
- podSecurityContext : {}
30
+ podSecurityContext :
31
+ {}
31
32
# fsGroup: 2000
32
33
33
34
priorityClassName : " "
34
35
35
- securityContext : {}
36
+ securityContext :
37
+ {}
36
38
# capabilities:
37
39
# drop:
38
40
# - ALL
39
41
# readOnlyRootFilesystem: true
40
42
# runAsNonRoot: true
41
43
# runAsUser: 1000
42
44
43
- resources : {}
45
+ resources :
46
+ {}
44
47
# limits:
45
48
# cpu: 100m
46
49
# memory: 128Mi
83
86
# ClusterRole is deployed by Default
84
87
clusterRole : true
85
88
89
+ livenessProbe :
90
+ enabled : true
91
+ initialDelaySeconds : 6
92
+ periodSeconds : 3
93
+ timeoutSeconds : 1
94
+ successThreshold : 1
95
+ failureThreshold : 3
96
+
97
+ readinessProbe :
98
+ enabled : true
99
+ initialDelaySeconds : 6
100
+ periodSeconds : 3
101
+ timeoutSeconds : 1
102
+ successThreshold : 1
103
+ failureThreshold : 3
You can’t perform that action at this time.
0 commit comments