This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new b540703e [hotfix][helm] Enable operatorVolumeMounts mountPath repeat
b540703e is described below
commit b540703ea218e04ca9b338112a30efce8a9f4827
Author: llussy <[email protected]>
AuthorDate: Tue May 30 14:50:26 2023 +0800
[hotfix][helm] Enable operatorVolumeMounts mountPath repeat
---
helm/flink-kubernetes-operator/templates/flink-operator.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/helm/flink-kubernetes-operator/templates/flink-operator.yaml
b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
index dabfd8cd..ba77e999 100644
--- a/helm/flink-kubernetes-operator/templates/flink-operator.yaml
+++ b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
@@ -121,10 +121,11 @@ spec:
volumeMounts:
- name: flink-operator-config-volume
mountPath: /opt/flink/conf
- - name: flink-artifacts-volume
- mountPath: /opt/flink/artifacts
{{- if .Values.operatorVolumeMounts.create }}
{{- toYaml .Values.operatorVolumeMounts.data | nindent 12 }}
+ {{- else }}
+ - name: flink-artifacts-volume
+ mountPath: /opt/flink/artifacts
{{- end }}
{{- if and (index .Values "operatorHealth") (index
.Values.operatorHealth "livenessProbe") }}
livenessProbe:
@@ -208,6 +209,9 @@ spec:
path: log4j-console.properties
{{- if .Values.operatorVolumes.create }}
{{- toYaml .Values.operatorVolumes.data | nindent 8 }}
+ {{- else }}
+ - name: flink-artifacts-volume
+ emptyDir: {}
{{- end }}
{{- if eq (include "flink-operator.webhook-enabled" .) "true" }}
- name: keystore
@@ -217,8 +221,6 @@ spec:
- key: keystore.p12
path: keystore.p12
{{- end }}
- - name: flink-artifacts-volume
- emptyDir: {}
---
{{- if .Values.defaultConfiguration.create }}
apiVersion: v1