From bbeb1ec62fbe5f40e367d14d5c2f2dfb54f67600 Mon Sep 17 00:00:00 2001 From: Matthieu Lamalle Date: Mon, 18 Dec 2023 09:25:30 +0100 Subject: [PATCH] mise en place d'un component pour Redis --- components/redis/kustomization.yaml | 6 ++++++ .../redis/resources/redis-failover.yaml | 0 overlays/base/kustomization.yaml | 1 - overlays/full/kustomization.yaml | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 components/redis/kustomization.yaml rename overlays/base/patches/sso-redis.yaml => components/redis/resources/redis-failover.yaml (100%) diff --git a/components/redis/kustomization.yaml b/components/redis/kustomization.yaml new file mode 100644 index 0000000..c030cf5 --- /dev/null +++ b/components/redis/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +resources: + - ./resources/redis-failover.yaml + diff --git a/overlays/base/patches/sso-redis.yaml b/components/redis/resources/redis-failover.yaml similarity index 100% rename from overlays/base/patches/sso-redis.yaml rename to components/redis/resources/redis-failover.yaml diff --git a/overlays/base/kustomization.yaml b/overlays/base/kustomization.yaml index ef391a7..b85a923 100644 --- a/overlays/base/kustomization.yaml +++ b/overlays/base/kustomization.yaml @@ -4,7 +4,6 @@ kind: Kustomization resources: - ../../resources/hydra - ../../resources/hydra-dispatcher -- patches/sso-redis.yaml labels: - pairs: diff --git a/overlays/full/kustomization.yaml b/overlays/full/kustomization.yaml index da68867..e9a6eac 100644 --- a/overlays/full/kustomization.yaml +++ b/overlays/full/kustomization.yaml @@ -14,4 +14,5 @@ components: - ../../components/hydra-oidc - ../../components/hydra-saml - ../../components/hydra-sql -- ../../components/oidc-test \ No newline at end of file +- ../../components/oidc-test +- ../../components/redis