summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_openshift')
-rw-r--r--roles/ands_openshift/tasks/security_resources.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/ands_openshift/tasks/security_resources.yml b/roles/ands_openshift/tasks/security_resources.yml
index fd72240..b334563 100644
--- a/roles/ands_openshift/tasks/security_resources.yml
+++ b/roles/ands_openshift/tasks/security_resources.yml
@@ -20,7 +20,7 @@
include_role: name="openshift_resource" tasks_from="patch.yml"
vars:
project: "default"
- resource: "scc/restricted"
+ resource: "securitycontextconstraints/restricted"
mode: "{{ ands_openshift_groups_mode | default(false) }}"
patch: '{"supplementalGroups":{"type":"{{mode}}"}}'
when: mode != false
@@ -29,7 +29,7 @@
include_role: name="openshift_resource" tasks_from="patch.yml"
vars:
project: "default"
- resource: "scc/restricted"
+ resource: "securitycontextconstraints/restricted"
mode: "{{ ands_openshift_gid_mode | default(false) }}"
patch: '{"fsGroup":{"type":"{{mode}}"}}'
when: mode != false
@@ -38,7 +38,7 @@
include_role: name="openshift_resource" tasks_from="patch.yml"
vars:
project: "default"
- resource: "scc/restricted"
+ resource: "securitycontextconstraints/restricted"
mode: "{{ ands_openshift_uid_mode | default(false) }}"
patch: '{"runAsUser":{"type":"{{mode}}"}}'
when: mode != false