Commit 16fcf345 authored by Waqar Ahmed's avatar Waqar Ahmed

Allow specifying dns options for plex

parent 7f5e45c1
...@@ -19,6 +19,8 @@ groups: ...@@ -19,6 +19,8 @@ groups:
description: "Configure when pod should be restarted in case of failure" description: "Configure when pod should be restarted in case of failure"
- name: "Resource Reservation" - name: "Resource Reservation"
description: "Specify resources to be allocated to workload" description: "Specify resources to be allocated to workload"
- name: "Advanced DNS Settings"
description: "Configure DNS settings"
portals: portals:
web_portal: web_portal:
...@@ -31,6 +33,34 @@ portals: ...@@ -31,6 +33,34 @@ portals:
path: "/web" path: "/web"
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: claimToken - variable: claimToken
label: "Plex Claim Token" label: "Plex Claim Token"
group: "Plex Configuration" group: "Plex Configuration"
......
...@@ -81,6 +81,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} ...@@ -81,6 +81,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
initialDelaySeconds: 5 initialDelaySeconds: 5
failureThreshold: 40 failureThreshold: 40
periodSeconds: 15 periodSeconds: 15
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }} volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
- name: plex-probe-check - name: plex-probe-check
configMap: configMap:
......
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