mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:27:38 +08:00
[bitnami/neo4j] Set usePasswordFiles=true by default (#32706)
* [bitnami/neo4j] Set `usePasswordFiles=true` by default Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Fix typo Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> --------- Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 0.3.5 (2025-04-02)
|
||||
## 0.4.0 (2025-04-04)
|
||||
|
||||
* [bitnami/neo4j] Release 0.3.5 ([#32775](https://github.com/bitnami/charts/pull/32775))
|
||||
* [bitnami/neo4j] Set `usePasswordFiles=true` by default ([#32706](https://github.com/bitnami/charts/pull/32706))
|
||||
|
||||
## <small>0.3.5 (2025-04-02)</small>
|
||||
|
||||
* [bitnami/neo4j] Release 0.3.5 (#32775) ([d3164a4](https://github.com/bitnami/charts/commit/d3164a467066be2db9c8925e64fc1b1d2c9bc839)), closes [#32775](https://github.com/bitnami/charts/issues/32775)
|
||||
|
||||
## <small>0.3.4 (2025-04-02)</small>
|
||||
|
||||
|
||||
@@ -36,4 +36,4 @@ sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/neo4j
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/neo4j
|
||||
- https://github.com/neo4j/neo4j
|
||||
version: 0.3.5
|
||||
version: 0.4.0
|
||||
|
||||
@@ -200,6 +200,7 @@ If you encounter errors when working with persistent volumes, refer to our [trou
|
||||
| `commonAnnotations` | Annotations to add to all deployed objects | `{}` |
|
||||
| `clusterDomain` | Kubernetes cluster domain name | `cluster.local` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
|
||||
| `usePasswordFiles` | Mount credentials as files instead of using environment variables | `true` |
|
||||
| `diagnosticMode.enabled` | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | `false` |
|
||||
| `diagnosticMode.command` | Command to override all containers in the chart release | `["sleep"]` |
|
||||
| `diagnosticMode.args` | Args to override all containers in the chart release | `["infinity"]` |
|
||||
|
||||
@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- if .Values.rbac.create -}}
|
||||
{{- if .Values.rbac.create }}
|
||||
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
@@ -22,4 +22,4 @@ subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "neo4j.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
|
||||
@@ -129,11 +129,16 @@ spec:
|
||||
value: {{ .Values.service.ports.bolt | quote }}
|
||||
- name: NEO4J_HTTP_ADVERTISED_PORT_NUMBER
|
||||
value: {{ .Values.service.ports.http | quote }}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: NEO4J_PASSWORD_FILE
|
||||
value: "/opt/bitnami/neo4j/secrets/password"
|
||||
{{- else }}
|
||||
- name: NEO4J_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "neo4j.secretName" . }}
|
||||
key: password
|
||||
{{- end }}
|
||||
{{- if (include "neo4j.tls.bolt.enabled" .) }}
|
||||
- name: NEO4J_BOLT_TLS_LEVEL
|
||||
value: {{ upper .Values.tls.bolt.level | quote }}
|
||||
@@ -223,6 +228,10 @@ spec:
|
||||
- name: empty-dir
|
||||
mountPath: /opt/bitnami/neo4j/run
|
||||
subPath: app-run-dir
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: neo4j-secrets
|
||||
mountPath: /opt/bitnami/neo4j/secrets
|
||||
{{- end }}
|
||||
{{- if or .Values.existingConfigmap .Values.configuration .Values.apocConfiguration }}
|
||||
- name: config-dir
|
||||
mountPath: /bitnami/neo4j/conf
|
||||
@@ -250,6 +259,13 @@ spec:
|
||||
volumes:
|
||||
- name: empty-dir
|
||||
emptyDir: {}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: neo4j-secrets
|
||||
projected:
|
||||
sources:
|
||||
- secret:
|
||||
name: {{ include "neo4j.secretName" . }}
|
||||
{{- end }}
|
||||
- name: data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -66,6 +66,9 @@ clusterDomain: cluster.local
|
||||
## @param extraDeploy Array of extra objects to deploy with the release
|
||||
##
|
||||
extraDeploy: []
|
||||
## @param usePasswordFiles Mount credentials as files instead of using environment variables
|
||||
##
|
||||
usePasswordFiles: true
|
||||
## Diagnostic mode
|
||||
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
|
||||
## @param diagnosticMode.command Command to override all containers in the chart release
|
||||
|
||||
Reference in New Issue
Block a user