diff --git a/charts/addok/Chart.yaml b/charts/addok/Chart.yaml index 0f178a1..fcf35d1 100644 --- a/charts/addok/Chart.yaml +++ b/charts/addok/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.4 +version: 0.1.5 # 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/addok/templates/deployment.yaml b/charts/addok/templates/deployment.yaml index 603d914..8b5503d 100644 --- a/charts/addok/templates/deployment.yaml +++ b/charts/addok/templates/deployment.yaml @@ -27,7 +27,7 @@ spec: items: - key: addok.conf path: addok.conf - {{- toYaml .Values.volumes.dataVolume | nindent 8 }} + {{- toYaml .Values.volumes.addokDataVolume | nindent 8 }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} diff --git a/charts/addok/templates/redis-deployment.yaml b/charts/addok/templates/redis-deployment.yaml index 4f933cd..7363c4a 100644 --- a/charts/addok/templates/redis-deployment.yaml +++ b/charts/addok/templates/redis-deployment.yaml @@ -11,7 +11,7 @@ spec: labels: {{- include "addok.redis.selectorLabels" . | nindent 8 }} spec: volumes: - {{- toYaml .Values.volumes.dataVolume | nindent 8 }} + {{- toYaml .Values.volumes.redisDataVolume | nindent 8 }} {{- if .Values.redis.init.enabled }} initContainers: - name: download-data diff --git a/charts/addok/values.yaml b/charts/addok/values.yaml index c4e44b3..e1ee091 100644 --- a/charts/addok/values.yaml +++ b/charts/addok/values.yaml @@ -147,6 +147,9 @@ tolerations: [] affinity: {} volumes: - dataVolume: + addokDataVolume: + - name: data + emptyDir: {} + redisDataVolume: - name: data emptyDir: {}