This is an example Go application packaged with Docker and Helm. It is compiled using Codefresh.
To see how you can store and deploy your first Helm Chart using a Codefresh pipeline, please follow this tutorial.
To compile and package using Docker multi-stage builds
docker build . -t my-app
docker run -p 8080:8080 my-app
And then visit http://localhost:8080 in your browser.
Make sure to edit the templates and values with your own settings (e.g. docker image deployed).
Specifically,
- kube_context: anais-cluster@codefresh-sa in the codefresh.yml
There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.
For the direct deployment without storing the helm chart first see codefresh-do-not-store.yml
More details can be found in Codefresh documentation