Skip to content

Commit 66ec23c

Browse files
authored
[validation-7.5.x] | add cgroupns-host (#2426)
1 parent ca0f162 commit 66ec23c

File tree

55 files changed

+1050
-525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1050
-525
lines changed

molecule/archive-community-plaintext-rhel/molecule.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ platforms:
1616
dockerfile: ../Dockerfile-rhel-java17.j2
1717
command: ""
1818
volumes:
19-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
19+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
20+
cgroupns_mode: host
2021
privileged: true
2122
networks:
2223
- name: confluent
@@ -28,7 +29,8 @@ platforms:
2829
dockerfile: ../Dockerfile-rhel-java17.j2
2930
command: ""
3031
volumes:
31-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
32+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
33+
cgroupns_mode: host
3234
privileged: true
3335
networks:
3436
- name: confluent
@@ -40,7 +42,8 @@ platforms:
4042
dockerfile: ../Dockerfile-rhel-java17.j2
4143
command: ""
4244
volumes:
43-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
45+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
46+
cgroupns_mode: host
4447
privileged: true
4548
networks:
4649
- name: confluent
@@ -52,7 +55,8 @@ platforms:
5255
dockerfile: ../Dockerfile-rhel-java17.j2
5356
command: ""
5457
volumes:
55-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
58+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
59+
cgroupns_mode: host
5660
privileged: true
5761
networks:
5862
- name: confluent
@@ -64,7 +68,8 @@ platforms:
6468
dockerfile: ../Dockerfile-rhel-java17.j2
6569
command: ""
6670
volumes:
67-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
71+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
72+
cgroupns_mode: host
6873
privileged: true
6974
networks:
7075
- name: confluent
@@ -76,7 +81,8 @@ platforms:
7681
dockerfile: ../Dockerfile-rhel-java17.j2
7782
command: ""
7883
volumes:
79-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
84+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
85+
cgroupns_mode: host
8086
privileged: true
8187
networks:
8288
- name: confluent

molecule/archive-plain-debian/molecule.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ platforms:
1616
dockerfile: ../Dockerfile-debian-archive.j2
1717
command: ""
1818
volumes:
19-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
19+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
20+
cgroupns_mode: host
2021
privileged: true
2122
networks:
2223
- name: confluent
@@ -28,7 +29,8 @@ platforms:
2829
dockerfile: ../Dockerfile-debian-archive.j2
2930
command: ""
3031
volumes:
31-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
32+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
33+
cgroupns_mode: host
3234
privileged: true
3335
networks:
3436
- name: confluent
@@ -40,7 +42,8 @@ platforms:
4042
dockerfile: ../Dockerfile-debian-archive.j2
4143
command: ""
4244
volumes:
43-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
45+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
46+
cgroupns_mode: host
4447
privileged: true
4548
networks:
4649
- name: confluent
@@ -52,7 +55,8 @@ platforms:
5255
dockerfile: ../Dockerfile-debian-archive.j2
5356
command: ""
5457
volumes:
55-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
58+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
59+
cgroupns_mode: host
5660
privileged: true
5761
networks:
5862
- name: confluent
@@ -64,7 +68,8 @@ platforms:
6468
dockerfile: ../Dockerfile-debian-archive.j2
6569
command: ""
6670
volumes:
67-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
71+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
72+
cgroupns_mode: host
6873
privileged: true
6974
networks:
7075
- name: confluent
@@ -76,7 +81,8 @@ platforms:
7681
dockerfile: ../Dockerfile-debian-archive.j2
7782
command: ""
7883
volumes:
79-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
84+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
85+
cgroupns_mode: host
8086
privileged: true
8187
networks:
8288
- name: confluent
@@ -88,7 +94,8 @@ platforms:
8894
dockerfile: ../Dockerfile-debian-archive.j2
8995
command: ""
9096
volumes:
91-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
97+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
98+
cgroupns_mode: host
9299
privileged: true
93100
published_ports:
94101
- "9021:9021"

molecule/archive-plain-debian10/molecule.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ platforms:
1414
dockerfile: ../Dockerfile-debian10-archive.j2
1515
command: ""
1616
volumes:
17-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
17+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
18+
cgroupns_mode: host
1819
privileged: true
1920
networks:
2021
- name: confluent
@@ -26,7 +27,8 @@ platforms:
2627
dockerfile: ../Dockerfile-debian10-archive.j2
2728
command: ""
2829
volumes:
29-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
30+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
31+
cgroupns_mode: host
3032
privileged: true
3133
networks:
3234
- name: confluent
@@ -38,7 +40,8 @@ platforms:
3840
dockerfile: ../Dockerfile-debian10-archive.j2
3941
command: ""
4042
volumes:
41-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
43+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
44+
cgroupns_mode: host
4245
privileged: true
4346
networks:
4447
- name: confluent
@@ -50,7 +53,8 @@ platforms:
5053
dockerfile: ../Dockerfile-debian10-archive.j2
5154
command: ""
5255
volumes:
53-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
56+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
57+
cgroupns_mode: host
5458
privileged: true
5559
networks:
5660
- name: confluent
@@ -62,7 +66,8 @@ platforms:
6266
dockerfile: ../Dockerfile-debian10-archive.j2
6367
command: ""
6468
volumes:
65-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
69+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
70+
cgroupns_mode: host
6671
privileged: true
6772
networks:
6873
- name: confluent
@@ -74,7 +79,8 @@ platforms:
7479
dockerfile: ../Dockerfile-debian10-archive.j2
7580
command: ""
7681
volumes:
77-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
82+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
83+
cgroupns_mode: host
7884
privileged: true
7985
networks:
8086
- name: confluent
@@ -86,7 +92,8 @@ platforms:
8692
dockerfile: ../Dockerfile-debian10-archive.j2
8793
command: ""
8894
volumes:
89-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
95+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
96+
cgroupns_mode: host
9097
privileged: true
9198
published_ports:
9299
- "9021:9021"

molecule/archive-plain-rhel-fips/molecule.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ platforms:
1919
dockerfile: ../Dockerfile-rhel9-tar.j2
2020
command: ""
2121
volumes:
22-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
22+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
23+
cgroupns_mode: host
2324
privileged: true
2425
networks:
2526
- name: confluent
@@ -31,7 +32,8 @@ platforms:
3132
dockerfile: ../Dockerfile-rhel9-tar.j2
3233
command: ""
3334
volumes:
34-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
35+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
36+
cgroupns_mode: host
3537
privileged: true
3638
networks:
3739
- name: confluent
@@ -43,7 +45,8 @@ platforms:
4345
dockerfile: ../Dockerfile-rhel9-tar.j2
4446
command: ""
4547
volumes:
46-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
48+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
49+
cgroupns_mode: host
4750
privileged: true
4851
networks:
4952
- name: confluent
@@ -55,7 +58,8 @@ platforms:
5558
dockerfile: ../Dockerfile-rhel9-tar.j2
5659
command: ""
5760
volumes:
58-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
61+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
62+
cgroupns_mode: host
5963
privileged: true
6064
networks:
6165
- name: confluent
@@ -67,7 +71,8 @@ platforms:
6771
dockerfile: ../Dockerfile-rhel9-tar.j2
6872
command: ""
6973
volumes:
70-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
74+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
75+
cgroupns_mode: host
7176
privileged: true
7277
networks:
7378
- name: confluent
@@ -79,7 +84,8 @@ platforms:
7984
dockerfile: ../Dockerfile-rhel9-tar.j2
8085
command: ""
8186
volumes:
82-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
87+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
88+
cgroupns_mode: host
8389
privileged: true
8490
networks:
8591
- name: confluent
@@ -91,7 +97,8 @@ platforms:
9197
dockerfile: ../Dockerfile-rhel9-tar.j2
9298
command: ""
9399
volumes:
94-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
100+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
101+
cgroupns_mode: host
95102
privileged: true
96103
published_ports:
97104
- "9021:9021"

molecule/archive-plain-ubuntu/molecule.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ platforms:
1616
dockerfile: ../Dockerfile-ubuntu-archive.j2
1717
command: ""
1818
volumes:
19-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
19+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
20+
cgroupns_mode: host
2021
privileged: true
2122
networks:
2223
- name: confluent
@@ -28,7 +29,8 @@ platforms:
2829
dockerfile: ../Dockerfile-ubuntu-archive.j2
2930
command: ""
3031
volumes:
31-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
32+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
33+
cgroupns_mode: host
3234
privileged: true
3335
networks:
3436
- name: confluent
@@ -40,7 +42,8 @@ platforms:
4042
dockerfile: ../Dockerfile-ubuntu-archive.j2
4143
command: ""
4244
volumes:
43-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
45+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
46+
cgroupns_mode: host
4447
privileged: true
4548
networks:
4649
- name: confluent
@@ -52,7 +55,8 @@ platforms:
5255
dockerfile: ../Dockerfile-ubuntu-archive.j2
5356
command: ""
5457
volumes:
55-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
58+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
59+
cgroupns_mode: host
5660
privileged: true
5761
networks:
5862
- name: confluent
@@ -64,7 +68,8 @@ platforms:
6468
dockerfile: ../Dockerfile-ubuntu-archive.j2
6569
command: ""
6670
volumes:
67-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
71+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
72+
cgroupns_mode: host
6873
privileged: true
6974
networks:
7075
- name: confluent
@@ -76,7 +81,8 @@ platforms:
7681
dockerfile: ../Dockerfile-ubuntu-archive.j2
7782
command: ""
7883
volumes:
79-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
84+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
85+
cgroupns_mode: host
8086
privileged: true
8187
networks:
8288
- name: confluent
@@ -88,7 +94,8 @@ platforms:
8894
dockerfile: ../Dockerfile-ubuntu-archive.j2
8995
command: ""
9096
volumes:
91-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
97+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
98+
cgroupns_mode: host
9299
privileged: true
93100
published_ports:
94101
- "9021:9021"

0 commit comments

Comments
 (0)