Adding service account to work with oauth proxy for monitor dashboard.
This commit is contained in:
parent
687a63a549
commit
d95cb43414
2 changed files with 12 additions and 0 deletions
|
@ -40,6 +40,11 @@
|
|||
file: service.yml
|
||||
objectname: service.yml
|
||||
|
||||
- role: openshift/object
|
||||
app: monitor-dashboard
|
||||
file: route_serviceaccount.yml
|
||||
objectname: route_serviceaccount.yml
|
||||
|
||||
# Route already present, will figure updating later
|
||||
# - role: openshift/object
|
||||
# app: monitor-dashboard
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: monitor-dashboard-web
|
||||
annotations:
|
||||
serviceaccounts.openshift.io/oauth-redirectreference.primary: '{"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"monitor-dashboard-web"}}'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue