summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/templates/oauth-client.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_logging/templates/oauth-client.j2')
-rw-r--r--roles/openshift_logging/templates/oauth-client.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/oauth-client.j2 b/roles/openshift_logging/templates/oauth-client.j2
new file mode 100644
index 000000000..41d3123cb
--- /dev/null
+++ b/roles/openshift_logging/templates/oauth-client.j2
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: OAuthClient
+metadata:
+ name: kibana-proxy
+ labels:
+ logging-infra: support
+secret: {{secret}}
+redirectURIs:
+- https://{{openshift_logging_kibana_hostname}}
+- https://{{openshift_logging_kibana_ops_hostname}}
+scopeRestrictions:
+- literals:
+ - user:info
+ - user:check-access
+ - user:list-projects