Skip to content

Commit 0340e8c

Browse files
Anthony Landrethtjmoore4
authored andcommitted
Updating Keycloak example
Applies fixes contributed by dajeffers in PR 3307 for CrunchyData/postgres-operator. Issue: [sc-20286]
1 parent 3c2ee06 commit 0340e8c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

kustomize/keycloak/keycloak.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- image: quay.io/keycloak/keycloak:latest
19+
args: ["start-dev"]
1920
name: keycloak
2021
env:
2122
- name: DB_VENDOR
@@ -30,19 +31,19 @@ spec:
3031
valueFrom: { secretKeyRef: { name: keycloakdb-pguser-keycloakdb, key: user } }
3132
- name: DB_PASSWORD
3233
valueFrom: { secretKeyRef: { name: keycloakdb-pguser-keycloakdb, key: password } }
33-
- name: KEYCLOAK_USER
34+
- name: KEYCLOAK_ADMIN
3435
value: "admin"
35-
- name: KEYCLOAK_PASSWORD
36+
- name: KEYCLOAK_ADMIN_PASSWORD
3637
value: "admin"
37-
- name: PROXY_ADDRESS_FORWARDING
38-
value: "true"
38+
- name: KC_PROXY
39+
value: "edge"
3940
ports:
4041
- name: http
4142
containerPort: 8080
4243
- name: https
4344
containerPort: 8443
4445
readinessProbe:
4546
httpGet:
46-
path: /auth/realms/master
47+
path: /realms/master
4748
port: 8080
4849
restartPolicy: Always

0 commit comments

Comments
 (0)