Pārlūkot izejas kodu

Allow configuring DNS options for ix-chart

This commit adds changes to allow customzing dns configuration so that users can add extra options like ndots which are useful when using ClusterFirst policy to enforce different DNS resolution settings.
sonicaj 4 gadi atpakaļ
vecāks
revīzija
36b5620596
1 mainītis faili ar 20 papildinājumiem un 0 dzēšanām
  1. 20 0
      test/ix-chart/2109.1.0/questions.yaml

+ 20 - 0
test/ix-chart/2109.1.0/questions.yaml

@@ -292,6 +292,26 @@ questions:
                 label: "Search Entry"
                 schema:
                   type: string
+        - 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: hostNetwork
     label: "Provide access to node network namespace for the workload"