This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lagoobernetes.keycloak-secrets.yaml
65 lines (65 loc) · 2.09 KB
/
.lagoobernetes.keycloak-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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoobernetes-secret-environment-template
parameters:
- name: KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD
description: super admin password of keycloak
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: KEYCLOAK_ADMIN_PASSWORD
description: admin user password of keycloak
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: KEYCLOAK_AUTH_SERVER_CLIENT_SECRET
description: client secret of the auth server client
generate: expression
from: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
- name: KEYCLOAK_API_CLIENT_SECRET
description: client secret of the api client
generate: expression
from: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
- name: SAFE_BRANCH
description: Which branch this belongs to, special chars replaced with dashes
required: true
- name: SAFE_PROJECT
description: Which project this belongs to, special chars replaced with dashes
required: true
- name: BRANCH
description: Which branch this belongs to, original value
required: true
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOOBERNETES_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
description: Name of the Project that this service is in
required: true
objects:
- kind: Secret
apiVersion: v1
metadata:
name: keycloak-lagoobernetes-admin-password
stringData:
KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD: ${KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD}
- kind: Secret
apiVersion: v1
metadata:
name: keycloak-admin-password
stringData:
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
- kind: Secret
apiVersion: v1
metadata:
name: keycloak-auth-server-client-secret
stringData:
KEYCLOAK_AUTH_SERVER_CLIENT_SECRET: ${KEYCLOAK_AUTH_SERVER_CLIENT_SECRET}
- kind: Secret
apiVersion: v1
metadata:
name: keycloak-api-client-secret
stringData:
KEYCLOAK_API_CLIENT_SECRET: ${KEYCLOAK_API_CLIENT_SECRET}