35 messages
Questions and discussion around helmfile https://github.com/roboll/helmfile and https://github.com/cloudposse/helmfiles
Archive: https://archive.sweetops.com/helmfile/
Padarnover 5 years ago
anyone using helm provider in terraform: http://man.hubwiz.com/docset/Terraform.docset/Contents/Resources/Documents/docs/providers/helm/release.html
Padarnover 5 years ago
I'm trying to understand why you would choose
values over set or vice versaRoderik van der Veerover 5 years ago
Helmfile in one of the more recent values got these super nice debug messages
helm:pfRFE> wait.go:225: [debug] Deployment is not ready: staging-lavender-five/ingress-staging-lavender-five-ingress-controller. 0 out of 2 expected pods are ready but they are just thrown into the stdout or stderr (not sure). Is there a way these can be outputted in a computer parseable format? I would like to display them (cleaned up a bit) in an applications logging screen.Dang Voover 5 years ago
anybody here uses helmfile with Flux, i mean generate HelmRelease file for Flux deployment by
helmfile templaterssover 5 years ago
v0.130.2: Fix concurrent-map-iteration-and-write errors while running release h…
…ooks (#1534)
Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="706251141" data-permission-text="Title is private"...
…ooks (#1534)
Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="706251141" data-permission-text="Title is private"...
rssover 5 years ago(edited)
v0.130.2: Fix concurrent-map-iteration-and-write errors while running release h…
ab9fb2c (HEAD, tag: v0.130.2, origin/master, origin/HEAD, master) Fix concurrent-map-iteration-and-write errors while running release hooks (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="719761479"...
ab9fb2c (HEAD, tag: v0.130.2, origin/master, origin/HEAD, master) Fix concurrent-map-iteration-and-write errors while running release hooks (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="719761479"...
rssover 5 years ago(edited)
v0.130.3: Bump vals (#1537)
To incorporate unexpected SSM secret exposure issue when the parameter version is specified.
See variantdev/vals#37
To incorporate unexpected SSM secret exposure issue when the parameter version is specified.
See variantdev/vals#37
rssover 5 years ago(edited)
v0.130.3: Bump vals (#1537)
563fce4 (HEAD, tag: v0.130.3, origin/master, origin/HEAD, master) Bump vals (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="721048331" data-permission-text="Title is private"...
563fce4 (HEAD, tag: v0.130.3, origin/master, origin/HEAD, master) Bump vals (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="721048331" data-permission-text="Title is private"...
vixus0over 5 years ago
Bumping this PR because it would be really useful for our use case: https://github.com/roboll/helmfile/pull/1503
Vadim Bauerover 5 years ago
I would like to pass values and secrets as argument to the helmfile. The flag
How would I pass secrets files?
--state-values-file works only for values not secrets . I couldn't find the equivalent cli argument for the secret.How would I pass secrets files?
rssover 5 years ago(edited)
v0.131.0: Bump chartify to 0.4.4 (#1540)
To incorporate the fix for unconventional chart templates like seen in the Datadog chart variantdev/chartify@5443ca1
To incorporate the fix for unconventional chart templates like seen in the Datadog chart variantdev/chartify@5443ca1
rssover 5 years ago
v0.131.0: Bump chartify to 0.4.4 (#1540)
080080f (HEAD, tag: v0.131.0, origin/master, origin/HEAD, master) Bump chartify to 0.4.4 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="721884071" data-permission-text="Title is private"...
080080f (HEAD, tag: v0.131.0, origin/master, origin/HEAD, master) Bump chartify to 0.4.4 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="721884071" data-permission-text="Title is private"...
rssover 5 years ago(edited)
v0.132.0: Minor README improvement (#1543)
9ec4a85 (HEAD, tag: v0.132.0, origin/master, origin/HEAD, master) Minor README improvement (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="723045991" data-permission-text="Title is private"...
9ec4a85 (HEAD, tag: v0.132.0, origin/master, origin/HEAD, master) Minor README improvement (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="723045991" data-permission-text="Title is private"...
Erik Osterman (Cloud Posse)over 5 years ago
Checkout what @mumoshu whipped up! https://github.com/mumoshu/waypoint-plugin-helmfile
Trevor Hartmanover 5 years ago
hi, new helmfile user here. can i install manifests outside of charts using helmfile? for example, i want to apply some CRDs before installing a chart
Trevor Hartmanover 5 years ago
attempting to apply a simple helmfile with:
this results in
maybe this is masking another problem? because the chart repo and chart are correct (i installed it via plain helm already)
repositories:
- name: itscontained
url: <https://charts.itscontained.io>
helmDefaults:
verify: false
force: true
releases:
- name: secret-manager
labels:
group: vault
namespace: infra
chart: itscontained/secret-manager
version: 0.3.0
atomic: true
kubeContext: "{{ .Environment.Name }}"this results in
Error: Failed to render chart: exit status 1: Error: failed to download "itscontained/secret-manager" (hint: running `helm repo update` may help)maybe this is masking another problem? because the chart repo and chart are correct (i installed it via plain helm already)
Shreyank Sharmaover 5 years ago(edited)
Hello helm users.
have some questions on helm for Prometheus.
1 ) what is the difference between Prometheus-operator and kube-prometheus (what will be installed as part of Prometheus-operator and kube-prometheus )
2 ) I want to install prometheus-operator with version 0.29.0. in Chart.yaml undersources its pointing to https://github.com/coreos/prometheus-operator. but there is no value.yaml file. am i checking the right repo?
3) if i want to install prometheus-operator using local helm repo using custom value.yaml, which repo i should download.
Thank you
have some questions on helm for Prometheus.
1 ) what is the difference between Prometheus-operator and kube-prometheus (what will be installed as part of Prometheus-operator and kube-prometheus )
2 ) I want to install prometheus-operator with version 0.29.0. in Chart.yaml undersources its pointing to https://github.com/coreos/prometheus-operator. but there is no value.yaml file. am i checking the right repo?
3) if i want to install prometheus-operator using local helm repo using custom value.yaml, which repo i should download.
Thank you
Mark Hennemanover 5 years ago
Does anyone know how to iterate over files in a certain folder with helmfile?
Mark Hennemanover 5 years ago
{{- $root := . -}}
{{- range $path, $bytes := .Files.Glob .Values.filePattern }}
{{ base $path }}: |
{{ $root.Files.Get $path | b64enc }}
{{- end }}helm style seems not to work
Mark Hennemanover 5 years ago
in ./helmfile.yaml: failed to render values files "config/0-default/values.yaml.gotmpl": failed to render [config/0-default/values.yaml.gotmpl], because of template: stringTemplate:17:29: executing "stringTemplate" at <$.Files.Glob>: can't evaluate field Files in type state.releaseTemplateDatais the error I get
vixus0over 5 years ago
@Mark Henneman I don't think that's possible, what are you trying to achieve?
Mark Hennemanover 5 years ago
@vixus0 I have unknown number of files in a folder, which I want to read into a secret, where each filename is the key and the contents is a base64 string (secret volume).
vixus0over 5 years ago
I'm really struggling with this for some reason... Here's my problem:
• I am managing multiple k8s clusters, let's call them "environments".
• Each environment has some global config (AWS account ID, domain name, etc.) that gets used in release values.
• I have a common set of releases that should be applied to all clusters.
• I want to allow the possibility for each cluster to specify its own additional set of releases.
• Each release has values shared across all the clusters and also environment-specific values.
What's the best way to achieve this with helmfile?
• I am managing multiple k8s clusters, let's call them "environments".
• Each environment has some global config (AWS account ID, domain name, etc.) that gets used in release values.
• I have a common set of releases that should be applied to all clusters.
• I want to allow the possibility for each cluster to specify its own additional set of releases.
• Each release has values shared across all the clusters and also environment-specific values.
What's the best way to achieve this with helmfile?
rssover 5 years ago(edited)
v0.132.1: Disable dependency update while running helm-x/chartify in more cases…
… (#1548)
helm dep up is now skipped while running helm-x/chartify when the chart/directory is obtained by running go-getter, or skipDeps is configured...
… (#1548)
helm dep up is now skipped while running helm-x/chartify when the chart/directory is obtained by running go-getter, or skipDeps is configured...
rssover 5 years ago(edited)
v0.132.1: Disable dependency update while running helm-x/chartify in more cases…
0663831 (HEAD, tag: v0.132.1, origin/master, origin/HEAD, master) Disable dependency update while running helm-x/chartify in more cases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="724182522"...
0663831 (HEAD, tag: v0.132.1, origin/master, origin/HEAD, master) Disable dependency update while running helm-x/chartify in more cases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="724182522"...
Joaquin Menchacaover 5 years ago
Kustomize question. I was using the helmify.sh script, but one question, how do I inject namespace? I tried to use this method with an operator that uses ClusterRoleBinding . I ran into this:<http://ClusterRoleBinding.rbac.authorization.k8s.io|ClusterRoleBinding.rbac.authorization.k8s.io> "run-nfs-provisioner" is invalid: subjects[0].namespace: Required valueWhere:
kind: ClusterRoleBinding
apiVersion: <http://rbac.authorization.k8s.io/v1beta1|rbac.authorization.k8s.io/v1beta1>
metadata:
name: rook-nfs-operator
roleRef:
apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: ClusterRole
name: rook-nfs-operator
subjects:
- kind: ServiceAccount
name: rook-nfs-operator
namespace: <MY-NAME-SPACE-NEEDS-TO-MATCH>Joaquin Menchacaover 5 years ago
I am not sure on the strategy to handle this scenario...
Joaquin Menchacaover 5 years ago
It seems I have to use a static namespace
Joaquin Menchacaover 5 years ago
Is there a way to have helmfile apply gotemplating on some of kustomize files before I
helmify.sh it? Kustomize is so anti-DRY anti-cloud-native IMO, but I have to use it for many use cases where operators are used and there's no helm chart to use the operator.Shreyank Sharmaover 5 years ago
Hi Helm-Users,
When i do
this will fetch the helm latest stable helm chart, what command do i have use to download the specific version of helm chart????
Thank You
When i do
helm fetch --untar stable/velerothis will fetch the helm latest stable helm chart, what command do i have use to download the specific version of helm chart????
Thank You
voronover 5 years ago
Just add
Type
--version --version string specify the exact chart version to use. If this is not specified, the latest version is usedType
helm fetch --help to see possible optionsNicolás de la Torreover 5 years ago
Hi!
When using helmfile_release terraform resource, how do you handle helm repositories?
When using helmfile_release terraform resource, how do you handle helm repositories?
Shreyank Sharmaover 5 years ago
Hello Helm Users
in general if i fetch a helm chart repo using
will it refer the default
Thank you
in general if i fetch a helm chart repo using
helm fetch then, i write a custom value file i.e my-value.yaml and if do,helm install ./velero -f ./velero/my-value.yaml --name velero --namespace velerowill it refer the default
value.yaml which alreday is present or it will ignore the value.yaml ?Thank you