Using Helm charts and git
Last modified Apr 20, 2023
This is written the 22 of june2021
Helm charts are a simple way to make a standard recipe for deployments on Kubernetes. With Helm you have access to a strong, widely used templating language. Helm Charts are Kubernetes YAML manifests combined into a single package.
There are several of publishers for Helm charts. One source of charts are Artifacthub.io. Artifacthub is a project under CNCF.
Helm charts are typically open source. Before using a Helm chart, verify the template code (you want to know what is deployed!).
KitHosting provides, free of use, Helm charts as well. A public Helm chart consists of two parts. The compressed chart which is ready for use and the source code and documentation.
The service chart is used in the quickstart example. This service-helmchart is a helm-chart designed to deploy any image, without having to create a designated helmchart.
The KitCaddy charts adds a high performing container build in golang. The container is a reverse proxy that handles SAML2 requests. The side car could be used if you need SAML based authentication. When the user is logged ind a Token is forwarded to your service. This means that, that you dont need to handle SAML2 request yourself. KitCaddy is open source, The source code can be found here
If you use the template for generating a new git repository you will have a predefined structure in git. In the root of the repository you should have one folder for each application you wish to deploy. Furthermore, you should also have an app folder. The app folder defines the app of apps which provides an easy management of your apps. Using this means you only have to do one setup in Argo, for all your projects, so you do not have to repeat the setup in argo descriped in quickstart and deploy using argo for each deployment.
The app of apps points can point to multiple services (for instance test-website, test-website2 and so on). app of apps is made as convenience method for deploying multiple services.
|
|
Links to documentation for argoApps chart can be found above. The following gives a short walk through files in the app folder.
If you use the template for generating a new git repository you will have a predefined structure in git.
When using the service-helmchart, you create a new folder in you applications-repository. Here you add a chart-file and values-files. Furthermore we recommend that you add a app of apps if the deployment repository consists of multiple services.
This results in the following structure. There is a github template that can be used to generate the structure and files quickstart
|
|
To understand the Helm templating furher take a look at the Helm website
Kithosting