We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 761680c commit 2ce4955Copy full SHA for 2ce4955
controllers/syncer/csi_node.go
@@ -173,6 +173,10 @@ func (s *csiNodeSyncer) ensureContainersSpec() []corev1.Container {
173
healthPortArg,
174
},
175
)
176
+ // livenessprobe sidecar container inherits securityContext defined at NodeServer pod level
177
+ if livenessProbe.SecurityContext == nil {
178
+ livenessProbe.SecurityContext = &corev1.SecurityContext{}
179
+ }
180
fillSecurityContextCapabilities(livenessProbe.SecurityContext)
181
livenessProbe.ImagePullPolicy = s.getCSINodeDriverRegistrarPullPolicy()
182
livenessProbe.Resources = getSidecarResourceRequests(s.driver, constants.LivenessProbe)
0 commit comments