set env http-enabled to true & commenct readinessProbe
Signed-off-by: Benedith Mulongo <benedith@sunet.se>
This commit is contained in:
parent
419a8a94df
commit
a827955bb4
2 changed files with 18 additions and 17 deletions
|
@ -19,14 +19,15 @@ spec:
|
||||||
- name: keycloak
|
- name: keycloak
|
||||||
# image: quay.io/keycloak/keycloak:23.0.1
|
# image: quay.io/keycloak/keycloak:23.0.1
|
||||||
image: quay.io/keycloak/keycloak:26.1
|
image: quay.io/keycloak/keycloak:26.1
|
||||||
# args: [ "start" ]
|
args: [ "start" ]
|
||||||
args:
|
# args:
|
||||||
- "start"
|
# - "start"
|
||||||
- "--http-enabled=true"
|
# # - "--https-certificate-file=/etc/ssl/certs/cert.pem"+
|
||||||
# - "--https-certificate-file=/etc/ssl/certs/cert.pem"+
|
# # - "--https-certificate-key-file=/etc/ssl/certs/key.pem"
|
||||||
# - "--https-certificate-key-file=/etc/ssl/certs/key.pem"
|
# - "--verbose"
|
||||||
- "--verbose"
|
|
||||||
env:
|
env:
|
||||||
|
- name: KC_HTTP_ENABLED
|
||||||
|
value: "true"
|
||||||
- name: KEYCLOAK_USER
|
- name: KEYCLOAK_USER
|
||||||
value: admin
|
value: admin
|
||||||
- name: KEYCLOAK_PASSWORD
|
- name: KEYCLOAK_PASSWORD
|
||||||
|
@ -50,15 +51,15 @@ spec:
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
# - name: https
|
# - name: https
|
||||||
# containerPort: 8443
|
# containerPort: 8443
|
||||||
readinessProbe:
|
# readinessProbe:
|
||||||
httpGet:
|
# httpGet:
|
||||||
path: /health/ready
|
# path: /health/ready
|
||||||
port: 9000
|
# port: 9000
|
||||||
initialDelaySeconds: 5 # Delay before the probe starts
|
# initialDelaySeconds: 5 # Delay before the probe starts
|
||||||
periodSeconds: 15
|
# periodSeconds: 15
|
||||||
timeoutSeconds: 3
|
# timeoutSeconds: 3
|
||||||
successThreshold: 1 # Number of successful probes to consider the pod ready
|
# successThreshold: 1 # Number of successful probes to consider the pod ready
|
||||||
failureThreshold: 5
|
# failureThreshold: 5
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /opt/keycloak/data/h2/
|
- mountPath: /opt/keycloak/data/h2/
|
||||||
name: storage
|
name: storage
|
||||||
|
|
|
@ -7,7 +7,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://platform.sunet.se/streams/streams-manifests.git
|
repoURL: https://platform.sunet.se/streams/streams-manifests.git
|
||||||
targetRevision: streams-manifests-2025-01-30-v41
|
targetRevision: streams-manifests-2025-01-30-v45
|
||||||
path: keycloak/overlays/test
|
path: keycloak/overlays/test
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|
Loading…
Add table
Reference in a new issue