Skip to content

Commit

Permalink
Add support for cgroupns_mode (#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan9san authored Oct 25, 2022
1 parent 6fdc847 commit 8b0ef4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/molecule/data/molecule.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@
"title": "Box",
"type": "string"
},
"cgroupns": {
"title": "Cgroupns",
"cgroupns_mode": {
"enum": ["host", "private"],
"title": "Cgroup namespace mode",
"type": "string"
},
"children": {
Expand Down
3 changes: 3 additions & 0 deletions tools/test-schema/test/molecule/cluster/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand All @@ -30,6 +31,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand All @@ -42,6 +44,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand Down

0 comments on commit 8b0ef4f

Please sign in to comment.