Fix volume mount
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-05-10 13:16:37 +02:00
parent bdf833df28
commit 44add4ee72
2 changed files with 5 additions and 4 deletions

View File

@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v0.2.1 version: v0.2.2
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using. # follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes. # It is recommended to use it with quotes.
appVersion: "v0.2.1" appVersion: "v0.2.2"

View File

@ -46,8 +46,9 @@ spec:
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumeMounts: volumeMounts:
- mountPath: /data/db.json - name: {{ .Release.Name }}-configmap
name: {{ .Release.Name }}-configmap mountPath: /data/db.json
subPath: db.json
volumes: volumes:
- name: {{ .Release.Name }}-configmap - name: {{ .Release.Name }}-configmap
configMap: configMap: