stack/kustomizations/keycloak/postgres-auth.patch.yaml

44 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2023-05-15 04:06:43 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: keycloak
spec:
template:
spec:
containers:
- name: keycloak
args:
- start
- --db=postgres
env:
- name: KEYCLOAK_ADMIN
valueFrom:
secretKeyRef:
name: keycloak-config
key: admin
- name: KEYCLOAK_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: keycloak-config
key: admin_password
- name: KC_DB_USERNAME
valueFrom:
secretKeyRef:
name: database-configuration
key: name
- name: KC_DB_PASSWORD
valueFrom:
secretKeyRef:
name: database-configuration
key: password
- name: KC_DB_URL
valueFrom:
secretKeyRef:
name: database-configuration
key: jdbc_url
- name: KC_HOSTNAME_URL
valueFrom:
configMapKeyRef:
name: keycloak-config
key: KC_HOSTNAME_URL