From 27e14a29b063a6faef2bff52cb5e28030dca0163 Mon Sep 17 00:00:00 2001 From: bachu Date: Thu, 12 May 2022 16:38:46 +0530 Subject: [PATCH 1/2] changed boot Job pod DNS server to 8.8.8.8 since alpine v3.13 and above gives DNS resolution error --- versionStream/git-operator/job.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/versionStream/git-operator/job.yaml b/versionStream/git-operator/job.yaml index 926d71a3..f2d3c750 100644 --- a/versionStream/git-operator/job.yaml +++ b/versionStream/git-operator/job.yaml @@ -53,7 +53,13 @@ spec: - mountPath: /workspace name: workspace-volume workingDir: /workspace/source - dnsPolicy: ClusterFirst + dnsPolicy: "None" + dnsConfig: + nameservers: + - 8.8.8.8 + options: + - name: ndots + value: "1" restartPolicy: Never schedulerName: default-scheduler serviceAccountName: jx-boot-job From d516adeba4c527911288a9c16fcb6bc2c73cfadf Mon Sep 17 00:00:00 2001 From: bachu paul Date: Thu, 19 May 2022 12:40:53 +0530 Subject: [PATCH 2/2] docs: DNS hostname resolution error in minikube Signed-off-by: bachu paul --- .lighthouse/jenkins-x/pullrequest.yaml | 9 ++++++++- .lighthouse/jenkins-x/release.yaml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.lighthouse/jenkins-x/pullrequest.yaml b/.lighthouse/jenkins-x/pullrequest.yaml index c5d5a0ac..4380c3da 100755 --- a/.lighthouse/jenkins-x/pullrequest.yaml +++ b/.lighthouse/jenkins-x/pullrequest.yaml @@ -28,7 +28,14 @@ spec: requests: cpu: 0.1 memory: 128Mi - podTemplate: {} + podTemplate: + dnsPolicy: "None" + dnsConfig: + nameservers: + - 8.8.8.8 + options: + - name: ndots + value: "1" serviceAccountName: tekton-bot timeout: 12h0m0s status: {} \ No newline at end of file diff --git a/.lighthouse/jenkins-x/release.yaml b/.lighthouse/jenkins-x/release.yaml index c3c7c257..a95a8577 100755 --- a/.lighthouse/jenkins-x/release.yaml +++ b/.lighthouse/jenkins-x/release.yaml @@ -29,7 +29,14 @@ spec: requests: cpu: 0.1 memory: 128Mi - podTemplate: {} + podTemplate: + dnsPolicy: "None" + dnsConfig: + nameservers: + - 8.8.8.8 + options: + - name: ndots + value: "1" serviceAccountName: tekton-bot timeout: 12h0m0s status: {}