mirror of
https://github.com/bitnami/charts.git
synced 2026-03-03 06:58:45 +08:00
[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:
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user