From 8a3b451e7efdc5b872e5412fae1d0ef7ce34c654 Mon Sep 17 00:00:00 2001 From: vcarroy Date: Fri, 25 Oct 2024 14:21:18 +0200 Subject: [PATCH] Remove dispatcher default config --- .../hydra-dispatcher/files/hydra/default.yaml | 17 ----------------- resources/hydra-dispatcher/kustomization.yaml | 3 --- .../resources/hydra-dispatcher-deployment.yaml | 5 ----- 3 files changed, 25 deletions(-) delete mode 100644 resources/hydra-dispatcher/files/hydra/default.yaml diff --git a/resources/hydra-dispatcher/files/hydra/default.yaml b/resources/hydra-dispatcher/files/hydra/default.yaml deleted file mode 100644 index d86c656..0000000 --- a/resources/hydra-dispatcher/files/hydra/default.yaml +++ /dev/null @@ -1,17 +0,0 @@ -parameters: - env(HYDRA_DISPATCHER_WEBHOOK_ENABLED): false - env(HYDRA_DISPATCHER_WEBHOOK_API_URL): "" - env(HYDRA_DISPATCHER_WEBHOOK_API_KEY): "" - env(HYDRA_DISPATCHER_WEBHOOK_API_METHOD): POST - env(HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES): true - -hydra: - apps: [] - webhook: - enabled: "%env(bool:HYDRA_DISPATCHER_WEBHOOK_ENABLED)%" - api_url: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_URL)%" - api_key: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_KEY)%" - api_method: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_METHOD)%" - firewall: - additional_properties: "%env(bool:HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES)%" - rules: {} diff --git a/resources/hydra-dispatcher/kustomization.yaml b/resources/hydra-dispatcher/kustomization.yaml index 4df71af..a0cfed7 100644 --- a/resources/hydra-dispatcher/kustomization.yaml +++ b/resources/hydra-dispatcher/kustomization.yaml @@ -29,9 +29,6 @@ configMapGenerator: - OPCACHE_VALIDATE_TIMESTAMP="0" - OPCACHE_REVALIDATE_FREQ="0" - XDEBUG_MODE=off -- name: hydra-dispatcher-apps - files: - - apps.yaml=./files/hydra/default.yaml - name: hydra-dispatcher-php-ini files: - ./files/03_base.ini diff --git a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml index 369e4be..b2d0fdd 100644 --- a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml +++ b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml @@ -45,8 +45,6 @@ spec: - configMapRef: name: hydra-dispatcher-env volumeMounts: - - mountPath: /app/config/hydra - name: hydra-dispatcher-apps - name: hydra-dispatcher-php-ini mountPath: /etc/php81/conf.d/03_base.ini subPath: 03_base.ini @@ -108,9 +106,6 @@ spec: runAsUser: 1000 restartPolicy: Always volumes: - - name: hydra-dispatcher-apps - configMap: - name: hydra-dispatcher-apps - name: hydra-dispatcher-php-ini configMap: name: hydra-dispatcher-php-ini