Questions tagged [helmfile]

Helmfile is a tool for managing multiple Kubernetes Helm packages. Questions should focus on creating and templating the Helmfile YAML files. Only use this tag for the Helmfile tool, not general Helm questions.

Helmfile is a tool for managing multiple packages, to be installed together in the same cluster. It allows declaring multiple Helm releases (chart installations) in a single YAML file. It also supports multiple deployment environments, and uses the same templating language as Helm to supply Helm values and other configuration.

Since Helmfile uses the system, it is possible to write conditional logic within a Helmfile. Helmfile also has multiple layers of templating, multiple ways to supply values to charts, and allows modifying chart content in various ways. Questions should focus on the helm file.yaml and *.yaml.gotmpl files specific to Helmfile.

Do not use this tag for general questions about Helm charts. Questions that deal only with a Helm Chart.yaml file or the Helm templates/*.yaml files should be tagged with but not , unless there is something specific to their interaction with the separate Helmfile tool.

62 questions
0
votes
1 answer

syntax error: unterminated quoted string Jenkins Pipeline

I'm working on running helm charts using helmfile in Jenkins pipeline. I was able to setup Jenkins Agent to use this docker image jenkinsciinfra/helmfile from https://github.com/jenkins-infra/docker-helmfile. below is my pipeline pipeline{ …
0
votes
1 answer

Helm-secrets vault driver with helmfile and certificates (multi row secrets)

We are using helm-secrets with the vault driver to get secrets from our hashicorp vault. On top of that we are using helmfile. The problem I have is to get the multi row secrets (such as certificates) to be handled correctly. I have the secrets.yaml…
0
votes
1 answer

Helmfile YAML parse error on error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context

I try to use helmfile to run applications on the k8s node. I get an error with the file: apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: redirectscheme namespace: {{ .Values.namespace }} spec: redirectScheme: …
gumiss
  • 1
  • 1
0
votes
1 answer

Install fails with error create: failed to create: Secret "sh.helm.release.v1..v1" is invalid:data:Too long:must have at most 1048576 bytes

I have multiple sub-charts under a single composite/umbrella chart. What could be the possible reasons for this error? Are there constraints with the sizes of a particular yaml? What should at most have 1048576 bytes? What can be the possible…
Darshil Shah
  • 447
  • 1
  • 11
  • 21
0
votes
1 answer

How to get values in helmfile

bases: - common.yaml releases: - name: controller values: - values/controller-values.yaml hooks: - events: [ "presync" ] .... - events: [ "postsync" ] ..... common.yaml environments: default: values: …
user1365697
  • 5,819
  • 15
  • 60
  • 96
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

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

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

IBM-MQ chart create queues

I'm trying to deploy IBM-MQ chart to kubernetes (rancher). I'm using helmfile v.0.141.0 (helm 3, kubectl 1.22.2) to achieve this. What I want to achieve is programmatically create custom queues after deploy. I tried to use helmfile hooks to achieve…
Arzybek
  • 547
  • 2
  • 6
  • 27
0
votes
1 answer

Apply Github hosted Kubernetes file with Helm

I am trying to set up a helmfile deployment for my local kubernetes cluster which is running using 'kind' (a lightweight alternative to minikube). I have charts set up for my app which are all deploying correctly, however I require an nginx-ingress…
Abulafia
  • 1,741
  • 12
  • 25
0
votes
1 answer

Common helm chart templates for a group of micro-services

Is there a way to define a common helm chart template for a set of services and extend those templates on need basis? All my micro services are spring-boot based and are deployed on Kubernetes cluster. I use helm chart templates for the deployment…
krisnik
  • 1,406
  • 11
  • 18
0
votes
1 answer

How to implement helmfile into my azure pipeline?

I have created a Node application for which I want to automate the deployment. Up till now I only automated the building process, i.e. install dependencies, create the docker image and push to the Azure Container Registry. This works perfectly fine…
N Meibergen
  • 362
  • 2
  • 14
0
votes
1 answer

Different grafana.ini based on environment when deploying with helm

I am deploying grafana to kubernetes using a custom helm chart. A custom grafana.ini file is copied to the docker image when it is built, the grafana.ini file contains the RDS instance connection config and various custom auth settings. This is not…
Molenpad
  • 833
  • 2
  • 14
  • 34
0
votes
1 answer

Templating value file using Helmfile and got "error during tpl function execution"

I'm using helmfile to install my Helm chart and other dependencies charts. I want to use templated values in the value files. From this resolved issue, it looks like templating in value files is supported. However, I tested with the following…
someone
  • 100
  • 2
  • 8
0
votes
1 answer

helmfile diff fails with "executing "stringTemplate" at <.Values.db.password>: map has no entry for key "password""

if condition fails if "password" does not exist under "db": {{- if .Values.db.password }} I can fix this by using: {{- if hasKey .Values.db "password" }} However, I'm pretty sure it is working even without this fix in other environments and trying…