Skip to content

Commit

Permalink
Add possibility to configure custom dnsConfig on the nextcloud images.
Browse files Browse the repository at this point in the history
  • Loading branch information
nliechti committed Jul 23, 2024
1 parent 34a2fa4 commit c0889c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ The following table lists the configurable parameters of the nextcloud chart and
| `deploymentAnnotations` | Annotations to be added at 'deployment' level | not set |
| `podLabels` | Labels to be added at 'pod' level | not set |
| `podAnnotations` | Annotations to be added at 'pod' level | not set |
| `dnsConfig` | Custom dnsConfig for nextcloud containers | `{}` |


### Database Configurations
Expand Down
4 changes: 4 additions & 0 deletions charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,7 @@ spec:
{{- if .Values.rbac.enabled }}
serviceAccountName: {{ .Values.rbac.serviceaccount.name }}
{{- end }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,12 @@ tolerations: []

affinity: {}

dnsConfig: {}
# Custom dns config for Nextcloud containers.
# You can for example configure ndots. This may be needed in some clusters with alpine images.
# options:
# - name: ndots
# value: "1"

## Prometheus Exporter / Metrics
##
Expand Down

0 comments on commit c0889c5

Please sign in to comment.