Skip to content
A simple Go container to display a colored background. Used for demoing Istio Canary with Codefresh.
Go Dockerfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.codefresh fix formatting and go blue May 19, 2019
deploy reset for demo May 19, 2019
istio go blue May 19, 2019
Dockerfile remove vulnerabilities May 3, 2019 Tweak naming conventions, also go blue Apr 17, 2019
app.go FIX my update to yellow Oct 24, 2019

Color Coded - Istio + Helm + Codefresh Demo App

What's in the app?

A simple go app that displays a color and dies when you navigate to /die. The whole thing is packaged as a Helm chart and includes a Codefresh pipeline, and Istio configuration.

You can watch a full demo here.

Installation and usage

Some effort will be requried to streamline the setup for testing but it's possible now. These instructions may be incomplete.

  1. Create a free Codefresh account
  2. Fork and add this repo to Codefresh and start with a Codefresh YAML '.codefresh/helm-canary.yml'
  3. Set the environmental variables
  4. Add a Kubernetes cluster to your Codefresh account.
  5. Install Istio and Helm
  6. Update DNS with your Istio gateway IP address.
  7. Update and deploy the istio gateway configuration under istio/canary
  8. Update the base canary configuration under istio/canary.yml with your app info.
  9. Install the Helm package once manually (pull this repo, run a helm install) helm install --name colors ./deploy/helm/colors/ --namespace=color-coded --set deployment[0].image.pullSecret=""
  10. Review the Codefresh yml and update any remaining variables (like Kubernetes context)
  11. Deploy!

Improve the setup experience

A lot of work could be done to streamline this setup flow. Contributors welcome!

More about Codefresh

Goto to learn more about Kubernetes CI/CD

Codefresh Helm Release Status

You can’t perform that action at this time.