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
1
vote
1 answer

How do I assign value to variable in helmfile?

How do I assign a variable within a helmfile? context: example.com # kube-context (--kube-context) releases: # Published chart example - name: controller-pod-nginx # Name of this release namespace:…
user2156115
  • 1,169
  • 4
  • 17
  • 30
0
votes
0 answers

Helm dependency problem: dependencies among charts within an umbrella

I've got an umbrella chart which installs a few dependencies which, it turns out, have dependencies among themselves. Umbrella: chart A chart B Chart B creates a secret which gets used within chart B's configmap. It does fail to install as the…
pedr0
  • 2,941
  • 6
  • 32
  • 46
0
votes
0 answers

Context deadline exceeded when runnung helmfile command

when I try to deploy a new build of my k8s deployment using this command: helmfile -f -e apply I get this error: FAILED RELEASES: NAME xxx-api in ../../helmfiles/xxx.yaml: failed processing release xxx: command…
Amarichey
  • 11
  • 2
0
votes
0 answers

Error while deploying the app "reading document at index 1: yaml: unmarshal errors: key "chart" already set in map"

When deploying the application in the Kubernetes cluster (AWS EKS v1.26) and with the updated client as kubectl@1.26.3, helm@3.11.3, and helmfile@0.153.1, I'm getting the below issue failed to read install.yaml: reading document at index 1: yaml:…
0
votes
1 answer

Deploy Helm Charts in parallel with conditionals and dependencies

I'm currently using Ansible to template out Helm values files and deploy Helm charts to Kubernetes. However, this happens in sequence and generally takes a long time to deploy because of the number of Helm charts needed to deploy. I'm looking for a…
Joe J
  • 9,985
  • 16
  • 68
  • 100
0
votes
0 answers

how to install chart marked as development via helmfile

i'm trying to install a chart marked as "development" via helmfile but getting a 'Release name is invalid' error. I can find this chart using helm search repo --devel but apparently there is no such flag in helmfile. Could someone please help me…
Takagi
  • 11
  • 2
0
votes
1 answer

Helmfile with additional resource without chart

I know this is maybe a weird question, but I want to ask if it's possible to also manage single resources (like f.e. a configmap/secret) without a seperate chart? F.e. I try to install a nginx-ingress and would like to additionally apply a secret…
0
votes
1 answer

How to create dependency between releases in helmfile

I have a following helmfile and I want for nexus, teamcity-server, nexus, hub to be depended on certificates chart releases: - name: certificates createNamespace: true chart: ./charts/additional-dep namespace: system values: -…
0
votes
0 answers

How to include dynamic configmap and secrets in helmfile

I am using helmfile to deploy multiple sub-charts using helmfile sync -e env command. I am having the configmap and secretes which I need to load based on the environment. Is there a way to load configmap and secretes based on the environment in the…
Soorya Prakash
  • 921
  • 3
  • 9
  • 29
0
votes
0 answers

error during helmfile.yaml.part.0 parsing :

I am running my pipeline in gitlab .. and this pipeline pull a helmfile from a github repo.. and when i am trying to deploy this error appears when start to put parsing because my values file like that kubeContext: cech027 this is the helmfile ` #…
Narjess
  • 3
  • 3
0
votes
0 answers

What could be the problem with templating in Helmfile

I have a following Helmlife: environments: {{ range $index,$item := readDirEntries "./environment" }} {{- if $item.IsDir -}} {{- $item.Name -}} {{- end -}} {{- end -}} releases: - name: system-{{ .Environment.Name }} …
0
votes
1 answer

How to get specific branch from chart repository for Helmfile

Do I need to include repositories field in Helmfile, If it is the local helm chart and It would not be needed to be donwloaded? Right now I have folloving helmfile.yaml: repositories: - name: system-test url:…
0
votes
1 answer

Does helmfile sync will redeploy all existing helm charts

I have a few services running on a kubernetes cluster, and I use Helm Chart where I placed all my services. However, I was asked to transfer Helm Charts into Helmfile. If I use helmfile import myrepo/mychart helmfile sync Will it redeploy and…
0
votes
0 answers

Updating helmfile state in the cluster without a helmfile apply

is there a way to directly edit the helm state in a cluster without a helmfile apply? We're in a situation where we need to update resources (argo rollouts) managed by helmfile from outside, i.e., using either the Java APIs or directly editing them…
0
votes
0 answers

Helmfile error converting YAML to JSON: yaml: line 3: did not find expected key

I have created a Helmfile as this: templates: test: &test chart: charts/test1 namespace: ibm-mq missingFileHandler: Error values: - name: '{{`{{ .Release.Name }}`}}' and under Charts folder I have this value file: name:…
Anas Almohana
  • 27
  • 2
  • 4