Javier Palacios
8f8669778c
Support for azure acr helm repositories ( #1526 )
...
Adds a basic support for Helm repositories hosted on Azure Container Registry (not OCI but classic ones). Add a new field to RepositorySpec to state that is externally managed and runs the `az-cli` command instead of the helm one to manage the repository.
2020-10-15 08:45:45 +09:00
Yusuke Kuoka
563fce4adf
Bump vals ( #1537 )
...
To incorporate unexpected SSM secret exposure issue when the parameter version is specified.
See https://github.com/variantdev/vals/pull/37
2020-10-14 09:56:17 +09:00
Karl Stoney
b287101625
Update USERS.md ( #1535 )
...
Adding AT as a User :-)
Thanks for your OSS efforts!
2020-10-14 08:38:30 +09:00
Yusuke Kuoka
ab9fb2c9dc
Fix concurrent-map-iteration-and-write errors while running release hooks ( #1534 )
...
Fixes #1495
2020-10-13 14:49:01 +09:00
Yusuke Kuoka
c170b5a621
Minor tweaks for `helmfile write-values` ( #1533 )
...
See 1 and 3 in https://github.com/roboll/helmfile/issues/1460#issuecomment-691863465
2020-10-13 09:33:49 +09:00
Yusuke Kuoka
d9286ed8f6
Fix intermittent failures while building deps on local chart ( #1532 )
...
Fixes #1521
2020-10-13 09:14:45 +09:00
Yusuke Kuoka
3018e82902
Fix multiple --set in --args messed up in `helmfile template` ( #1529 )
...
Fixes #1520
2020-10-13 08:38:06 +09:00
Yusuke Kuoka
34acf14d7c
Bump chartify to v0.4.3 ( #1528 )
...
This fixes the bug that generated Chart.yaml misses the `apiVersion` field which resulted in `helm lint` always failing on the generated chart.
Fixes #1527
2020-10-12 09:23:58 +09:00
Wi1dcard
5d8eba9b29
Append --force-update for specific helm versions. ( #1494 )
...
* Parse and process helm version using github.com/Masterminds/semver/v3.
* Add --force-update only when Helm version >= 3.3.2, < 3.3.4.
See: https://github.com/helm/helm/pull/8777 .
* Add test cases.
2020-10-12 09:20:55 +09:00
Roderik van der Veer
b284b7be83
chore: add SettleMint to the USERS list ( #1516 )
2020-10-12 09:11:14 +09:00
Allie
b293ac1f83
Fix typo ( #1523 )
2020-10-12 08:58:05 +09:00
Matthias Baur
8d9d635b8b
Clarify namespace prefix in needs ( #1500 )
...
Before this, the documentation didn't mention that the release needs to
be prefixed with the namespace if the release had a namespace configured.
2020-10-05 08:51:39 +09:00
mdaisuke
954673d742
Fix: forceNamespace needs shouldRun is true ( #1510 )
2020-10-02 08:27:39 +09:00
Yusuke Kuoka
942b9a64c0
Add support for ChartCenter ( #1492 )
...
Resolves #1326
2020-09-21 15:31:24 +09:00
Yusuke Kuoka
b176408eb2
Enable `helmfile test` testing only enabled and selected releases ( #1486 )
...
Resolves #1483
2020-09-21 09:44:05 +09:00
Yusuke Kuoka
ff81b2f279
Enable release hook template to access .Values ( #1485 )
...
Fixes #1484
2020-09-21 09:43:30 +09:00
Andrii Dembitskyi
8db03f979c
Drop duplicated entry in extra functions list from readme ( #1490 )
2020-09-21 09:42:47 +09:00
Wi1dcard
988c218096
Support the latest Helm (>=v3.3.2) and bump the Helm version in Docker image. ( #1488 )
...
Changes:
* Bump Helm to v2.16.12 and v3.3.3.
* Add --force-update only when using Helm 3.
2020-09-21 09:41:49 +09:00
Yusuke Kuoka
028bcc51dc
Treat selector with multiple conditions an AND ( #1478 )
...
Fixes #1477
2020-09-15 09:56:05 +09:00
Yusuke Kuoka
5dd65e8d9a
Bump vals ( #1475 )
...
Ref https://github.com/variantdev/vals/issues/34
2020-09-14 20:37:51 +09:00
Or Biran
134d5beba2
Add tailormed to users ( #1467 )
...
* Update USERS.md
2020-09-13 09:47:18 +09:00
Jason Witkowski
87d04f0202
Append KubeContext to temporary directory path ( #1471 )
...
Fix bug where KubeContext is not taken into account in temporary directories
2020-09-13 09:46:08 +09:00
vugardzhamalov
2d7c8e7525
Update README.md ( #1472 )
...
Made a small change to Global Hooks example in order to remove release name reference - this was probably copy/pasted from Hooks section
2020-09-13 09:41:21 +09:00
Yusuke Kuoka
0fad9f0544
Add experimental write-values command for writing values files only ( #1469 )
...
Ref #1460
2020-09-11 22:19:36 +09:00
Yusuke Kuoka
832dcf47a5
Re-add Release.Namespace in release values.yaml templates ( #1466 )
...
It was accidentally removed in #1424 , and had been unexpectedly unavailable between v0.126.0 and v0.128.1.
Fixes #1464
2020-09-10 21:08:20 +09:00
Harshal Shah
1d2c8b8a3a
Adding hellofresh as a helmfile user ( #1465 )
2020-09-10 09:41:53 +09:00
Yusuke Kuoka
0482ba3b6f
Fix `index out of range [1] with length 1` error on env2map ( #1463 )
...
This happened only when helmfile is run in an environment that any environment variable definition does not include `=` and the right side.
2020-09-08 11:23:36 +09:00
Johannes Alkjær
9d2c0d4285
Bump sprig to v3.1.0 and mergo 3.11 ( #1456 )
...
* Bump sprig to v3.1.0
test for mergeOverwrite
* Let mergo not (accidentally) try to merge unexported fields
This is also a good chance separate `HelmState` with the config loaded from YAML, which I had been wanting to do for a long time.
Co-authored-by: Johannes Alkjær <johannes.alkjaer@wunderman.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2020-09-04 09:58:54 +09:00
Yusuke Kuoka
efd26f288a
Bump sprig to v3 ( #1452 )
...
Resolves #1294
Resolves #1447
2020-09-01 19:10:29 +09:00
Yusuke Kuoka
5f1698d0ed
Fix wrong deletion order ( #1451 )
...
Fixes #1450
2020-09-01 17:36:11 +09:00
Yusuke Kuoka
2ecf5780f3
Revise GitOps doc a bit
2020-09-01 12:11:26 +09:00
Yusuke Kuoka
3e6542e341
Fix test flake for `commonLabels` ( #1449 )
...
Ref https://github.com/roboll/helmfile/pull/1415#issuecomment-684139831
2020-09-01 10:52:08 +09:00
Yusuke Kuoka
d3daea3137
Fix panic on hook since v0.126.0 ( #1448 )
...
Fixes #1445
2020-09-01 10:37:21 +09:00
Yusuke Kuoka
19d79427a1
Add experimental "forceNamespace" in helmfile.yaml ( #1444 )
...
This is an experimental feature to support a potential use-case that you need to set namespaces in manifests rendered by `helmfile template`, WHEN the chart is unconventional hence does not have `namespace: {{ .Namespace }}`.
Rather than using this, you should usually fork/maintain or update/pull-request the chart to have `namespace: {{ .Namespace }}`.
Use this only when you CAN NOT do so, but still need to use `helmfile template`.
2020-09-01 10:13:27 +09:00
Yusuke Kuoka
cd0ecc5263
Fix build error after `helmfile build --embed-values` addition
...
This is a follow-up for #1436
2020-08-29 15:01:22 +09:00
AdamClark
dc6c59dc14
Print command output in line ( #1354 )
...
This is an attempt to log helm exec output as the helm exec command is running. It only prints if the --debug flag is set.
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2020-08-29 14:47:22 +09:00
Yusuke Kuoka
0fc0869671
feat: `helmfile build --embed-values` to embed release values and secrets into the output ( #1436 )
2020-08-29 13:18:17 +09:00
Maksym Lushpenko
5ca7ce15bc
feat: common labels for all releases in a helmfile ( #1415 )
...
This adds `comonLabels` option to helmfile by:
- Adding `CommonLabels` to HelmState
- Changing `markExcludedReleases` and `ListReleases` functions to merge common labels into release labels
Resolves #1266
2020-08-29 13:14:58 +09:00
Pawel Przeszlo
6b4b76e2bc
HELMFILE_ENVIRONMENT variable ( #1425 )
...
Co-authored-by: Pawel Przeszlo <pawel.przeszlo@comarch.pl>
2020-08-29 13:10:07 +09:00
Joshua Hansen
7b11ce851a
feat: Allow .Release.Name to be used in gotmpl values templates ( #1424 )
...
This adds the ability to utilize `.Release` inside of gotmpl files as discussed [here](https://github.com/roboll/helmfile/issues/760 ).
Resolves: https://github.com/roboll/helmfile/issues/760
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2020-08-29 13:07:46 +09:00
Yusuke Kuoka
c575587e1f
Merge pull request #1442 from roboll/fix-duplicate-with-kubectx-per-release
...
Fix kubeContext not taken into account for release uniqueness
2020-08-29 11:45:13 +09:00
Yusuke Kuoka
f2dfa7ce64
Fix kubeContext not taken into account for release uniqueness
...
Fixes #1440
2020-08-29 11:33:05 +09:00
Yusuke Kuoka
41cd1fe4a6
Fix race while running `helm dep build` on local chart ( #1439 )
...
* Fix race while running `helm dep build` on local chart
Fixes #1438
2020-08-29 10:24:48 +09:00
Yusuke Kuoka
9e54af5c2c
fixup! fixup! Fix race while running `helm dep build` on local chart
2020-08-29 10:14:42 +09:00
Yusuke Kuoka
8a43e8f782
fixup! Fix race while running `helm dep build` on local chart
2020-08-29 10:04:09 +09:00
Yusuke Kuoka
94e01b79e0
Bump chartify to 0.4.2 ( #1437 )
...
To fix the issue that adhoc json patches were not working on kustomize/raw manifests.
Note that regular kustomize project was working. In other words, this only affetcts `chart: path/to/dir` combined with `jsonPatches: ...` when the `path/to/dir` points to a kustomize project or a local directory containing raw K8s manifests.
Ref https://github.com/roboll/helmfile/issues/1434#issuecomment-682247709
2020-08-28 21:13:04 +09:00
Ben Mathews
85e77982bf
Update to the latest version of helm-diff plugin ( #1430 )
...
This is needed to support the --disable-validation flag added into
helmfile
2020-08-28 21:12:44 +09:00
Yusuke Kuoka
b42e847154
Fix race while running `helm dep build` on local chart
...
Resolves #1438
2020-08-28 20:08:44 +09:00
Yusuke Kuoka
14e2b9ed93
Fix regression in helmfile deps ( #1431 )
...
Fixes #1421
2020-08-27 09:22:02 +09:00
Anatoly Rugalev
90a41222e6
fix: panic when using helm v3.3 ( #1427 ) ( #1428 )
2020-08-24 08:57:17 +09:00