[Skip-CI] Update resources
This commit is contained in:
parent
9c236b954b
commit
83817bdb2c
2 changed files with 10 additions and 11 deletions
|
@ -32,6 +32,8 @@ spec:
|
||||||
value: /etc/certs/tls.key
|
value: /etc/certs/tls.key
|
||||||
- name: KC_HOSTNAME
|
- name: KC_HOSTNAME
|
||||||
value: FQDN
|
value: FQDN
|
||||||
|
- name: KC_PROXY
|
||||||
|
value: edge
|
||||||
- name: DB_VENDOR
|
- name: DB_VENDOR
|
||||||
value: POSTGRES
|
value: POSTGRES
|
||||||
- name: DB_ADDR
|
- name: DB_ADDR
|
||||||
|
@ -53,14 +55,12 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postgres-secret
|
name: postgres-secret
|
||||||
key: postgres-password
|
key: postgres-password
|
||||||
- name: PROXY_ADDRESS_FORWARDING
|
- name: KEYCLOAK_ADMIN
|
||||||
value: "true"
|
|
||||||
- name: KEYCLOAK_USER
|
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: keycloak-secret
|
name: keycloak-secret
|
||||||
key: keycloak-user
|
key: keycloak-user
|
||||||
- name: KEYCLOAK_PASSWORD
|
- name: KEYCLOAK_ADMIN_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: keycloak-secret
|
name: keycloak-secret
|
||||||
|
@ -68,10 +68,6 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /auth/realms/master
|
|
||||||
port: 8080
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: keycloak-cert
|
- name: keycloak-cert
|
||||||
secret:
|
secret:
|
||||||
|
|
|
@ -3,11 +3,14 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: keycloak
|
name: keycloak
|
||||||
labels:
|
labels:
|
||||||
app: keycloak
|
service: keycloak
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: "http"
|
||||||
port: 8080
|
port: 80
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
|
- name: "https"
|
||||||
|
port: 443
|
||||||
|
targetPort: 8443
|
||||||
selector:
|
selector:
|
||||||
app: keycloak
|
app: keycloak
|
Loading…
Reference in a new issue