File tree Expand file tree Collapse file tree 2 files changed +15
-29
lines changed
charts/vertical-pod-autoscaler Expand file tree Collapse file tree 2 files changed +15
-29
lines changed Original file line number Diff line number Diff line change 32
32
{{- toYaml . | nindent 8 }}
33
33
{{- end }}
34
34
serviceAccountName : {{ include "vertical-pod-autoscaler.admissionController.fullname" . }}
35
- {{- with .Values.admissionController.podSecurityContext }}
36
35
securityContext :
37
- {{- toYaml . | nindent 8 }}
38
- {{- end }}
36
+ runAsNonRoot : true
37
+ runAsUser : 65534
39
38
containers :
40
39
- name : admission-controller
41
40
image : {{ include "vertical-pod-autoscaler.admissionController.image" . }}
62
61
name : prometheus
63
62
protocol : TCP
64
63
livenessProbe :
65
- {{- toYaml .Values.admissionController.livenessProbe | nindent 12 }}
64
+ httpGet :
65
+ path : /health-check
66
+ port : prometheus
67
+ scheme : HTTP
68
+ initialDelaySeconds : 5
69
+ periodSeconds : 10
70
+ failureThreshold : 3
66
71
readinessProbe :
67
- {{- toYaml .Values.admissionController.readinessProbe | nindent 12 }}
72
+ httpGet :
73
+ path : /health-check
74
+ port : prometheus
75
+ scheme : HTTP
76
+ periodSeconds : 10
77
+ failureThreshold : 3
68
78
volumeMounts :
69
79
{{- toYaml .Values.admissionController.volumeMounts | nindent 12 }}
70
80
{{- with .Values.admissionController.resources }}
Original file line number Diff line number Diff line change @@ -56,30 +56,6 @@ admissionController:
56
56
# Additional args for the Admission Controller default container.
57
57
extraArgs : []
58
58
59
- # Security context for the Admission Controller pod
60
- podSecurityContext :
61
- runAsNonRoot : true
62
- runAsUser : 65534
63
-
64
- # Liveness probe configuration for the Admission Controller default container.
65
- livenessProbe :
66
- httpGet :
67
- path : /health-check
68
- port : prometheus
69
- scheme : HTTP
70
- initialDelaySeconds : 5
71
- periodSeconds : 10
72
- failureThreshold : 3
73
-
74
- # Readiness probe configuration for the _Updater_ default container.
75
- readinessProbe :
76
- httpGet :
77
- path : /health-check
78
- port : prometheus
79
- scheme : HTTP
80
- periodSeconds : 10
81
- failureThreshold : 3
82
-
83
59
# Resources for the Admission Controller default container.
84
60
resources :
85
61
limits :
You can’t perform that action at this time.
0 commit comments