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

@@ -31,6 +31,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
@@ -43,6 +44,7 @@ spec:
secretKeyRef:
name: {{ .Release.Name }}-flink-secrets
key: minio_secret_key
{{- end }}
volumeMounts:
- name: rocksdb-storage
mountPath: /opt/flink/rocksdb
@@ -52,7 +54,7 @@ spec:
{{- end }}
{{- if eq .Values.flink.state.savepoint.storageType "filesystem" }}
- name: flink-savepoint
mountPath: /opt/flink/savepoint
mountPath: /opt/flink/savepoints
{{- end }}
resources:
{{- toYaml .Values.flink.taskManager.resources | nindent 10 }}