feat(helm): add filesystem savepoint storage mode

This commit is contained in:
2025-05-17 13:02:24 +03:30
parent 89647f3b5b
commit 83c4b5ded2
9 changed files with 57 additions and 20 deletions

View File

@@ -68,6 +68,10 @@ spec:
- name: flink-checkpoint
mountPath: /opt/flink/checkpoints
{{- end }}
{{- if eq .Values.flink.state.savepoint.storageType "filesystem" }}
- name: flink-savepoint
mountPath: /opt/flink/savepoint
{{- end }}
volumes:
- name: flink-ha
persistentVolumeClaim:
@@ -77,6 +81,11 @@ spec:
persistentVolumeClaim:
claimName: {{ .Release.Name }}-flink-checkpoint-pvc
{{- end }}
{{- if eq .Values.flink.state.savepoint.storageType "filesystem" }}
- name: flink-savepoint
persistentVolumeClaim:
claimName: {{ .Release.Name }}-flink-savepoint-pvc
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}