Browse 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 4 năm trước cách đây
mục cha
commit
36b5620596
1 tập tin đã thay đổi với 20 bổ sung0 xóa
  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"