Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions argo-apps/hello-world.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions kustomize/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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