mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-08 21:01:43 +10:00
[bitnami/solr] Add subPath and subPathExpr (#13742)
* Add subPath and subPathExpr Signed-off-by: mgmgwi <guido.wischrop@mgm-tp.com> * Bump version Signed-off-by: mgmgwi <guido.wischrop@mgm-tp.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: mgmgwi <guido.wischrop@mgm-tp.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
co-authored by
Bitnami Containers
parent
634194e9b4
commit
4d04a81998
@@ -27,4 +27,4 @@ name: solr
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/solr
|
||||
- https://lucene.apache.org/solr/
|
||||
version: 7.0.1
|
||||
version: 7.1.0
|
||||
|
||||
@@ -213,6 +213,8 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `persistence.size` | Size of data volume | `8Gi` |
|
||||
| `persistence.annotations` | Persistence annotations for Solr | `{}` |
|
||||
| `persistence.mountPath` | Persistence mount path for Solr | `/bitnami/solr` |
|
||||
| `persistence.subPath` | Path within the volume from which the container's | `""` |
|
||||
| `persistence.subPathExpr` | Expanded path within the volume from which | `""` |
|
||||
| `persistence.selector` | Selector to match an existing Persistent Volume for WordPress data PVC | `{}` |
|
||||
|
||||
|
||||
|
||||
@@ -341,6 +341,11 @@ spec:
|
||||
subPath: setup.sh
|
||||
- name: data
|
||||
mountPath: {{ .Values.persistence.mountPath }}
|
||||
{{- if .Values.persistence.subPath }}
|
||||
subPath: {{ .Values.persistence.subPath }}
|
||||
{{- else if .Values.persistence.subPathExpr }}
|
||||
subPathExpr: {{ .Values.persistence.subPathExpr }}
|
||||
{{- end }}
|
||||
{{- if .Values.tls.enabled }}
|
||||
- name: shared-certs
|
||||
mountPath: '/opt/bitnami/solr/certs'
|
||||
|
||||
@@ -552,6 +552,17 @@ persistence:
|
||||
## @param persistence.mountPath Persistence mount path for Solr
|
||||
##
|
||||
mountPath: /bitnami/solr
|
||||
## @param persistence.subPath Path within the volume from which the container's
|
||||
## volume should be mounted. Defaults to "" (volume's root).
|
||||
##
|
||||
subPath: ""
|
||||
## @param persistence.subPathExpr Expanded path within the volume from which
|
||||
## the container's volume should be mounted. Behaves similarly to SubPath but
|
||||
## environment variable references $(VAR_NAME) are expanded using the
|
||||
## container's environment. Defaults to "" (volume's root).
|
||||
## SubPathExpr and SubPath are mutually exclusive.
|
||||
##
|
||||
subPathExpr: ""
|
||||
## @param persistence.selector Selector to match an existing Persistent Volume for WordPress data PVC
|
||||
## If set, the PVC can't have a PV dynamically provisioned for it
|
||||
## E.g.
|
||||
|
||||
Reference in New Issue
Block a user