Questions tagged [helm3]

Version 3 is the only currently-supported version of the Kubernetes Helm deployment tool. Use [kubernetes-helm] instead of this tag.

The tool deploys applications as "charts" of templated YAML files. Version 3 of Helm was released on November 13, 2019; version 2 became unsupported a year later, on November 13, 2020.

There are only minor differences in the templating engine between the two versions. The major differences are operational: Helm 3 no longer requires an in-cluster "Tiller" management tool, and its command-line options are different for some common commands. Questions about migrating Helm 2 to Helm 3 or other non-programming questions are not generally on-topic for Stack Overflow, and might be better asked on related sites like Server Fault or DevOps.SE.

Questions with this tag should almost always be tagged with , and often with either or both of and , depending on the specifics of the question. However, since the Helm 3 is the only currently supported version and since template language has remained essentially the same between the two versions, it is not usually necessary to tag a question as .

654 questions
0
votes
2 answers

Default value in Helm

I have a configmap yaml that needs to be executed if a particular value is set to true. This is the config map yaml def {{ if (.Values.telemetry.create) }} apiVersion: v1 kind: ConfigMap metadata: name: telemetry-allowlist data: metrics.json: | …
CSUNNY
  • 414
  • 1
  • 7
  • 23
0
votes
1 answer

Helmfile - overriding values from a parent chart value using Helmfile

I am trying to do simple helm config using helmfile but no success. as mention here (overriding-values-from-a-parent-chart) I would like to provide one parent configuration and override release value. this is a release…
MoShe
  • 6,197
  • 17
  • 51
  • 77
0
votes
1 answer

Using Helm For Deploying Spring Boot Microservice to K8s

We have build a few Microservices (MS) which have been deployed to our company's K8s clusters. For current deployment, any one of our MSs will be built as a Docker image and they deployed manually using the following steps; and it works…
paiego
  • 3,619
  • 34
  • 43
0
votes
1 answer

how to pass array in helmfile

I have helmfile releases: - name: controller values: - values/valuedata.yaml hooks: {{ toYaml .Values.hooks }} file with values hooks: - events: [ "presync" ] showlogs: true command: "bash" args: [ "args"] I…
user1365697
  • 5,819
  • 15
  • 60
  • 96
0
votes
1 answer

can't override NodePort value in helm configuration for portainer

I am trying to install portainer with helm. The installation crashes because the port 30777 is already busy on the cluster: Error: INSTALLATION FAILED: Service "portainer" is invalid: spec.ports[0].nodePort: Invalid value: 30777: provided port is…
Bluz
  • 5,980
  • 11
  • 32
  • 40
0
votes
1 answer

Helmchart values yaml override with helmfile

I try to my custom chart's values.yaml change with overridevalue.yaml to override values. However when I install the chart with helm repo add command and try to reach values yaml it throws me "values.yaml does not exist in ".".
Onur AKKÖSE
  • 84
  • 2
  • 10
0
votes
1 answer

Helm Chart - Camunda

Good Morning. I'm currently using an helmchart to deploy camunda inside an openshift namespace/cluster. For your information, Camunda has a default process called "Invoice" and that process is responsible to create a default user called "demo". I…
0
votes
1 answer

Helm when variable child key does not exist fallback to default next variable

Using Helm v3 the following template is breaking with error: Error: INSTALLATION FAILED: template: rabbitmq/templates/secrets.yaml:4:31: executing "rabbitmq/templates/secrets.yaml" at <.Values.global.rabbitmq.password>: nil pointer evaluating…
Justin
  • 42,716
  • 77
  • 201
  • 296
0
votes
1 answer

Best practice for setting the fqin in a Helm chart

I would like a CI pipeline to build an image and a Helm chart. A part of that is of course to set the FQIN of the Helm chart before publishing it. There are lots of examples on how to do it during installation, but not during packaging. I was…
Erik Martino
  • 4,023
  • 1
  • 19
  • 12
0
votes
1 answer

helm chart create helper function using another helper function

I am trying to make another helper function which uses an existing helper function but that seems to be not working. I have following function in _helpers.tpl file: {{- define "redis.fullname" -}} {{- if .Values.fullnameOverride -}} {{-…
undefined
  • 3,464
  • 11
  • 48
  • 90
0
votes
0 answers

dynamically pull data from values.yaml

I have values.yaml like below configMap: data: dev: ATTR1 : "Value1-dev" ATTR2 : "Value2-dev" qa: ATTR1 : "Value1-qa" ATTR2 : "Value2-qa" My configMap template is like below apiVersion: v1 kind:…
Angshuman
  • 225
  • 3
  • 17
0
votes
1 answer

How do I support multiple top level namespaces in a single json schema document? This is for helm sub charts

I know "namespace" isn't the right term, but I had trouble finding this use case explained in the json schema docs or online. I use json schema for a helm sub chart. Without going into helm specifics this means this schema is going to be used to…
red888
  • 27,709
  • 55
  • 204
  • 392
0
votes
1 answer

How to solve this helm error "Error: UPGRADE FAILED: error validating "": error validating data"?

This is a follow-up question to my former question on chart validation here While trying to deploy a helm chart, I have an error that shows thus: Error: UPGRADE FAILED: error validating "": error validating data:…
Aro
  • 55
  • 1
  • 2
  • 8
0
votes
1 answer

What is different between {{ ... }} and {{- ... -}} syntax in Helm3?

I couldn't find any documentation, but I keep seeing examples. Like: {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount metadata: name: {{- include "example.serviceAccountName" . -}} ##<=== {{- -}} example: {{…
Numichi
  • 926
  • 6
  • 14
0
votes
0 answers

Why does helm3 install trigger pre-delete and not in Helm2

I have a project that needs to use mutating Webhook, based on namespaceselector, which needs to add specific label to namespace first. I used three hooks, hook1(pre-install, pre-delete,etc) to create RBAC for hook2(pre-install) to add a label to…