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 9441b114 [FLINK-30577] Mount artifacts dir in helm template
9441b114 is described below
commit 9441b1145ba05845e15b26b517d9b9f0732c9c1e
Author: Tony Garrard <[email protected]>
AuthorDate: Mon Jan 30 09:06:31 2023 +0000
[FLINK-30577] Mount artifacts dir in helm template
---
helm/flink-kubernetes-operator/templates/flink-operator.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/helm/flink-kubernetes-operator/templates/flink-operator.yaml
b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
index f8da1543..103f06ce 100644
--- a/helm/flink-kubernetes-operator/templates/flink-operator.yaml
+++ b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
@@ -101,6 +101,8 @@ 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 }}
{{- end }}
@@ -193,6 +195,8 @@ spec:
- key: keystore.p12
path: keystore.p12
{{- end }}
+ - name: flink-artifacts-volume
+ emptyDir: {}
---
{{- if .Values.defaultConfiguration.create }}
apiVersion: v1