diff --git a/README.md b/README.md index e47e856..effa614 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ Codefresh, [Argo CD](https://argo-cd.readthedocs.io/en/stable/) and Argo Rollout ## What's in the app? -A simple go app that displays a [color](https://en.wikipedia.org/wiki/Color) and version. This is designed to work with [Argo Rollouts](https://argoproj.github.io/argo-rollouts/) for canary and blue/green progressive delivery. +A simple [go app](https://go.dev/) that displays a [color](https://en.wikipedia.org/wiki/Color) and version. This is designed to work with [Argo Rollouts](https://argoproj.github.io/argo-rollouts/) for canary and blue/green progressive delivery. ## Deployment configuration -This app is used and configured in [oss-apps](https://github.com/todaywasawesome/oss-apps) +This app is used and configured in [oss-apps](https://github.com/todaywasawesome/oss-apps), which is a GitOps deployment repository. ## More about Codefresh Goto https://codefresh.io to learn more about Kubernets Continuous Delivery diff --git a/app.go b/app.go index 8bd0b3e..e918e95 100644 --- a/app.go +++ b/app.go @@ -7,9 +7,9 @@ import ( func main() { - version := "Blue" + version := "Purple" - color := "#44B3C2" //Blue 44B3C2 and Yellow F1A94E + color := "#7433FF" //Blue 44B3C2 and Yellow F1A94E http.HandleFunc("/callme", func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "
ver: %s\n
", color, version) diff --git a/deploy/k8s/kustomization.yaml b/deploy/k8s/kustomization.yaml new file mode 100644 index 0000000..011238f --- /dev/null +++ b/deploy/k8s/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- deployment.yaml +- service.yaml \ No newline at end of file