diff --git a/argo-apps/hello-world.yaml b/argo-apps/hello-world.yaml index b0a01db0..08133388 100644 --- a/argo-apps/hello-world.yaml +++ b/argo-apps/hello-world.yaml @@ -1,12 +1,12 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: hello-world-prod + name: hello-world-dev namespace: argocd spec: project: default source: - targetRevision: master + targetRevision: development repoURL: https://github.com/piyush7/workshop-hello-gitops path: kustomize/base destination: diff --git a/cmd/main.go b/cmd/main.go index acb2c35c..59e9943a 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -25,7 +25,7 @@ func handler(w http.ResponseWriter, r *http.Request){ if err != nil { log.Printf("unknown host") } - resp := fmt.Sprintf("Hello Awesome VMware folks from Piyush!",) + resp := fmt.Sprintf("Hello Awesome VMware team from Piyush!",) _, err = w.Write([]byte(resp)) if err != nil { diff --git a/kustomize/base/kustomization.yaml b/kustomize/base/kustomization.yaml index 44b6f130..bc36a932 100644 --- a/kustomize/base/kustomization.yaml +++ b/kustomize/base/kustomization.yaml @@ -3,8 +3,8 @@ kind: Kustomization resources: - deployment.yaml - service.yaml -namespace: production +namespace: development images: - name: hello-gitops newName: pkatira7/hello-gitops - newTag: 75a9ee12480e2f6836eab50e6ee5aea81a9c637d + newTag: 46550054edf198abb0bc4b7119e0344d4e2f3f12