From caf7cea8bb9ae028b99c53218823fb2176bb4170 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Mon, 19 Sep 2022 15:28:59 -0400 Subject: [PATCH] Fix configmap to put in correct place on pod (#9) --- charts/flipt/Chart.yaml | 2 +- charts/flipt/templates/configmap.yaml | 2 +- charts/flipt/templates/deployment.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/flipt/Chart.yaml b/charts/flipt/Chart.yaml index 2618466..9628363 100644 --- a/charts/flipt/Chart.yaml +++ b/charts/flipt/Chart.yaml @@ -3,7 +3,7 @@ name: flipt home: https://flipt.io description: Flipt is an open source, self-hosted feature flag solution. type: application -version: 0.8.0 +version: 0.9.0 appVersion: "v1.11.0" maintainers: - name: Flipt diff --git a/charts/flipt/templates/configmap.yaml b/charts/flipt/templates/configmap.yaml index 7ade89a..9167213 100644 --- a/charts/flipt/templates/configmap.yaml +++ b/charts/flipt/templates/configmap.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "flipt.labels" . | nindent 4 }} data: - config.yml: | + default.yml: | log: level: WARN diff --git a/charts/flipt/templates/deployment.yaml b/charts/flipt/templates/deployment.yaml index e3b1f24..1c8a063 100644 --- a/charts/flipt/templates/deployment.yaml +++ b/charts/flipt/templates/deployment.yaml @@ -42,8 +42,9 @@ spec: protocol: TCP volumeMounts: - name: flipt-config - mountPath: /etc/flipt/config.yml + mountPath: /etc/flipt/config/default.yml readOnly: true + subPath: default.yml - name: flipt-data mountPath: /var/opt/flipt {{- if .Values.persistence.subPath }}