[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:
Guido Wischrop (mgm tp)
2022-12-14 10:19:51 +01:00
committed by GitHub
co-authored by Bitnami Containers
parent 634194e9b4
commit 4d04a81998
4 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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 | `{}` |
+5
View File
@@ -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'
+11
View File
@@ -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.