Allow specifying dns options for plex

This commit is contained in:
Waqar Ahmed
2021-05-10 13:24:56 +05:00
parent 7f5e45c1f9
commit 16fcf345e4
2 changed files with 31 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ groups:
description: "Configure when pod should be restarted in case of failure"
- name: "Resource Reservation"
description: "Specify resources to be allocated to workload"
- name: "Advanced DNS Settings"
description: "Configure DNS settings"
portals:
web_portal:
@@ -31,6 +33,34 @@ portals:
path: "/web"
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: claimToken
label: "Plex Claim Token"
group: "Plex Configuration"

View File

@@ -81,6 +81,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
initialDelaySeconds: 5
failureThreshold: 40
periodSeconds: 15
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
- name: plex-probe-check
configMap: