[bitnami/solr] Add support for enableServiceLinks on solr chart (#20319)

* feat: Add support for enableServiceLinks on solr chart

Signed-off-by: Filipe Costa <fjg.costa@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Filipe Costa <fjg.costa@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
FCosta999
2023-10-25 12:29:52 +01:00
committed by GitHub
parent 3ba463ce17
commit 4e46be8e6a
4 changed files with 9 additions and 2 deletions

View File

@@ -34,4 +34,4 @@ maintainers:
name: solr
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/solr
version: 8.1.8
version: 8.2.0

View File

@@ -162,6 +162,7 @@ The command removes all the Kubernetes components associated with the chart and
| `schedulerName` | Kubernetes pod scheduler registry | `""` |
| `updateStrategy.type` | Solr statefulset strategy type | `RollingUpdate` |
| `updateStrategy.rollingUpdate` | Solr statefulset rolling update configuration parameters | `{}` |
| `enableServiceLinks` | Whether information about services should be injected into pod's environment variable | `true` |
| `pdb.create` | Enable a Pod Disruption Budget creation | `false` |
| `pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
@@ -503,4 +504,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

View File

@@ -71,6 +71,7 @@ spec:
{{- if .Values.podSecurityContext.enabled }}
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
enableServiceLinks: {{ .Values.enableServiceLinks }}
initContainers:
{{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }}
- name: volume-permissions

View File

@@ -327,6 +327,11 @@ schedulerName: ""
updateStrategy:
type: RollingUpdate
rollingUpdate: {}
## @param enableServiceLinks Whether information about services should be injected into pod's environment variable
## The environment variables injected by service links are not used, but can lead to slow boot times or slow running of the scripts when there are many services in the current namespace.
## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
##
enableServiceLinks: true
## Solr Pod Disruption Budget configuration
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/