Skip to content

Commit

Permalink
chore(keycloak): updating common and fixing externalSecrets check
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus49 committed Dec 20, 2024
1 parent f9f5cc5 commit 0666674
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions charts/keycloak/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 24.3.0
- name: common
repository: oci://ghcr.io/openmfp/helm-charts
version: 0.1.9
digest: sha256:4b219e5c96c494adbe3f7d83a993ba895f3f210396df47bf85f6e3d26a113369
generated: "2024-12-11T01:31:19.218823215Z"
version: 0.2.3
digest: sha256:fa329152569f2cc1a9cc8015a8164a5c2e7f410f26eb42d733be1aa6ba001f37
generated: "2024-12-20T13:14:50.99078+01:00"
4 changes: 2 additions & 2 deletions charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: keycloak
description: A Helm chart for Kubernetes

type: application
version: 0.59.34
version: 0.59.35
appVersion: "1.16.0"

dependencies:
Expand All @@ -12,5 +12,5 @@ dependencies:
version: 24.3.0
repository: oci://registry-1.docker.io/bitnamicharts
- name: common
version: 0.1.9
version: 0.2.3
repository: oci://ghcr.io/openmfp/helm-charts
Binary file removed charts/keycloak/charts/common-0.1.9.tgz
Binary file not shown.
Binary file added charts/keycloak/charts/common-0.2.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/keycloak/templates/external-secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "common.hasNestedKey" (dict "Values" .Values "key" "externalSecrets.enabled")) "true" }}
{{- if eq (include "common.getNestedValue" (dict "Values" .Values "key" "externalSecrets.enabled")) "true" -}}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
Expand Down
7 changes: 7 additions & 0 deletions charts/keycloak/tests/external-secrets_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ tests:
enabled: true
asserts:
- matchSnapshot: {}
- it: matches the snapshot (no external secrets)
template: external-secrets.yaml
set:
externalSecrets:
enabled: false
asserts:
- matchSnapshot: {}

0 comments on commit 0666674

Please sign in to comment.