diff --git a/apigateway/helm/Chart.yaml b/apigateway/helm/Chart.yaml index f2a494d..96ea3d2 100644 --- a/apigateway/helm/Chart.yaml +++ b/apigateway/helm/Chart.yaml @@ -33,7 +33,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.12.1 +version: 3.13.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/apigateway/helm/templates/elasticsearch.yaml b/apigateway/helm/templates/elasticsearch.yaml index d9a127d..957c367 100644 --- a/apigateway/helm/templates/elasticsearch.yaml +++ b/apigateway/helm/templates/elasticsearch.yaml @@ -36,6 +36,9 @@ spec: {{- if .Values.elasticsearch.image }} image: {{ .Values.elasticsearch.image }} {{- end }} + {{- if .Values.elasticsearch.volumeClaimDeletePolicy }} + volumeClaimDeletePolicy: { { .Values.elasticsearch.volumeClaimDeletePolicy } } + {{- end }} http: tls: {{- if .Values.elasticsearch.tlsEnabled }} @@ -93,6 +96,9 @@ spec: {{- if not .Values.elasticsearch.defaultNodeSet.memoryMapping }} node.store.allow_mmap: false {{- end }} + { { - with .Values.elasticsearch.defaultNodeSet.extraConfig } } + { { - toYaml . | nindent 8 } } + { { - end } } podTemplate: metadata: labels: diff --git a/apigateway/helm/values.yaml b/apigateway/helm/values.yaml index 878da35..5cd15cf 100644 --- a/apigateway/helm/values.yaml +++ b/apigateway/helm/values.yaml @@ -729,6 +729,10 @@ elasticsearch: # -- Set Pods' Priority Class Name priorityClassName: "" + # -- Volume claim delete policy. Controls when ECK deletes PVCs. + # By default the value is DeleteOnScaledownAndClusterDeletion + volumeClaimDeletePolicy: "" + # -- Node sets. See official ElasticSearch documentation at: # https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-orchestration.html # if you specify node sets here the defaultNodeSet will not be used.