Skip to content

Commit

Permalink
add mariadb image.registry fallback to docker.io and update docs for …
Browse files Browse the repository at this point in the history
…mariadb.image parameters (#495)

* add mariadb image.registry fallback to docker.io and update docs for mariadb.image parameters

Signed-off-by: jessebot <[email protected]>

* don't hardcode the mariadb image tag because it would be hard to keep up to date

Signed-off-by: jessebot <[email protected]>

---------

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot authored Dec 15, 2023
1 parent f46483b commit 3e81585
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 4.5.6
version: 4.5.7
appVersion: 27.1.4
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ If you choose to use one of the prepackaged Bitnami helm charts, you must config
| `mariadb.auth.password` | Password for the database | `changeme` |
| `mariadb.auth.rootPassword` | MariaDB admin password | `nil` |
| `mariadb.auth.existingSecret` | Use existing secret for MariaDB password details; see values.yaml for more detail | `''` |
| `mariadb.image.registry` | MariaDB image registry | `docker.io` |
| `mariadb.image.repository` | MariaDB image repository | `bitnami/mariadb` |
| `mariadb.image.tag` | MariaDB image tag | `` |
| `mariadb.primary.persistence.enabled` | Whether or not to Use a PVC on MariaDB primary | `false` |
| `mariadb.primary.persistence.existingClaim` | Use an existing PVC for MariaDB primary | `nil` |
| `postgresql.enabled` | Whether to use the PostgreSQL chart | `false` |
Expand Down
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ spec:
{{- end }}
{{- if .Values.mariadb.enabled }}
- name: mariadb-isalive
image: {{ .Values.mariadb.image.registry }}/{{ .Values.mariadb.image.repository }}:{{ .Values.mariadb.image.tag }}
image: {{ .Values.mariadb.image.registry | default "docker.io" }}/{{ .Values.mariadb.image.repository }}:{{ .Values.mariadb.image.tag }}
env:
- name: MYSQL_USER
valueFrom:
Expand Down

0 comments on commit 3e81585

Please sign in to comment.