[Skip-CI] Update resources

This commit is contained in:
erik 2023-01-25 12:56:42 +01:00
parent 9c236b954b
commit 83817bdb2c
2 changed files with 10 additions and 11 deletions

View file

@ -32,6 +32,8 @@ spec:
value: /etc/certs/tls.key
- name: KC_HOSTNAME
value: FQDN
- name: KC_PROXY
value: edge
- name: DB_VENDOR
value: POSTGRES
- name: DB_ADDR
@ -53,14 +55,12 @@ spec:
secretKeyRef:
name: postgres-secret
key: postgres-password
- name: PROXY_ADDRESS_FORWARDING
value: "true"
- name: KEYCLOAK_USER
- name: KEYCLOAK_ADMIN
valueFrom:
secretKeyRef:
name: keycloak-secret
key: keycloak-user
- name: KEYCLOAK_PASSWORD
- name: KEYCLOAK_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: keycloak-secret
@ -68,10 +68,6 @@ spec:
ports:
- name: http
containerPort: 8080
readinessProbe:
httpGet:
path: /auth/realms/master
port: 8080
volumes:
- name: keycloak-cert
secret:

View file

@ -3,11 +3,14 @@ kind: Service
metadata:
name: keycloak
labels:
app: keycloak
service: keycloak
spec:
ports:
- name: http
port: 8080
- name: "http"
port: 80
targetPort: 8080
- name: "https"
port: 443
targetPort: 8443
selector:
app: keycloak