forked from infra/ansible
openshift: disallow users self-provisioning
We don't want authenticated users being able to self provision projects in our clusters. We only want that to happen via ansible. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d5c4b09e6e
commit
2b8fecb1f7
1 changed files with 4 additions and 0 deletions
|
|
@ -33,3 +33,7 @@
|
|||
notify: Apply changes to openshift
|
||||
tags:
|
||||
- create-resources
|
||||
|
||||
# Disable users from creating projects
|
||||
- name: disable default user project creation
|
||||
ansible.builtin.command: oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue