From 7963e19430ed5eb52c81ef8d762c3ff3d1547379 Mon Sep 17 00:00:00 2001 From: David Landry Date: Wed, 4 Sep 2024 15:53:57 -0400 Subject: [PATCH] chore(goff): adjust config file injection --- apps/goff/base/deployment.yaml | 13 ++++--------- apps/goff/base/kustomization.yaml | 6 ++---- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/apps/goff/base/deployment.yaml b/apps/goff/base/deployment.yaml index b7277f7..6e56117 100644 --- a/apps/goff/base/deployment.yaml +++ b/apps/goff/base/deployment.yaml @@ -41,10 +41,8 @@ spec: - --config - /goff/config.yaml volumeMounts: - - name: config - mountPath: /goff/config.yaml - - name: default-flags - mountPath: /goff/default-flags.yaml + - name: configs + mountPath: /goff/ ports: - name: http protocol: TCP @@ -66,12 +64,9 @@ spec: periodSeconds: 10 terminationGracePeriodSeconds: 1200 volumes: - - name: config + - name: configs configMap: - name: goff-relay-config - - name: default-flags - configMap: - name: default-flags + name: goff-configs --- apiVersion: networking.k8s.io/v1 diff --git a/apps/goff/base/kustomization.yaml b/apps/goff/base/kustomization.yaml index 7ceb745..f27bb2e 100644 --- a/apps/goff/base/kustomization.yaml +++ b/apps/goff/base/kustomization.yaml @@ -3,9 +3,7 @@ kind: Kustomization resources: - deployment.yaml configMapGenerator: - - name: goff-relay-config - files: - - relay-config.yaml - - name: default-flags + - name: goff-configs files: + - config.yaml=relay-config.yaml - default-flags.yaml