Parcourir la source

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 il y a 4 ans
Parent
commit
36b5620596
1 fichiers modifiés avec 20 ajouts et 0 suppressions
  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"