mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add keycloak probes config (#5584)
* Make Liveness and Readiness Probes initialDelay and Timeout configurable in incubator/keycloak charm * Update values structure for probes as per request * Update Chart.yaml
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: keycloak
|
||||
version: 0.4.0
|
||||
version: 0.5.0
|
||||
appVersion: 3.4.3.Final
|
||||
description: Open Source Identity and Access Management For Modern Applications and Services
|
||||
keywords:
|
||||
|
||||
@@ -62,6 +62,10 @@ Parameter | Description | Default
|
||||
`keycloak.tolerations` | Node taints to tolerate | `[]`
|
||||
`keycloak.securityContext` | Security context for the pod | `{runAsUser: 1000, fsGroup: 1000, runAsNonRoot: true}`
|
||||
`keycloak.preStartScript` | Custom script to run before Keycloak starts up | ``
|
||||
`keycloak.livenessInitialDelaySeconds` | Liveness Probe `initialDelaySeconds` | `120`
|
||||
`keycloak.livenessTimeoutSeconds` | Liveness Probe `timeoutSeconds` | `5`
|
||||
`keycloak.readinessInitialDelaySeconds` | Readiness Probe `initialDelaySeconds` | `30`
|
||||
`keycloak.readinessTimeoutSeconds` | Readiness Probe `timeoutSeconds` | `1`
|
||||
`keycloak.cli.nodeIdentifier` | WildFly CLI script for setting the node identifier | See `values.yaml`
|
||||
`keycloak.cli.logging` | WildFly CLI script for logging configuration | See `values.yaml`
|
||||
`keycloak.cli.reverseProxy` | WildFly CLI script for reverse proxy configuration | See `values.yaml`
|
||||
|
||||
@@ -92,14 +92,14 @@ spec:
|
||||
httpGet:
|
||||
path: /auth/
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: {{ .Values.keycloak.livenessProbe.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.keycloak.livenessProbe.timeoutSeconds }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /auth/
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: {{ .Values.keycloak.readinessProbe.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.keycloak.readinessProbe.timeoutSeconds }}
|
||||
resources:
|
||||
{{ toYaml .Values.keycloak.resources | indent 12 }}
|
||||
{{- with .Values.keycloak.affinity }}
|
||||
|
||||
@@ -43,6 +43,13 @@ keycloak:
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 120
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: "100m"
|
||||
|
||||
Reference in New Issue
Block a user