Allow specifying dns options for nextcloud

This commit is contained in:
Waqar Ahmed
2021-05-10 13:23:36 +05:00
parent c95b392aaa
commit 7f5e45c1f9
2 changed files with 31 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ groups:
description: "Configure Postgresql for nextcloud"
- name: "Scaling/Upgrade Policy"
description: "Configure how pods are replaced when configuration is upgraded"
- name: "Advanced DNS Settings"
description: "Configure DNS settings"
portals:
web_portal:
@@ -22,6 +24,34 @@ portals:
- "$variable-service.nodePort"
questions:
- variable: dnsConfig
label: "DNS Configuration"
group: "Advanced DNS Settings"
schema:
type: dict
attrs:
- variable: options
label: "DNS Options"
schema:
type: list
items:
- variable: optionsEntry
label: "Option Entry Configuration"
schema:
type: dict
attrs:
- variable: name
label: "Option Name"
schema:
type: string
required: true
- variable: value
label: "Option Value"
schema:
type: string
required: true
- variable: nextcloud
description: "Nextcloud configuration details"
label: "Nextcloud Configuration"

View File

@@ -52,6 +52,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
- name: extrappvolume-{{ $index }}
mountPath: {{ $hostPathConfiguration.mountPath }}
{{ end }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }}