[bitnami/elasticsearch] allow existing claims in master and data (#2881)

* allow existing claims in master and data

* version bump requested by linter

* wrong version

* silly me, does need a bump

* version changes

* requested fixes

* documentation
This commit is contained in:
David Berkman
2020-06-25 11:07:38 -07:00
committed by GitHub
parent 7d34d04f2b
commit 94910e836d
6 changed files with 31 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: elasticsearch
version: 12.3.6
version: 12.4.0
appVersion: 7.8.0
description: A highly scalable open-source full-text search and analytics engine
keywords:

View File

@@ -91,6 +91,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
| `master.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
| `master.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `master.persistence.storageClass` | Persistent Volume Storage Class | `` |
| `master.persistence.existingClaim` | Existing Persistent Volume Claim | `nil` |
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
| `master.persistence.size` | Persistent Volume Size | `8Gi` |
| `master.securityContext.enabled` | Enable security context for master-eligible pods | `true` |
@@ -146,6 +147,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
| `data.resources` | CPU/Memory resource requests/limits for data nodes | `requests: { cpu: "25m", memory: "2048Mi" }` |
| `data.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
| `data.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `data.persistence.existingClaim` | Existing Persistent Volume Claim | `nil` |
| `data.persistence.storageClass` | Persistent Volume Storage Class | `` |
| `data.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
| `data.persistence.size` | Persistent Volume Size | `8Gi` |

View File

@@ -216,6 +216,10 @@ spec:
{{- if not .Values.data.persistence.enabled }}
- name: "data"
emptyDir: {}
{{- else if .Values.data.persistence.existingClaim }}
- name: "data"
persistentVolumeClaim:
claimName: {{ .Values.data.persistence.existingClaim }}
{{- else }}
volumeClaimTemplates:
- metadata:

View File

@@ -219,6 +219,10 @@ spec:
{{- if not .Values.master.persistence.enabled }}
- name: "data"
emptyDir: {}
{{- else if .Values.master.persistence.existingClaim }}
- name: "data"
persistentVolumeClaim:
claimName: {{ .Values.master.persistence.existingClaim }}
{{- else }}
volumeClaimTemplates:
- metadata:

View File

@@ -251,6 +251,11 @@ master:
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## If persistence is enable, and this value is defined,
## then accept the value as an existing Persistent Volume Claim to which
## the container should be bound
##
# existingClaim: my-persistent-volume-claim
## Persistent Volume Claim annotations
##
annotations: {}
@@ -481,6 +486,11 @@ data:
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## If persistence is enable, and this value is defined,
## then accept the value as an existing Persistent Volume Claim to which
## the container should be bound
##
# existingClaim: my-persistent-volume-claim
## Persistent Volume Claim annotations
##
annotations: {}

View File

@@ -251,6 +251,11 @@ master:
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## If persistence is enable, and this value is defined,
## then accept the value as an existing Persistent Volume Claim to which
## the container should be bound
##
# existingClaim: my-persistent-volume-claim
## Persistent Volume Claim annotations
##
annotations: {}
@@ -481,6 +486,11 @@ data:
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## If persistence is enable, and this value is defined,
## then accept the value as an existing Persistent Volume Claim to which
## the container should be bound
##
# existingClaim: my-persistent-volume-claim
## Persistent Volume Claim annotations
##
annotations: {}