Skip to content

Commit 09dd939

Browse files
committed
remove seccomp
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 7bab2b0 commit 09dd939

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

config/samples/csi_v1alpha1_ibmobjectcsi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
# and csi-provisioner, csi-attacher, csi-snapshotter and livenessprobe sidecars.
1313
controller:
1414
repository: icr.io/ibm/ibm-object-csi-driver
15-
tag: "v0.1.13"
15+
tag: "v0.1.14"
1616
imagePullPolicy: IfNotPresent
1717
resources:
1818
limits:
@@ -55,7 +55,7 @@ spec:
5555
# and csi-node-driver-registrar and livenessprobe sidecars.
5656
node:
5757
repository: icr.io/ibm/ibm-object-csi-driver
58-
tag: "v0.1.13"
58+
tag: "v0.1.14"
5959
imagePullPolicy: Always
6060

6161
sidecars:

controllers/syncer/csi_controller.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,12 @@ func (s *csiControllerSyncer) ensureContainersSpec() []corev1.Container {
160160
func (s *csiControllerSyncer) ensureContainer(name, image string, args []string) corev1.Container {
161161
sc := &corev1.SecurityContext{
162162
AllowPrivilegeEscalation: util.False(),
163-
SeccompProfile: &corev1.SeccompProfile{
164-
Type: corev1.SeccompProfileTypeRuntimeDefault,
165-
},
166163
}
167164
fillSecurityContextCapabilities(sc)
168165
return corev1.Container{
169-
Name: name,
170-
Image: image,
171-
Args: args,
172-
//EnvFrom: s.getEnvSourcesFor(name),
166+
Name: name,
167+
Image: image,
168+
Args: args,
173169
Env: s.getEnvFor(name),
174170
VolumeMounts: s.getVolumeMountsFor(name),
175171
SecurityContext: sc,

controllers/syncer/csi_node.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ func (s *csiNodeSyncer) ensureContainersSpec() []corev1.Container {
157157
registrar.SecurityContext = &corev1.SecurityContext{RunAsNonRoot: util.False(),
158158
RunAsUser: func(uid int64) *int64 { return &uid }(0),
159159
Privileged: util.False(),
160-
SeccompProfile: &corev1.SeccompProfile{
161-
Type: corev1.SeccompProfileTypeRuntimeDefault,
162-
},
163160
}
164161
fillSecurityContextCapabilities(registrar.SecurityContext)
165162
registrar.ImagePullPolicy = s.getCSINodeDriverRegistrarPullPolicy()

0 commit comments

Comments
 (0)