-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.yaml
46 lines (46 loc) · 994 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: microcumul.us/v1beta1
kind: ClusterOAuth2ClientProvider
metadata:
name: keycloak
spec:
keycloak:
baseURL: http://keycloak.default
realm: master
userAuth:
username: user
passwordRef:
name: keycloak
key: admin-password
namespace: default
---
apiVersion: microcumul.us/v1beta1
kind: OAuth2Proxy
metadata:
name: test-1
namespace: oauth2-proxy-controller-system
spec:
clusterClientProvider: keycloak
sessionStore:
redis:
host: redis-master
passwordRef:
namespace: default
name: redis
key: redis-password
ingress:
namespace: default
name: example-ingress
---
# apiVersion: microcumul.us/v1beta1
# kind: OAuth2Client
# metadata:
# name: test-1
# namespace: oauth2-proxy-controller-system
# spec:
# provider:
# namespace: oauth2-proxy-controller-system
# name: keycloak
# clientName: test
# secretName: testclient
# redirects:
# - 'http://localhost:8080'