summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-08-20 04:03:53 +0200
committerSuren A. Chilingaryan <csa@suren.me>2020-08-20 04:03:53 +0200
commita5ff420d41999cf12b1e21549d700cdf0a48e5b8 (patch)
treef62b634e8793eb32ef27e995fe0c37d94262448e /roles/ands_openshift
parent430b52b32bb44e05516b0178501cf2878909aaec (diff)
downloadands-a5ff420d41999cf12b1e21549d700cdf0a48e5b8.tar.gz
ands-a5ff420d41999cf12b1e21549d700cdf0a48e5b8.tar.bz2
ands-a5ff420d41999cf12b1e21549d700cdf0a48e5b8.tar.xz
ands-a5ff420d41999cf12b1e21549d700cdf0a48e5b8.zip
Fix scc patches in openshift role
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