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: ""