Skip to content

Commit f1fb957

Browse files
committed
set dualstack appArmorProfile
1 parent 62581c0 commit f1fb957

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

test/integration/manifests/cilium/v1.16/cilium-agent/templates/daemonset-dualstack.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ spec:
1717
template:
1818
metadata:
1919
annotations:
20-
container.apparmor.security.beta.kubernetes.io/apply-sysctl-overwrites: unconfined
21-
container.apparmor.security.beta.kubernetes.io/cilium-agent: unconfined
22-
container.apparmor.security.beta.kubernetes.io/clean-cilium-state: unconfined
23-
container.apparmor.security.beta.kubernetes.io/mount-cgroup: unconfined
2420
prometheus.io/port: "9962"
2521
prometheus.io/scrape: "true"
2622
creationTimestamp: null
@@ -43,6 +39,9 @@ spec:
4339
operator: In
4440
values:
4541
- linux
42+
securityContext:
43+
appArmorProfile:
44+
type: Unconfined
4645
containers:
4746
- args:
4847
- --config-dir=/tmp/cilium/config-map
@@ -97,6 +96,8 @@ spec:
9796
timeoutSeconds: 5
9897
resources: {}
9998
securityContext:
99+
appArmorProfile:
100+
type: Unconfined
100101
capabilities:
101102
add:
102103
- CHOWN
@@ -192,6 +193,8 @@ spec:
192193
name: mount-cgroup
193194
resources: {}
194195
securityContext:
196+
appArmorProfile:
197+
type: Unconfined
195198
capabilities:
196199
add:
197200
- SYS_ADMIN
@@ -224,6 +227,8 @@ spec:
224227
name: apply-sysctl-overwrites
225228
resources: {}
226229
securityContext:
230+
appArmorProfile:
231+
type: Unconfined
227232
capabilities:
228233
add:
229234
- SYS_ADMIN

0 commit comments

Comments
 (0)