Skip to content

Commit

Permalink
[bitnami/janusgraph] Set usePasswordFiles=true by default (bitnami#…
Browse files Browse the repository at this point in the history
…32107)

* [bitnami/janusgraph] 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>

* Use new storage env var

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

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.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>
  • Loading branch information
migruiz4 and bitnami-bot authored Feb 24, 2025
1 parent 6a11d69 commit 8850cf3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
8 changes: 6 additions & 2 deletions bitnami/janusgraph/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 1.3.1 (2025-02-24)
## 1.4.0 (2025-02-24)

* [bitnami/janusgraph] Release 1.3.1 ([#32140](https://github.com/bitnami/charts/pull/32140))
* [bitnami/janusgraph] Set `usePasswordFiles=true` by default ([#32107](https://github.com/bitnami/charts/pull/32107))

## <small>1.3.1 (2025-02-24)</small>

* [bitnami/janusgraph] Release 1.3.1 (#32140) ([8cef05e](https://github.com/bitnami/charts/commit/8cef05e10f079ed402adba00a2f849ad472721a9)), closes [#32140](https://github.com/bitnami/charts/issues/32140)

## 1.3.0 (2025-02-20)

Expand Down
2 changes: 1 addition & 1 deletion bitnami/janusgraph/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/janusgraph
- https://github.com/bitnami/containers/tree/main/bitnami/janusgraph
- https://github.com/janusgraph/janusgraph
version: 1.3.1
version: 1.4.0
2 changes: 1 addition & 1 deletion bitnami/janusgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `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 deployment | `["sleep"]` |
| `diagnosticMode.args` | Args to override all containers in the deployment | `["infinity"]` |
| `storageBackend.usePasswordFiles` | Mount credentials as a files instead of using an environment variable | `false` |
| `storageBackend.usePasswordFiles` | Mount credentials as a files instead of using an environment variable | `true` |
| `storageBackend.cassandra.enabled` | Use Apache Casandra subchart as storage backend | `true` |
| `storageBackend.berkeleyje.enabled` | Use BerkeleyDB (local) as storage backend | `false` |
| `storageBackend.berkeleyje.directory` | Path for the BerkeleyDB data | `/bitnami/janusgraph/data/storage` |
Expand Down
4 changes: 2 additions & 2 deletions bitnami/janusgraph/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ Return the wait-for-storage init container
- name: JANUSGRAPH_CFG_STORAGE_USERNAME
value: {{ include "janusgraph.storage.username" . | quote }}
{{- if .Values.storageBackend.usePasswordFiles }}
- name: JANUSGRAPH_CFG_STORAGE_PASSWORD_FILE
- name: JANUSGRAPH_STORAGE_PASSWORD_FILE
value: {{ printf "/opt/bitnami/janusgraph/secrets/%s" (include "janusgraph.storage.password.secretKey" .) }}
{{- else }}
- name: JANUSGRAPH_CFG_STORAGE_PASSWORD
- name: JANUSGRAPH_STORAGE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "janusgraph.storage.password.secretName" . }}
Expand Down
4 changes: 2 additions & 2 deletions bitnami/janusgraph/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ spec:
- name: JANUSGRAPH_CFG_STORAGE_USERNAME
value: {{ include "janusgraph.storage.username" . | quote }}
{{- if .Values.storageBackend.usePasswordFiles }}
- name: JANUSGRAPH_CFG_STORAGE_PASSWORD_FILE
- name: JANUSGRAPH_STORAGE_PASSWORD_FILE
value: {{ printf "/opt/bitnami/janusgraph/secrets/%s" (include "janusgraph.storage.password.secretKey" .) }}
{{- else }}
- name: JANUSGRAPH_CFG_STORAGE_PASSWORD
- name: JANUSGRAPH_STORAGE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "janusgraph.storage.password.secretName" . }}
Expand Down
2 changes: 1 addition & 1 deletion bitnami/janusgraph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ storageBackend:
## @param storageBackend.usePasswordFiles Mount credentials as a files instead of using an environment variable
## Note: ignored when backend does not require authentication
##
usePasswordFiles: false
usePasswordFiles: true
## Cassandra storage backend
##
cassandra:
Expand Down

0 comments on commit 8850cf3

Please sign in to comment.