Skip to content

Commit ff7dc15

Browse files
authored
Merge pull request #2703 from rackerlabs/ironic-parent-node-policy
feat(ironic): let the node owner's admins set parent_node
2 parents db714e8 + 0f04125 commit ff7dc15

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎components/ironic/values.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ conf:
6767
"baremetal:node:get_console": "((role:member and system_scope:all) or rule:service_role) or (role:service and system_scope:all) or (role:member and project_id:%(node.owner)s) or (role:service and project_id:%(node.owner)s) or (role:member and project_id:%(node.lessee)s)"
6868
"baremetal:node:set_provision_state:clean_steps": "role:admin or role:ucadmin-role"
6969
"baremetal:node:disable_cleaning": "role:admin or role:ucadmin-role"
70+
# Upstream default plus the admins of the project that owns the node, so
71+
# enroll-fw (baremetal-manage, admin on infra/baremetal) can link an HA
72+
# firewall pair: the secondary's parent_node is its primary.
73+
# default: "(role:member and system_scope:all) or rule:service_role"
74+
"baremetal:node:update:parent_node": "(role:member and system_scope:all) or rule:service_role or (role:admin and project_id:%(node.owner)s)"
7075
ironic:
7176
database:
7277
# The MariaDB operator writes the connection string into the

0 commit comments

Comments
 (0)