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
|
||||
# image: quay.io/keycloak/keycloak:23.0.1
|
||||
image: quay.io/keycloak/keycloak:26.1
|
||||
# args: [ "start" ]
|
||||
args:
|
||||
- "start"
|
||||
- "--http-enabled=true"
|
||||
# - "--https-certificate-file=/etc/ssl/certs/cert.pem"+
|
||||
# - "--https-certificate-key-file=/etc/ssl/certs/key.pem"
|
||||
- "--verbose"
|
||||
args: [ "start" ]
|
||||
# args:
|
||||
# - "start"
|
||||
# # - "--https-certificate-file=/etc/ssl/certs/cert.pem"+
|
||||
# # - "--https-certificate-key-file=/etc/ssl/certs/key.pem"
|
||||
# - "--verbose"
|
||||
env:
|
||||
- name: KC_HTTP_ENABLED
|
||||
value: "true"
|
||||
- name: KEYCLOAK_USER
|
||||
value: admin
|
||||
- name: KEYCLOAK_PASSWORD
|
||||
|
@ -50,15 +51,15 @@ spec:
|
|||
containerPort: 8080
|
||||
# - name: https
|
||||
# containerPort: 8443
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health/ready
|
||||
port: 9000
|
||||
initialDelaySeconds: 5 # Delay before the probe starts
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 3
|
||||
successThreshold: 1 # Number of successful probes to consider the pod ready
|
||||
failureThreshold: 5
|
||||
# readinessProbe:
|
||||
# httpGet:
|
||||
# path: /health/ready
|
||||
# port: 9000
|
||||
# initialDelaySeconds: 5 # Delay before the probe starts
|
||||
# periodSeconds: 15
|
||||
# timeoutSeconds: 3
|
||||
# successThreshold: 1 # Number of successful probes to consider the pod ready
|
||||
# failureThreshold: 5
|
||||
volumeMounts:
|
||||
- mountPath: /opt/keycloak/data/h2/
|
||||
name: storage
|
||||
|
|
|
@ -7,7 +7,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
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
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
|
|
Loading…
Add table
Reference in a new issue