How to use ConfigMap configuration with Helm NginX Ingress controller – Kubernetes

I’ve managed to display what YAML gets executed by Helm using the: –dry-run –debug options at the end of helm install command. Then I’ve noticed that there controller is executed with the: –configmap={namespace-where-the-nginx-ingress-is-deployed}/{name-of-the-helm-chart}-nginx-ingress-controller. In order to load your ConfigMap you need to override it with your own (check out the namespace). kind: ConfigMap apiVersion: v1 … Read more

helm not creating the resources

You already have some resources, e.g. service abc in the given namespace, xyz that you’re trying to install via a Helm chart. Delete those and install them via helm install. $ kubectl delete service -n <namespace> <service-name> $ kubectl delete deployment -n <namespace> <deployment-name> $ kubectl delete ingress -n <namespace> <ingress-name> Once you have these … Read more

Kubernetes Readiness probe failed error

For anyone else here, if using helm to manage your deployments, you need to set initialDelaySeconds it in the deployments.yaml template in the /templates folder under livenessProbe. The livenessProbe will force restart your pod if the probe cannot connect, as was happening with mine. It wasn’t giving my application enough time to build.

Helm: generate comma separated list

For those from 2020+ it now can be achieved as simple as that: {{ join “,” .Values.some.array }} It produces the correct output: value: “test1,test2,test3″ At least it works with (more or less) recent versions of helm-cli: Client: &version.Version{SemVer:”v2.16.2″, GitCommit:”bbdfe5e7803a12bbdf97e94cd847859890cf4050″, GitTreeState:”clean”}