fix(helm): wrong savepoint path config when storage-type is filesystem

This commit is contained in:
2025-07-18 18:12:21 +03:30
parent d73292ac54
commit 5ca1c28b33
7 changed files with 28 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
{{- if or (eq .Values.flink.state.checkpoint.storageType "s3") (eq .Values.flink.state.savepoint.storageType "s3") }}
- name: S3_ENDPOINT
value: "http://minio-service:9000"
- name: AWS_ACCESS_KEY_ID
@@ -61,6 +62,7 @@ spec:
secretKeyRef:
name: {{ .Release.Name }}-flink-secrets
key: minio_secret_key
{{- end }}
volumeMounts:
- name: flink-ha
mountPath: {{ .Values.flink.state.ha.dir }}
@@ -70,7 +72,7 @@ spec:
{{- end }}
{{- if eq .Values.flink.state.savepoint.storageType "filesystem" }}
- name: flink-savepoint
mountPath: /opt/flink/savepoint
mountPath: /opt/flink/savepoints
{{- end }}
volumes:
- name: flink-ha