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
0 answers

Replace token Yaml1 with values from Yaml2

Yaml1 looks like resources: limits: cpu: ((MYAPP_CPU_LIMIT)) memory: ((MYAPP_MEMORY_LIMIT)) requests: cpu: ((MYAPP_CPU_REQUEST)) memory: ((MYAPP_MEMORY_REQUEST)) and Yaml2 variables: MYAPP_CPU_LIMIT: 4 MYAPP_CPU_REQUEST: 4 …
SKG
  • 1,432
  • 2
  • 13
  • 23
0
votes
0 answers

upgrade helm chart from another dir

I'm trying to run: helm install my-app ./helm/ --namespace=app-dev --set=app.name=my-app --values=./helm/my-app-values.yaml but I got this error: Error: YAML parse error on my-app/templates/deploy.yml: error converting YAML to JSON: yaml: line 22:…
Padi
  • 711
  • 9
  • 18
0
votes
1 answer

Have Helm include files in a chart but not parse them and be able to refer to them with -f

Right now my application repos have directories that look like this: myapp code/ myappChartConfig/ myappChart/ dev.yaml prod.yaml The chart is in myappChart/ and my dev/prod settings are outside it in dev/prod yaml files. On deploy…
red888
  • 27,709
  • 55
  • 204
  • 392
0
votes
1 answer

Helm Template predifined Array Iterate for configmap

Hi we have listenerProcessor array in values.yaml like below listenerProcessor: - name: "nbi-sbi" port: 99 allowedPath: - "/sbi/test" - "/sbi/test123" for this we need to merge our predefined set of listenerProcessor array which is not…
user1184777
  • 987
  • 2
  • 19
  • 38
0
votes
1 answer

Helm. Execute bash script to choose proper image

Helmfile: spec: containers: - name: {{ .Values.app.name }} image: {{ .Values.image.name }} --> execute shell script here imagePullPolicy: Always ports: - containerPort: 8081 env: …
Fagam32
  • 83
  • 1
  • 7
0
votes
1 answer

Helm Template Indention Error Using Dict Split and Range

I am trying to setup the ability to have a dynamic number of volume and volumeMounts in my helm chart. Here is how my deployment.yaml looks: volumeMounts: {{- if .Values.deployment.hostPath }} {{ $dict := split ":"…
ssbsts
  • 844
  • 1
  • 8
  • 13
0
votes
2 answers

Create helm chart for a job

I am creating a helm chart for the job I want to run in our k8 cluster. When you execute helm create it creates templates that I do not need. $ helm create new-job Creating new-job $ tree new-job/ new-job/ ├── Chart.yaml ├──…
alegria
  • 1,290
  • 14
  • 23
0
votes
1 answer

Helm chart. I cannot send a command to the container via --set

In deployment.yaml in: containers: - name: {{ .Values.stand }}-container securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag |…
Maksim
  • 197
  • 2
  • 12
0
votes
1 answer

Helm Upgrade with different SubChart

We have a helm chart with a subchart dependency. Now, in the latest release it was decided to use a different subchart (same component) but from a different "vendor" (like Bitnami). The problem is that when we run helm upgrade on a cluster, the…
Slevin
  • 141
  • 1
  • 8
0
votes
1 answer

How do I process text through tpl before formatting it with toyaml?

In this Stack Overflow post it seems like you should be able to render text with toYaml and then pass it to tpl but that isn't working for me. Take the following: #values.yaml configMaps: test: data: config.yaml: |- aaaaaa:…
red888
  • 27,709
  • 55
  • 204
  • 392
0
votes
1 answer

secret-inject@azurekeyvault waiting forever

I would like to use akv2k8s.io for adding key vault into kubernetes using helm chart. apiVersion: spv.no/v2beta1 kind: AzureKeyVaultSecret metadata: name: secret-sync namespace: akv-test-butfa spec: vault: name: akv2k8s-butfa # name of…
Thanh Nguyen Van
  • 10,292
  • 6
  • 35
  • 53
0
votes
1 answer

Multiple installations to different namespaces of the same helm chart with Cluster scoped resources

I need to install the same helm Chart to different namespaces, so multiple times. The chart contains cluster scoped resources like ClusterRoles or CustomResourceDefinitions. The problem is I can only install it once, the second time I have an…
Reda Drissi
  • 1,532
  • 3
  • 20
  • 32
0
votes
1 answer

mkdir: can't create directory '/consul/extra-config: Permission denied Pod on Openshift 4.6

After the installation of the Hashicorp Vault with consul, Iam getting the error permission denied. Tried with oc adm policy add-scc-to-user -z service account -n namespace privileged Oc command with anyuid Still the error not resolved Iam…
0
votes
1 answer

Helm post install hook on subchart

I try to create an umbrella helm chart for a complex solution that is made from few components. One of them is a database, for which I use a mariadb-galera chart. The problem I face is that I want to execute a flyway migration once my DB is…
NainzguL
  • 1
  • 3
0
votes
1 answer

ValidationError(Ingress.spec.rules[0].http): missing required field "paths"

I have the following code in my values.yaml file: ingress: kind: Ingress hostname: auth.localhost enabled: true metadata: fusionauth-ingress hosts: - host: auth.local spec: rules: http: paths: "/" path: …
cp-stack
  • 785
  • 3
  • 17
  • 40