Skip to content

Commit

Permalink
ES PVC storageAnnotations added
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Jul 19, 2024
1 parent e97ab76 commit f2739b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apigateway/helm/templates/elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions apigateway/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""

Expand Down

0 comments on commit f2739b4

Please sign in to comment.