From 011c538e4c4f5335dc8a2dae867fa925d3cf3a9b Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Mon, 26 Sep 2022 02:23:51 +0200 Subject: [PATCH] test(keycloak): Fix unittest for chart --- charts/keycloak/Chart.yaml | 2 +- charts/keycloak/README.md | 2 +- .../tests/__snapshot__/snapshot_test.yaml.snap | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/charts/keycloak/Chart.yaml b/charts/keycloak/Chart.yaml index 75d8da2b0..7549572da 100644 --- a/charts/keycloak/Chart.yaml +++ b/charts/keycloak/Chart.yaml @@ -7,5 +7,5 @@ icon: https://www.keycloak.org/resources/images/keycloak_icon_512px.svg sources: - https://git.shivering-isles.com/shivering-isles/infrastructure-gitops - https://github.com/keycloak/keycloak -version: 0.4.2 +version: 0.4.3 appVersion: "19.0.2" diff --git a/charts/keycloak/README.md b/charts/keycloak/README.md index 4924fec7f..4b089a7b5 100644 --- a/charts/keycloak/README.md +++ b/charts/keycloak/README.md @@ -1,6 +1,6 @@ # keycloak -   +   (Alpha) A Helm chart for Keycloak on Kubernetes diff --git a/charts/keycloak/tests/__snapshot__/snapshot_test.yaml.snap b/charts/keycloak/tests/__snapshot__/snapshot_test.yaml.snap index 06c92b923..013e02e67 100644 --- a/charts/keycloak/tests/__snapshot__/snapshot_test.yaml.snap +++ b/charts/keycloak/tests/__snapshot__/snapshot_test.yaml.snap @@ -62,18 +62,22 @@ should match snapshot: image: quay.io/keycloak/keycloak:4.5.6 imagePullPolicy: IfNotPresent livenessProbe: + failureThreshold: 3 httpGet: path: /health/live port: http + periodSeconds: 10 name: keycloak ports: - containerPort: 8080 name: http protocol: TCP readinessProbe: + failureThreshold: 3 httpGet: path: /health/ready port: http + periodSeconds: 10 resources: limits: cpu: "1" @@ -87,6 +91,12 @@ should match snapshot: drop: - ALL runAsNonRoot: true + startupProbe: + failureThreshold: 30 + httpGet: + path: /health/live + port: http + periodSeconds: 10 securityContext: {} serviceAccountName: RELEASE-NAME-keycloak 2: | -- GitLab