-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsso-secrets.yaml
48 lines (48 loc) · 3.04 KB
/
sso-secrets.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
47
48
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: "true"
objects:
- apiVersion: v1
stringData:
CLIENT_SSO_CLIENTID: ${CLIENT_SSO_CLIENTID}
CLIENT_SSO_HOST: ${CLIENT_SSO_HOST}
CLIENT_SSO_REALM: ${CLIENT_SSO_REALM}
JWT_SSO_AUDIENCE: ${JWT_SSO_AUDIENCE}
JWT_SSO_AUTHORITY: ${JWT_SSO_AUTHORITY}
kind: Secret
metadata:
name: sso-configs
type: Opaque
parameters:
- description: OAuth Keycloak SSO public client ID, used by the frontend login
displayName: CLIENT_SSO_CLIENTID
name: CLIENT_SSO_CLIENTID
required: true
value: "clientid"
- description: Keycloak SSO public client auth URL, used by the frontend login. Eg, https://dev.oidc.gov.bc.ca/auth
displayName: CLIENT_SSO_HOST
name: CLIENT_SSO_HOST
required: true
value: "ssohost"
- description: Keycloak SSO realm
displayName: CLIENT_SSO_REALM
name: CLIENT_SSO_REALM
required: true
value: "realm"
- description: Keycloak SSO bearer client ID, used by the API server
displayName: JWT_SSO_AUDIENCE
name: JWT_SSO_AUDIENCE
required: true
value: "audience"
- description: Keycloak SSO bearer authority, used by the API server. Eg, https://dev.loginproxy.gov.bc.ca/auth/realms/<realm>
displayName: JWT_SSO_AUTHORITY
name: JWT_SSO_AUTHORITY
required: true
value: "auth"
- description: Environment. Eg, DEV, TEST, UAT, PROD
displayName: ENV
name: ENV
required: true
value: "dev"