Make sure that you have Helm and Kubectl installed on your machine and that you are connected to a Kubernetes cluster.
Create an traefik-values-override.yaml
file with the following content:
additionalArguments:
- "--providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik"
Add the Traefik Helm repository :
helm repo add traefik https://traefik.github.io/charts
Update your repository list :
helm repo update
Install Traefik :
helm install -f traefik-values-override.yaml traefik traefik/traefik -n traefik --create-namespace
Install cert-manager :
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.2/cert-manager.yaml
helm repo add dtt-chart https://rachiid007.github.io/dtt-chart
This command adds the repository under the alias dtt-chart. You can replace dtt-chart with any other name of your choice.
helm repo update
This command updates your local repository list to reflect the latest changes on remote repositories.
helm search repo dtt-chart
This command displays the list of charts available in the dtt-chart repository.
helm install my-dtt dtt-chart/dtt-chart
This command installs the dtt-chart chart in the default namespace. The release name is my-dtt. You can replace my-dtt with any other name of your choice.
You can find the default values.yaml file here.
If you want to override the default values, you can create a custom values.yaml file and use it to install the chart.
For example, if you want to override the default values for the namespace.name
and url
parameters, you can create a custom values.yaml file with the following content:
namespace:
name: my-namespace
url: https://my-dtt-subdomain.taaltoolbox.be
Then, you can use the following command to install the chart with your custom values.yaml file:
helm install my-dtt dtt-chart/dtt-chart -f values.yaml
If you want to upgrade the tag of the image used by the frontend deployment, you can use the following command:
helm upgrade my-dtt dtt-chart/dtt-chart --reuse-values --set=frontend.deployment.image.tag=new_tag
This command upgrades the chart with the new tag of the image used by the frontend deployment. The --reuse-values flag reuses the values from the previous installation.
helm list
This command displays the list of installed releases.
helm uninstall my-dtt
helm repo remove dtt-chart