Bladeren bron

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 jaren geleden
bovenliggende
commit
36b5620596
1 gewijzigde bestanden met toevoegingen van 20 en 0 verwijderingen
  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"