From 577cf4755e56448b903a6ae48f6b58f7e0907abd Mon Sep 17 00:00:00 2001 From: vcarroy Date: Fri, 25 Oct 2024 14:45:34 +0200 Subject: [PATCH] Remove sql default config --- components/hydra-sql/files/sql_login.yaml | 7 ------- components/hydra-sql/kustomization.yaml | 3 --- .../hydra-sql/resources/hydra-sql-deployment.yaml | 10 ---------- 3 files changed, 20 deletions(-) delete mode 100644 components/hydra-sql/files/sql_login.yaml diff --git a/components/hydra-sql/files/sql_login.yaml b/components/hydra-sql/files/sql_login.yaml deleted file mode 100644 index a69ef96..0000000 --- a/components/hydra-sql/files/sql_login.yaml +++ /dev/null @@ -1,7 +0,0 @@ -sql_login: - login_column_name: mail - password_column_name: password - salt_column_name: salt - table_name: user - data_to_fetch: - - mail diff --git a/components/hydra-sql/kustomization.yaml b/components/hydra-sql/kustomization.yaml index 44fa7e6..22f094f 100644 --- a/components/hydra-sql/kustomization.yaml +++ b/components/hydra-sql/kustomization.yaml @@ -27,9 +27,6 @@ configMapGenerator: - OPCACHE_VALIDATE_TIMESTAMP="0" - OPCACHE_REVALIDATE_FREQ="0" - XDEBUG_MODE=off -- name: sql-login-config - files: - - ./files/sql_login.yaml - name: hydra-sql-php-ini files: - ./files/03_base.ini diff --git a/components/hydra-sql/resources/hydra-sql-deployment.yaml b/components/hydra-sql/resources/hydra-sql-deployment.yaml index 1ead16b..6e82aa6 100644 --- a/components/hydra-sql/resources/hydra-sql-deployment.yaml +++ b/components/hydra-sql/resources/hydra-sql-deployment.yaml @@ -56,9 +56,6 @@ spec: - name: PHP_FPM_LOG_LEVEL value: warning volumeMounts: - - name: sql-login-config - mountPath: "/app/config/sql_login_configuration/sql_login.yaml" - subPath: "sql_login.yaml" - name: hydra-sql-php-ini mountPath: /etc/php81/conf.d/03_base.ini subPath: 03_base.ini @@ -105,14 +102,7 @@ spec: ports: - containerPort: 8080 name: http - volumeMounts: - - name: sql-login-config - mountPath: "/app/config/sql_login_configuration/sql_login.yaml" - subPath: "sql_login.yaml" volumes: - - name: sql-login-config - configMap: - name: sql-login-config - name: hydra-sql-php-ini configMap: name: hydra-sql-php-ini