Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nextcloud.initLock to set NEXTCLOUD_INIT_LOCK #343

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ The following table lists the configurable parameters of the nextcloud chart and
| `nextcloud.existingSecret.smtpUsernameKey` | Name of the key that contains the SMTP username | `nil` |
| `nextcloud.existingSecret.smtpPasswordKey` | Name of the key that contains the SMTP password | `nil` |
| `nextcloud.update` | Trigger update if custom command is used | `0` |
| `nextcloud.initLock` | Use a lock while updating the html volume, so other containers will wait | `false` |
| `nextcloud.containerPort` | Customize container port when not running as root | `80` |
| `nextcloud.datadir` | nextcloud data dir location | `/var/www/html/data` |
| `nextcloud.mail.enabled` | Whether to enable/disable email settings | `false` |
Expand Down
4 changes: 4 additions & 0 deletions charts/nextcloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ Create environment variables used to configure the nextcloud container as well a
- name: NEXTCLOUD_UPDATE
value: {{ .Values.nextcloud.update | quote }}
{{- end }}
{{- if .Values.nextcloud.initLock }}
remram44 marked this conversation as resolved.
Show resolved Hide resolved
- name: NEXTCLOUD_INIT_LOCK
value: "true"
{{- end }}
- name: NEXTCLOUD_DATA_DIR
value: {{ .Values.nextcloud.datadir | quote }}
{{- if .Values.nextcloud.mail.enabled }}
Expand Down
1 change: 1 addition & 0 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ nextcloud:
# smtpUsernameKey: smtp_username
# smtpPasswordKey: smtp_password
update: 0
initLock: false
# If web server is not binding default port, you can define it
# containerPort: 8080
datadir: /var/www/html/data
Expand Down