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
|
name: appowners
|
||||||
roleRef:
|
roleRef:
|
||||||
name: appowner
|
name: appowner
|
||||||
{% if env == "staging" %}
|
|
||||||
# See note in role-appowners.yml
|
|
||||||
namespace: "{{app}}"
|
namespace: "{{app}}"
|
||||||
{% endif %}
|
|
||||||
userNames:
|
userNames:
|
||||||
{% for owner in appowners %}
|
{% for owner in appowners %}
|
||||||
- {{ owner }}
|
- {{ owner }}
|
||||||
|
|
|
@ -115,7 +115,7 @@ rules:
|
||||||
verbs:
|
verbs:
|
||||||
- view
|
- view
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- extensions
|
- '*'
|
||||||
attributeRestrictions: null
|
attributeRestrictions: null
|
||||||
resources:
|
resources:
|
||||||
- daemonsets
|
- daemonsets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue