Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
36b5620596
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  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"