Commit 7f5e45c1 authored by Waqar Ahmed's avatar Waqar Ahmed

Allow specifying dns options for nextcloud

parent c95b392a
...@@ -11,6 +11,8 @@ groups: ...@@ -11,6 +11,8 @@ groups:
description: "Configure Postgresql for nextcloud" description: "Configure Postgresql for nextcloud"
- name: "Scaling/Upgrade Policy" - name: "Scaling/Upgrade Policy"
description: "Configure how pods are replaced when configuration is upgraded" description: "Configure how pods are replaced when configuration is upgraded"
- name: "Advanced DNS Settings"
description: "Configure DNS settings"
portals: portals:
web_portal: web_portal:
...@@ -22,6 +24,34 @@ portals: ...@@ -22,6 +24,34 @@ portals:
- "$variable-service.nodePort" - "$variable-service.nodePort"
questions: 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 - variable: nextcloud
description: "Nextcloud configuration details" description: "Nextcloud configuration details"
label: "Nextcloud Configuration" label: "Nextcloud Configuration"
......
...@@ -52,6 +52,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} ...@@ -52,6 +52,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
- name: extrappvolume-{{ $index }} - name: extrappvolume-{{ $index }}
mountPath: {{ $hostPathConfiguration.mountPath }} mountPath: {{ $hostPathConfiguration.mountPath }}
{{ end }} {{ end }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }} {{ include "common.storage.allAppVolumes" .Values | nindent 6 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }} - name: extrappvolume-{{ $index }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment