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

Allow specifying dns options for ipfs

parent d89fc3ee
...@@ -7,6 +7,8 @@ groups: ...@@ -7,6 +7,8 @@ groups:
description: "Configure Storage for IPFS" description: "Configure Storage for IPFS"
- name: "IPFS Configuration" - name: "IPFS Configuration"
description: "Configure Storage for IPFS" description: "Configure Storage for IPFS"
- name: "Advanced DNS Settings"
description: "Configure DNS settings"
portals: portals:
web_portal: web_portal:
...@@ -19,6 +21,34 @@ portals: ...@@ -19,6 +21,34 @@ portals:
path: "/webui" path: "/webui"
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: updateStrategy - variable: updateStrategy
label: "IPFS update strategy" label: "IPFS update strategy"
group: "Workload Configuration" group: "Workload Configuration"
......
...@@ -55,4 +55,5 @@ spec: ...@@ -55,4 +55,5 @@ spec:
- name: gateway - name: gateway
containerPort: 9880 containerPort: 9880
{{ include "common.containers.allEnvironmentVariables" .Values | nindent 10 }} {{ include "common.containers.allEnvironmentVariables" .Values | nindent 10 }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }} {{ include "common.storage.allAppVolumes" .Values | nindent 6 }}
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