From 01c6d8a6ce5cae4d8b7f858f22a9af9a4378a90f Mon Sep 17 00:00:00 2001 From: raffis Date: Mon, 18 Mar 2024 11:43:34 +0100 Subject: [PATCH] test: add v24 e2e test (#198) --- .../cases/keycloak-v24/kustomization.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config/tests/cases/keycloak-v24/kustomization.yaml diff --git a/config/tests/cases/keycloak-v24/kustomization.yaml b/config/tests/cases/keycloak-v24/kustomization.yaml new file mode 100644 index 00000000..f82f09ba --- /dev/null +++ b/config/tests/cases/keycloak-v24/kustomization.yaml @@ -0,0 +1,47 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: keycloak-system + +resources: +- ../../../default +- ../../base + +helmCharts: +- repo: https://codecentric.github.io/helm-charts + name: keycloakx + version: 2.0.0 + releaseName: keycloakx + namespace: keycloak-system + valuesInline: + image: + tag: "24.0.1" + + command: + - "/opt/keycloak/bin/kc.sh" + - "start" + - "--http-enabled=true" + - "--http-port=8080" + - "--hostname-strict=false" + - "--hostname-strict-https=false" + extraEnv: | + - name: KEYCLOAK_ADMIN + value: admin + - name: KEYCLOAK_ADMIN_PASSWORD + value: admin + - name: JAVA_OPTS_APPEND + value: >- + -Djgroups.dns.query=keycloakx-headless + +images: +- name: ghcr.io/doodlescheduling/keycloak-controller + newTag: latest + newName: keycloak-controller + +patchesStrategicMerge: +- | + apiVersion: keycloak.infra.doodle.com/v1beta1 + kind: KeycloakRealm + metadata: + name: test + spec: + version: 24.0.1