[bitnami/dremio] Rename usePasswordFile as usePasswordFiles and set 'true' by default (#32105)

* [bitnami/dremio] Set `usePasswordFiles=true` by default

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>

* Update CHANGELOG.md

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

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

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

* Fix typo

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>

* Update CHANGELOG.md

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

---------

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Miguel Ruiz
2025-02-24 14:53:40 +01:00
committed by GitHub
parent d9a4702bfd
commit 6a11d699c5
10 changed files with 24 additions and 21 deletions

View File

@@ -63,7 +63,6 @@ dremio:
firstName: VIBFIRST
lastName: VIBNAME
email: vib_email@example.com
usePasswordFile: true
service:
type: LoadBalancer
ports:

View File

@@ -1,8 +1,12 @@
# Changelog
## 0.6.0 (2025-02-21)
* [bitnami/dremio] Rename `usePasswordFile` as `usePasswordFiles` and set 'true' by default ([#32105](https://github.com/bitnami/charts/pull/32105))
## 0.5.0 (2025-02-20)
* [bitnami/dremio] feat: use new helper for checking API versions ([#32048](https://github.com/bitnami/charts/pull/32048))
* [bitnami/dremio] feat: use new helper for checking API versions (#32048) ([3c3abd5](https://github.com/bitnami/charts/commit/3c3abd5f99cd1ad0c50a55e2bb63819d14672374)), closes [#32048](https://github.com/bitnami/charts/issues/32048)
## <small>0.4.1 (2025-02-19)</small>

View File

@@ -41,4 +41,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/dremio
- https://github.com/bitnami/containers/tree/main/bitnami/dremio
- https://github.com/dremio/dremio-oss
version: 0.5.0
version: 0.6.0

View File

@@ -567,7 +567,7 @@ There are cases where you may want to deploy extra objects, such a ConfigMap con
| `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"]` |
| `usePasswordFile` | Mount secrets as files | `true` |
| `usePasswordFiles` | Mount secrets as files | `true` |
### Dremio common configuration settings

View File

@@ -22,7 +22,7 @@ Init container definition for generating the configuration
- -ec
- |
set -e
{{- if .context.Values.usePasswordFile }}
{{- if .context.Values.usePasswordFiles }}
# We need to load all the secret env vars to the system
for file in $(find /bitnami/dremio/secrets -type f); do
env_var_name="$(basename $file)"
@@ -49,7 +49,7 @@ Init container definition for generating the configuration
env:
- name: BITNAMI_DEBUG
value: {{ ternary "true" "false" (or .context.Values.dremio.image.debug .context.Values.diagnosticMode.enabled) | quote }}
{{- if not .context.Values.usePasswordFile }}
{{- if not .context.Values.usePasswordFiles }}
{{- if or .context.Values.dremio.tls.passwordSecret .context.Values.dremio.tls.password .context.Values.dremio.tls.autoGenerated.enabled .context.Values.dremio.tls.usePemCerts }}
- name: DREMIO_KEYSTORE_PASSWORD
valueFrom:
@@ -101,7 +101,7 @@ Init container definition for generating the configuration
- name: empty-dir
mountPath: /bitnami/dremio/rendered-conf
subPath: app-conf-dir
{{- if .context.Values.usePasswordFile }}
{{- if .context.Values.usePasswordFiles }}
{{- if or .context.Values.dremio.tls.passwordSecret .context.Values.dremio.tls.password .context.Values.dremio.tls.autoGenerated.enabled .context.Values.dremio.tls.usePemCerts }}
- name: keystore-password
mountPath: /bitnami/dremio/secrets/keystore-password
@@ -235,7 +235,7 @@ Init container definition for waiting for the database to be ready
- -ec
- |
set -e
{{- if .context.Values.usePasswordFile }}
{{- if .context.Values.usePasswordFiles }}
# We need to load all the secret env vars to the system
for file in $(find /bitnami/dremio/secrets -type f); do
env_var_name="$(basename $file)"
@@ -268,7 +268,7 @@ Init container definition for waiting for the database to be ready
fi
{{- end }}
env:
{{- if not .Values.usePasswordFile }}
{{- if not .Values.usePasswordFiles }}
{{- if or .Values.dremio.tls.passwordSecret .Values.dremio.tls.password .Values.dremio.tls.autoGenerated.enabled .Values.dremio.tls.usePemCerts }}
- name: DREMIO_KEYSTORE_PASSWORD
valueFrom:
@@ -286,7 +286,7 @@ Init container definition for waiting for the database to be ready
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
{{- if or .Values.dremio.tls.passwordSecret .Values.dremio.tls.password .Values.dremio.tls.autoGenerated.enabled .Values.dremio.tls.usePemCerts }}
- name: keystore-password
mountPath: /bitnami/dremio/secrets/keystore-password
@@ -491,4 +491,4 @@ Init container definition for waiting for the database to be ready
echo "Connection success"
exit 0
{{- end -}}
{{- end -}}

View File

@@ -52,7 +52,7 @@ spec:
args:
- |
set -e
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
# We need to load all the secret env vars to the system
for file in $(find /bitnami/dremio/secrets -type f); do
env_var_name="$(basename $file)"
@@ -73,7 +73,7 @@ spec:
{{- end }}
echo "Initialization finished"
env:
{{- if not .Values.usePasswordFile }}
{{- if not .Values.usePasswordFiles }}
- name: DREMIO_PASSWORD
valueFrom:
secretKeyRef:
@@ -107,7 +107,7 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
- name: password
mountPath: /bitnami/dremio/secrets/password
{{- end }}
@@ -122,7 +122,7 @@ spec:
volumes:
- name: empty-dir
emptyDir: {}
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
- name: password
secret:
secretName: {{ include "dremio.auth.secretName" . }}

View File

@@ -303,7 +303,7 @@ spec:
volumes:
- name: empty-dir
emptyDir: {}
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
{{- if or .Values.dremio.tls.passwordSecret .Values.dremio.tls.password .Values.dremio.tls.autoGenerated.enabled .Values.dremio.tls.usePemCerts }}
- name: keystore-password
secret:

View File

@@ -343,7 +343,7 @@ spec:
- name: data
emptyDir: {}
{{- end }}
{{- if $.Values.usePasswordFile }}
{{- if $.Values.usePasswordFiles }}
{{- if or $.Values.dremio.tls.passwordSecret $.Values.dremio.tls.password $.Values.dremio.tls.autoGenerated.enabled $.Values.dremio.tls.usePemCerts }}
- name: keystore-password
secret:
@@ -393,4 +393,4 @@ spec:
{{- end }}
{{- include "common.storage.class" (dict "persistence" $executorValues.persistence "global" $.Values.global) | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -307,7 +307,7 @@ spec:
- name: input-dremio-conf-cm
configMap:
name: {{ include "dremio.master-coordinator.dremio-conf.configmapName" . }}
{{- if .Values.usePasswordFile }}
{{- if .Values.usePasswordFiles }}
{{- if or .Values.dremio.tls.passwordSecret .Values.dremio.tls.password .Values.dremio.tls.autoGenerated.enabled .Values.dremio.tls.usePemCerts }}
- name: keystore-password
secret:

View File

@@ -78,9 +78,9 @@ diagnosticMode:
args:
- infinity
## @param usePasswordFile Mount secrets as files
## @param usePasswordFiles Mount secrets as files
##
usePasswordFile: true
usePasswordFiles: true
## @section Dremio common configuration settings
##