Fix up the appowners binding to use the namespace-local one
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
ebc1a6db9a
commit
864f2e1372
2 changed files with 1 additions and 4 deletions
|
@ -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 }}
|
||||
|
|
|
@ -115,7 +115,7 @@ rules:
|
|||
verbs:
|
||||
- view
|
||||
- apiGroups:
|
||||
- extensions
|
||||
- '*'
|
||||
attributeRestrictions: null
|
||||
resources:
|
||||
- daemonsets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue