From a5ff420d41999cf12b1e21549d700cdf0a48e5b8 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 20 Aug 2020 04:03:53 +0200 Subject: Fix scc patches in openshift role --- roles/ands_openshift/tasks/security_resources.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/ands_openshift/tasks/security_resources.yml') 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 -- cgit v1.2.3