forked from bcgov/HMCR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sso-secrets.yaml
48 lines (48 loc) · 2.97 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
data:
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-${ENV}
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: ""
- 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: ""
- description: Keycloak SSO realm
displayName: CLIENT_SSO_REALM
name: CLIENT_SSO_REALM
required: true
value: ""
- description: Keycloak SSO bearer client ID, used by the API server
displayName: JWT_SSO_AUDIENCE
name: JWT_SSO_AUDIENCE
required: true
value: ""
- description: Keycloak SSO bearer authority, used by the API server. Eg, https://dev.oidc.gov.bc.ca/auth/realms/<realm>
displayName: JWT_SSO_AUTHORITY
name: JWT_SSO_AUTHORITY
required: true
value: ""
- description: Environment. Eg, DEV, TEST, UAT, PROD
displayName: ENV
name: ENV
required: true
value: "dev"