From 41af9514ea22b66525416a68a2178cac10aa2ebe Mon Sep 17 00:00:00 2001 From: "Reuven V. Gonzales" Date: Fri, 17 May 2024 07:01:34 +0000 Subject: [PATCH] Use postrenderers on the helmrelease --- ops/k8s-apps/base/dagster/dagster.yaml | 9 +++++++++ ops/k8s-apps/base/dagster/kustomization.yaml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ops/k8s-apps/base/dagster/dagster.yaml b/ops/k8s-apps/base/dagster/dagster.yaml index e95476083..06f0460ab 100644 --- a/ops/k8s-apps/base/dagster/dagster.yaml +++ b/ops/k8s-apps/base/dagster/dagster.yaml @@ -42,3 +42,12 @@ spec: dagsterDaemon: envConfigMaps: - name: dagster-oso-extra-env + postRenderers: + - kustomize: + patches: + - path: ./daemon-init-container.yaml + target: + kind: Deployment + - path: ./webserver-init-container.yaml + target: + kind: Deployment diff --git a/ops/k8s-apps/base/dagster/kustomization.yaml b/ops/k8s-apps/base/dagster/kustomization.yaml index 648681e19..e537137bd 100644 --- a/ops/k8s-apps/base/dagster/kustomization.yaml +++ b/ops/k8s-apps/base/dagster/kustomization.yaml @@ -3,7 +3,7 @@ kind: Kustomization namespace: base-dagster resources: - dagster.yaml -# - proxy.yaml + - proxy.yaml # patchesStrategicMerge: # - ./daemon-init-container.yaml # - ./webserver-init-container.yaml \ No newline at end of file