From f2739b4727435f2e9362ddacfb0f86bfcf2bd8a2 Mon Sep 17 00:00:00 2001 From: thr Date: Fri, 19 Jul 2024 08:49:17 +0200 Subject: [PATCH] ES PVC storageAnnotations added --- apigateway/helm/templates/elasticsearch.yaml | 4 ++++ apigateway/helm/values.yaml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/apigateway/helm/templates/elasticsearch.yaml b/apigateway/helm/templates/elasticsearch.yaml index 771d9da..f050906 100644 --- a/apigateway/helm/templates/elasticsearch.yaml +++ b/apigateway/helm/templates/elasticsearch.yaml @@ -72,6 +72,10 @@ spec: volumeClaimTemplates: - metadata: name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path. + {{- with .Values.elasticsearch.storageAnnotations }} + annotations: + {{- toYaml . | nindent 12 }} + {{- end }} spec: accessModes: - ReadWriteOnce diff --git a/apigateway/helm/values.yaml b/apigateway/helm/values.yaml index 5469078..164fbb6 100644 --- a/apigateway/helm/values.yaml +++ b/apigateway/helm/values.yaml @@ -532,9 +532,15 @@ elasticsearch: # memory: 128Mi resources: {} + # -- Request size of storage. The default is 1Gi. storage: "" + + # -- Use the storage class. storageClassName: "" + # -- Annotations of PVC storage + storageAnnotations: {} + # -- The secret name that holds the sag es user for API Gateway. secretName: ""