From 7a168ab1958bb9b3cbf6ce3b2edca2d502589a98 Mon Sep 17 00:00:00 2001 From: sonicaj Date: Sun, 4 Jul 2021 18:12:41 +0500 Subject: [PATCH] Allow specifying clusterfirst dns policy for ix-chart This commit adds changes to allow specifying cluster first dns policy for ix-chart as it can be useful for cases where the workload running with ix-chart needs to consume internal kubernetes dns for accessing service(s)/workload(s) etc. --- test/ix-chart/2107.0.0/questions.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/ix-chart/2107.0.0/questions.yaml b/test/ix-chart/2107.0.0/questions.yaml index d2e34c3a9d..bf3bcd8656 100644 --- a/test/ix-chart/2107.0.0/questions.yaml +++ b/test/ix-chart/2107.0.0/questions.yaml @@ -255,7 +255,14 @@ questions: default: "Default" enum: - value: "Default" - description: "Use Default DNS Policy" + description: "Use Default DNS Policy where Pod will inherit the name resolution configuration from the node." + - value: "ClusterFirst" + description: > + "Kubernetes internal DNS will be prioritised and resolved first. If the domain does not resolve with internal + kubernetes DNS, the DNS query will be forwarded to the upstream nameserver inherited from the node. This is + useful if the workload needs to access other service(s)/workload(s) using kubernetes internal DNS." + - value: "ClusterFirstWithHostNet" + description: "For Pods running with hostNetwork and wanting to prioritise internal kubernetes DNS should make use of this policy." - value: "None" description: "Ignore DNS settings from the Kubernetes cluster" - variable: dnsConfig