Add more privileges to appowners on staging.
This commit is contained in:
parent
8dd920c9b2
commit
7bbb860d52
1 changed files with 20 additions and 0 deletions
|
@ -6,6 +6,11 @@ metadata:
|
|||
name: appowner
|
||||
namespace: "{{ app }}"
|
||||
rules:
|
||||
{% if env == "staging" %}
|
||||
- apiGroups: ["monitoring.coreos.com"]
|
||||
resources: ["alertmanagers", "prometheuses", "prometheusrules", "servicemonitors", "podmonitors"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
{% endif %}
|
||||
- apiGroups:
|
||||
- "*"
|
||||
attributeRestrictions: null
|
||||
|
@ -74,6 +79,11 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
{% if env == "staging" %}
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
{% endif %}
|
||||
- apiGroups:
|
||||
- "*"
|
||||
attributeRestrictions: null
|
||||
|
@ -99,6 +109,11 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
{% if env == "staging" %}
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
{% endif %}
|
||||
- apiGroups:
|
||||
- batch
|
||||
attributeRestrictions: null
|
||||
|
@ -110,6 +125,11 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
{% if env == "staging" %}
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
{% endif %}
|
||||
- apiGroups:
|
||||
- build.openshift.io
|
||||
attributeRestrictions: null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue