diff --git a/charts/json-server/Chart.yaml b/charts/json-server/Chart.yaml index f2fc734..77a8232 100644 --- a/charts/json-server/Chart.yaml +++ b/charts/json-server/Chart.yaml @@ -15,10 +15,10 @@ 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: v0.2.1 +version: v0.2.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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.2.1" +appVersion: "v0.2.2" diff --git a/charts/json-server/templates/deployment.yaml b/charts/json-server/templates/deployment.yaml index 7d9363d..25893bf 100644 --- a/charts/json-server/templates/deployment.yaml +++ b/charts/json-server/templates/deployment.yaml @@ -46,8 +46,9 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - - mountPath: /data/db.json - name: {{ .Release.Name }}-configmap + - name: {{ .Release.Name }}-configmap + mountPath: /data/db.json + subPath: db.json volumes: - name: {{ .Release.Name }}-configmap configMap: