From 864f2e137251b3254f48cf942f21d493134e5188 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 13 Sep 2018 10:39:39 +0200 Subject: [PATCH] Fix up the appowners binding to use the namespace-local one Signed-off-by: Patrick Uiterwijk --- roles/openshift/project/templates/appowners.yml | 3 --- roles/openshift/project/templates/role-appowners.yml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/openshift/project/templates/appowners.yml b/roles/openshift/project/templates/appowners.yml index d7d685635f..78a10af86f 100644 --- a/roles/openshift/project/templates/appowners.yml +++ b/roles/openshift/project/templates/appowners.yml @@ -5,10 +5,7 @@ metadata: name: appowners roleRef: name: appowner -{% if env == "staging" %} - # See note in role-appowners.yml namespace: "{{app}}" -{% endif %} userNames: {% for owner in appowners %} - {{ owner }} diff --git a/roles/openshift/project/templates/role-appowners.yml b/roles/openshift/project/templates/role-appowners.yml index a335224c58..a68caf6cc8 100644 --- a/roles/openshift/project/templates/role-appowners.yml +++ b/roles/openshift/project/templates/role-appowners.yml @@ -115,7 +115,7 @@ rules: verbs: - view - apiGroups: - - extensions + - '*' attributeRestrictions: null resources: - daemonsets