File tree Expand file tree Collapse file tree 10 files changed +71
-6
lines changed Expand file tree Collapse file tree 10 files changed +71
-6
lines changed Original file line number Diff line number Diff line change 2121 runAsUser : 10001
2222 seccompProfile :
2323 type : RuntimeDefault
24+ volumes :
25+ - name : kube-api-access
26+ projected :
27+ defaultMode : 420
28+ sources :
29+ - serviceAccountToken :
30+ path : token
31+ expirationSeconds : 3607
32+ - configMap :
33+ items :
34+ - key : ca.crt
35+ path : ca.crt
36+ name : kube-root-ca.crt
37+ - downwardAPI :
38+ items :
39+ - fieldRef :
40+ apiVersion : v1
41+ fieldPath : metadata.namespace
42+ path : namespace
2443 containers :
2544 - name : cleanup
2645 image : {{ .Values.webhook.removalImage | default "bitnami/kubectl" }}{{- if .Values.webhook.removalDigest }}@{{ .Values.webhook.removalDigest }}{{- else }}:{{ .Values.webhook.removalTag | default "1.33.1" }}{{- end }}
2948 readOnlyRootFilesystem : true
3049 capabilities :
3150 drop :
32- - NET_RAW
33- - ALL
51+ - NET_RAW
52+ - ALL
53+ seccompProfile :
54+ type : RuntimeDefault
55+ volumeMounts :
56+ - mountPath : /var/run/secrets/kubernetes.io/serviceaccount
57+ name : kube-api-access
58+ readOnly : true
3459 resources :
3560 limits :
3661 cpu : {{ .Values.limitRange.default.cpu }}
Original file line number Diff line number Diff line change @@ -110,6 +110,14 @@ spec:
110110 - containerPort : 9443
111111 name : webhook-server
112112 protocol : TCP
113+ volumeMounts :
114+ - mountPath : /var/run/secrets/kubernetes.io/serviceaccount
115+ name : kube-api-access
116+ readOnly : true
117+ {{- if .Values.webhook.enable }}
118+ - mountPath : /tmp
119+ name : webhook-certs
120+ {{- end }}
113121 readinessProbe :
114122 httpGet :
115123 path : /readyz
@@ -155,15 +163,41 @@ spec:
155163 - containerPort : 8443
156164 name : https
157165 protocol : TCP
166+ volumeMounts :
167+ - mountPath : /var/run/secrets/kubernetes.io/serviceaccount
168+ name : kube-api-access
169+ readOnly : true
158170 resources : {{- toYaml .Values.controllerManager.kubeRbacProxy.resources | nindent 10 }}
159171 securityContext : {{- toYaml .Values.controllerManager.kubeRbacProxy.containerSecurityContext
160172 | nindent 10 }}
161173 imagePullSecrets :
162174 - name : {{ quote .Values.imagePullSecret }}
175+ volumes :
176+ - name : kube-api-access
177+ projected :
178+ defaultMode : 420
179+ sources :
180+ - serviceAccountToken :
181+ path : token
182+ expirationSeconds : 3607
183+ - configMap :
184+ items :
185+ - key : ca.crt
186+ path : ca.crt
187+ name : kube-root-ca.crt
188+ - downwardAPI :
189+ items :
190+ - fieldRef :
191+ apiVersion : v1
192+ fieldPath : metadata.namespace
193+ path : namespace
194+ {{- if .Values.webhook.enable }}
195+ - name : webhook-certs
196+ emptyDir : {}
197+ {{- end }}
163198 securityContext :
164199 runAsNonRoot : true
165200 runAsUser : 10001
166- readOnlyRootFilesystem : true
167201 seccompProfile :
168202 type : RuntimeDefault
169203 serviceAccountName : {{ include "chart.fullname" . }}-controller-manager
@@ -179,7 +213,6 @@ metadata:
179213 name : {{ include "chart.fullname" . }}-controller-manager-pdb
180214spec :
181215 minAvailable : {{ .Values.controllerManager.podDisruptionBudget.minAvailable }}
182- automountServiceAccountToken : false
183216 selector :
184217 matchLabels :
185218 app : {{ include "chart.fullname" . }}-controller-manager
Original file line number Diff line number Diff line change 9797 env :
9898 - name : KUBERNETES_CLUSTER_DOMAIN
9999 value : cluster.local
100- image : quay.io/brancz/kube-rbac-proxy:v0.15.0
100+ image : quay.io/brancz/kube-rbac-proxy@sha256:b6c3624aedb4b785b3f92ac0fbb5efb0b0572b00cebde6c752e8aac522f9669c
101101 name : kube-rbac-proxy
102102 ports :
103103 - containerPort : 8443
Original file line number Diff line number Diff line change 4949 - command :
5050 - /manager
5151 ((env[?name == 'RUNTIME_REQUIRED_TAINT'].value)[0] == 'skyhook.nvidia.com=runtime-required:NoSchedule') : true
52+ image : ghcr.io/nvidia/skyhook/operator:latest
5253 livenessProbe :
5354 failureThreshold : 3
5455 httpGet :
9697 env :
9798 - name : KUBERNETES_CLUSTER_DOMAIN
9899 value : cluster.local
99- image : quay.io/brancz/kube-rbac-proxy:v0.15.0
100+ image : quay.io/brancz/kube-rbac-proxy@sha256:b6c3624aedb4b785b3f92ac0fbb5efb0b0572b00cebde6c752e8aac522f9669c
100101 name : kube-rbac-proxy
101102 ports :
102103 - containerPort : 8443
Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ controllerManager:
2727 image :
2828 repository : ghcr.io/nvidia/skyhook/operator
2929 tag : latest # # THIS should change to be like a tag so it can point at a specific commit
30+ digest : " "
3031webhook :
3132 enable : false
Original file line number Diff line number Diff line change @@ -29,5 +29,6 @@ controllerManager:
2929 image :
3030 repository : ghcr.io/nvidia/skyhook/operator
3131 tag : latest
32+ digest : " "
3233webhook :
3334 enable : false
Original file line number Diff line number Diff line change @@ -31,5 +31,6 @@ controllerManager:
3131 image :
3232 repository : ghcr.io/nvidia/skyhook/operator
3333 tag : latest # # THIS should change to be like a tag so it can point at a specific commit
34+ digest : " "
3435webhook :
3536 enable : false
Original file line number Diff line number Diff line change @@ -31,5 +31,6 @@ controllerManager:
3131 image :
3232 repository : ghcr.io/nvidia/skyhook/operator
3333 tag : latest # # THIS should change to be like a tag so it can point at a specific commit
34+ digest : " "
3435webhook :
3536 enable : false
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ controllerManager:
2121 image :
2222 repository : ghcr.io/nvidia/skyhook/operator
2323 tag : latest # # THIS should change to be like a tag so it can point at a specific commit
24+ digest : " "
2425estimatedNodeCount : 400
2526estimatedPackageCount : 5
2627webhook :
Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ controllerManager:
2121 image :
2222 repository : ghcr.io/nvidia/skyhook/operator
2323 tag : v0.7.6-1ec0890 # # TODO: update this to latest onces this is merged
24+ digest : " "
2425webhook :
2526 enable : true
You can’t perform that action at this time.
0 commit comments