diff --git a/charts/flipt/Chart.yaml b/charts/flipt/Chart.yaml index a072fa0..dedf76f 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.73.0 +version: 0.73.1 appVersion: v1.51.1 maintainers: - name: Flipt diff --git a/charts/flipt/templates/migration_job.yaml b/charts/flipt/templates/migration_job.yaml index 29972d4..8a48097 100644 --- a/charts/flipt/templates/migration_job.yaml +++ b/charts/flipt/templates/migration_job.yaml @@ -51,6 +51,8 @@ spec: mountPath: /etc/flipt/config/default.yml readOnly: true subPath: default.yml + - name: flipt-data + mountPath: /var/opt/flipt resources: {{- toYaml .Values.resources | nindent 12 }} volumes: @@ -59,6 +61,13 @@ spec: - name: flipt-config configMap: name: {{ include "flipt.fullname" . }} + - name: flipt-data + {{- if .Values.persistence.enabled }} + persistentVolumeClaim: + claimName: {{ default (include "flipt.fullname" .) .Values.persistence.existingClaim }} + {{- else }} + emptyDir: { } + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}