Fix up the appowners binding to use the namespace-local one

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2018-09-13 10:39:39 +02:00
parent ebc1a6db9a
commit 864f2e1372
2 changed files with 1 additions and 4 deletions

View file

@ -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 }}

View file

@ -115,7 +115,7 @@ rules:
verbs:
- view
- apiGroups:
- extensions
- '*'
attributeRestrictions: null
resources:
- daemonsets