From 233c519e5cffbd09b25da66ff91073af81d85abb Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 00:42:50 +0530 Subject: [PATCH 01/24] update Jenkins creds --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 961e45f..e896561 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ node { } stage('Start argocd') { - withKubeConfig(credentialsId: 'eksctl-kubeconfig', serverUrl: '') { + withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { // sh 'kubectl get all' sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' // sh 'argocd login 127.0.0.1:8080' @@ -14,7 +14,7 @@ node { } stage('Create app') { - withKubeConfig(credentialsId: 'eksctl-kubeconfig', serverUrl: '') { + withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { sh """ argocd app create prod-kustomize-guestbook \ --repo https://github.com/radtac-craft/argocd-example-apps.git \ @@ -28,7 +28,7 @@ node { } stage('Verify app') { - withKubeConfig(credentialsId: 'eksctl-kubeconfig', serverUrl: '') { + withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { sh 'argocd app list' } } From 7d190fdba3cb865073e69bd91b09de02d154f2a5 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:03:39 +0530 Subject: [PATCH 02/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e896561..868d6a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ node { // sh 'kubectl get all' sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' // sh 'argocd login 127.0.0.1:8080' - sh 'argocd login 127.0.0.1:8080 --config /Users/mac/.argocd/config --insecure --username admin --password admin' + sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' sh 'argocd app list' } } From 2c2de91254ab0eaab5d755b21377b82b9aef576b Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:05:10 +0530 Subject: [PATCH 03/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 868d6a9..29cc966 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ node { sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' // sh 'argocd login 127.0.0.1:8080' sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' - sh 'argocd app list' + sh 'sudo argocd app list' } } From 0e715b5601b0de58db3357a682ef4f2c2c7187c1 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:06:13 +0530 Subject: [PATCH 04/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 29cc966..84c724b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ node { // sh 'kubectl get all' sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' // sh 'argocd login 127.0.0.1:8080' - sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' + sh 'sudo argocd login 127.0.0.1:8080 --insecure --username admin --password admin' sh 'sudo argocd app list' } } From a02f16153ec1b49d3e5031e446663e53256a2239 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:08:36 +0530 Subject: [PATCH 05/24] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 84c724b..868d6a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,8 +8,8 @@ node { // sh 'kubectl get all' sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' // sh 'argocd login 127.0.0.1:8080' - sh 'sudo argocd login 127.0.0.1:8080 --insecure --username admin --password admin' - sh 'sudo argocd app list' + sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' + sh 'argocd app list' } } From 99f0bf32bdf9973ff5aed243189942d108156bc3 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:11:14 +0530 Subject: [PATCH 06/24] Update Jenkinsfile --- Jenkinsfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 868d6a9..615595b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,10 +6,14 @@ node { stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { // sh 'kubectl get all' - sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' - // sh 'argocd login 127.0.0.1:8080' - sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' - sh 'argocd app list' + sh""" + kubectl port-forward svc/argocd-server -n argocd 8080:443& + argocd login 127.0.0.1:8080 --insecure --username admin --password admin + argocd app list + """ +// sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' +// sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' +// sh 'argocd app list' } } From e333a80f6f033b9887a35d02f86343009bd7c531 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:12:41 +0530 Subject: [PATCH 07/24] Update Jenkinsfile --- Jenkinsfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 615595b..9711663 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,4 @@ node { - stage('SCM checkout') { - checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://github.com/radtac-craft/argocd-example-apps.git']]]) - } - stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { // sh 'kubectl get all' From 3faa5e86b1ebd31392e47c2ac05939956ee0b083 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:36:04 +0530 Subject: [PATCH 08/24] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9711663..d541d75 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,7 @@ node { // sh 'kubectl get all' sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& + kubectl get pods -A argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From f8153da452749eb2aac7c7decf615cd84fad7230 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:38:54 +0530 Subject: [PATCH 09/24] remove test command --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d541d75..9711663 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,6 @@ node { // sh 'kubectl get all' sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - kubectl get pods -A argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From c7c2cb273c132872bb447122fc887606583c7979 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:47:03 +0530 Subject: [PATCH 10/24] creds for argocd --- Jenkinsfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9711663..1a87c76 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,12 +4,13 @@ node { // sh 'kubectl get all' sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - argocd login 127.0.0.1:8080 --insecure --username admin --password admin + + withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { + sh 'argocd login 127.0.0.1:8080 --insecure --username $USERNAME --password $PASSWORD' + } + argocd app list """ -// sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' -// sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' -// sh 'argocd app list' } } From d66b01a134ab76219dd002e64f3e6cc3fea27502 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:51:58 +0530 Subject: [PATCH 11/24] add creds --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1a87c76..f91016f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,16 +1,14 @@ node { stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { - // sh 'kubectl get all' + withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { + sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - - withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { - sh 'argocd login 127.0.0.1:8080 --insecure --username $USERNAME --password $PASSWORD' - } - + sh 'argocd login 127.0.0.1:8080 --insecure --username $USERNAME --password $PASSWORD' argocd app list """ + } } } From 8f318bdf058ea45920b9d4440f454355fcbdd506 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:53:31 +0530 Subject: [PATCH 12/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f91016f..cdde336 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ node { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - sh 'argocd login 127.0.0.1:8080 --insecure --username $USERNAME --password $PASSWORD' + argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password ${PASSWORD} argocd app list """ } From 7cfa944ec72e0ed228cacd05110f0b23fb9b8e3f Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:55:16 +0530 Subject: [PATCH 13/24] Update Jenkinsfile --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index cdde336..cf5dee2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,7 @@ node { + timestamps{ + properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))]) + stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { @@ -32,3 +35,4 @@ node { } } } +} From f975636378a2323f2cf9605e4568f55cb377c591 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 15:56:58 +0530 Subject: [PATCH 14/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index cf5dee2..fa9eed9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ node { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password ${PASSWORD} + argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password \${PASSWORD} argocd app list """ } From 278e029af1d65a466532e092b1ccb38769947442 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 16:07:59 +0530 Subject: [PATCH 15/24] change script --- Jenkinsfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa9eed9..2c7d3e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,12 +5,9 @@ node { stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { - - sh""" - kubectl port-forward svc/argocd-server -n argocd 8080:443& - argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password \${PASSWORD} - argocd app list - """ + sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' + sh'argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password ${PASSWORD}' + sh 'argocd app list' } } } From 6a6e523a50425ab63cf0cc8098b9b84fc32765ec Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 16:17:24 +0530 Subject: [PATCH 16/24] Update Jenkinsfile --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2c7d3e3..1d64fc1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,9 +5,11 @@ node { stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { - sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' - sh'argocd login 127.0.0.1:8080 --insecure --username ${USERNAME} --password ${PASSWORD}' - sh 'argocd app list' + sh""" + kubectl port-forward svc/argocd-server -n argocd 8080:443& + argocd login 127.0.0.1:8080 --insecure --username admin --password admin + argocd app list + """ } } } From 5507719264b6640db28d88fbc8159c6383e0d760 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 16:30:30 +0530 Subject: [PATCH 17/24] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d64fc1..7055de2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ node { properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))]) stage('Start argocd') { - withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { +// withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& @@ -11,7 +11,7 @@ node { argocd app list """ } - } + // } } stage('Create app') { From fc82bfbf9df4b983bc85666c92911605f9daaab6 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:01:22 +0530 Subject: [PATCH 18/24] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7055de2..0f95bcb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,8 @@ node { properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))]) stage('Start argocd') { -// withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { - withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { + withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { +// withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& argocd login 127.0.0.1:8080 --insecure --username admin --password admin From 434b7ebc463310c0b1d9ff8a1fb6fac5e3556c1a Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:36:18 +0530 Subject: [PATCH 19/24] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0f95bcb..c5e125f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ node { argocd app list """ } - // } +// } } stage('Create app') { From 6695bbece05a674f6a955f2f57369a04c4438b01 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:38:26 +0530 Subject: [PATCH 20/24] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index c5e125f..638f144 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,7 @@ node { // withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& + kubectl get pods -A argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From 7b989417df529a54b0307d9c35de2db13cfd0850 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:43:34 +0530 Subject: [PATCH 21/24] Update Jenkinsfile --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 638f144..c5e125f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,6 @@ node { // withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& - kubectl get pods -A argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From 35953fdd0f31b99b919c841829b598573d96ca8e Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:44:26 +0530 Subject: [PATCH 22/24] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index c5e125f..638f144 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,7 @@ node { // withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& + kubectl get pods -A argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From e17647a1dd32a4f9b28d390df36c961a42e07c37 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:45:22 +0530 Subject: [PATCH 23/24] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 638f144..77fad57 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,7 @@ node { sh""" kubectl port-forward svc/argocd-server -n argocd 8080:443& kubectl get pods -A + argocd logout 127.0.0.1:8080 argocd login 127.0.0.1:8080 --insecure --username admin --password admin argocd app list """ From b1b3daaf7f383c628c3eb4b3e809438b1afe51bd Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:49:01 +0530 Subject: [PATCH 24/24] Update ingress.yaml --- kustomize-guestbook/overlays/prod/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize-guestbook/overlays/prod/ingress.yaml b/kustomize-guestbook/overlays/prod/ingress.yaml index 1acf8a5..bb66a74 100644 --- a/kustomize-guestbook/overlays/prod/ingress.yaml +++ b/kustomize-guestbook/overlays/prod/ingress.yaml @@ -5,10 +5,10 @@ metadata: namespace: spec: rules: - - host: kustomize-guestbook-argocd.natwest-labs.com + - host: kustomize-guestbook-argocd1.natwest-labs.com http: paths: - backend: serviceName: guestbook-ui servicePort: 80 - path: / \ No newline at end of file + path: /