From eb4ec34623896022904a10a941b77e665be26603 Mon Sep 17 00:00:00 2001 From: jebjohns Date: Wed, 18 Jan 2023 03:15:48 +0530 Subject: [PATCH] Fix for volume mount --- charts/quaility-trace/Chart.yaml | 2 +- charts/quaility-trace/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/quaility-trace/Chart.yaml b/charts/quaility-trace/Chart.yaml index 2ba397c2..37c48bf0 100644 --- a/charts/quaility-trace/Chart.yaml +++ b/charts/quaility-trace/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/quaility-trace/templates/deployment.yaml b/charts/quaility-trace/templates/deployment.yaml index 374f686c..140aa852 100644 --- a/charts/quaility-trace/templates/deployment.yaml +++ b/charts/quaility-trace/templates/deployment.yaml @@ -38,15 +38,15 @@ spec: containerPort: 8080 protocol: TCP volumeMounts: - - name: "{{ include "quaility-trace.fullname" . }}-config" + - name: {{ include "quaility-trace.fullname" . }}-config mountPath: "/config.yaml" resources: {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} volumes: - name: {{ include "quaility-trace.fullname" . }}-config configMap: name: {{ include "quaility-trace.fullname" . }} + {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }}