Commit Graph

1252 Commits

Author SHA1 Message Date
Yusuke Kuoka 89950f3794
Merge branch 'main' into update_golang_lint 2022-08-14 12:21:10 +09:00
yxxhero 94b7a6c128
Cleanup pkg/config/config.go (#287)
Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-14 12:17:02 +09:00
David Ackroyd cf94a4edb3
Fix Inclusion of Releases for Other Environments (#276)
Fixing releases being included which do not match the environment
 requested, which is a regression introduced by #234. The issue remains
 when Helmfile state values are supplied, which is not a regression and
 will be addressed separately.

Partial resolution for #271

Signed-off-by: David Ackroyd <dackroyd@fairfaxmedia.com.au>

Signed-off-by: David Ackroyd <dackroyd@fairfaxmedia.com.au>
2022-08-14 10:47:47 +09:00
yxxhero 8c4a122be4
Merge pull request #282 from AnatolyRugalev/patch-1
Update ArchLinux installation instructions
2022-08-14 07:49:05 +08:00
Anatoly Rugalev 75aa0e5a21 Update ArchLinux installation instructions
Signed-off-by: Anatoly Rugalev <anatoly.rugalev@gmail.com>
2022-08-14 01:46:55 +02:00
yxxhero 8690d63401 fix lint error
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-13 07:40:32 +08:00
yxxhero 18942e2a2c update golang lint
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-12 20:36:09 +08:00
yxxhero f309dc3332
Merge pull request #284 from kuzaxak/skip_missing_remote_secrets
Add file existence check for remote values
2022-08-12 15:41:38 +08:00
Vladimir Kuznichenkov 6c1b6f855a
Add file existence check for remove values
If remote file isn't present in repo we will add it anyway to the files list and check `if len(files) == 0 {` never will be true. That leads to missing section with `MissingFileHandler`.

That fix check that cloned file actually exists. In that case if we add a link to non-existing remote file `MissingFileHandler` will be called as expected.

Signed-off-by: Vladimir Kuznichenkov <kuzaxak.tech@gmail.com>
2022-08-12 10:01:56 +03:00
yxxhero 86bfb5689a
Merge pull request #280 from helmfile/dependabot/go_modules/go.uber.org/zap-1.22.0
build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0
2022-08-10 07:15:33 +08:00
dependabot[bot] 13bac519d0
build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 15:35:45 +00:00
yxxhero 2cb4bdba1a
Merge pull request #274 from helmfile/fix_cobra_flag_default_value
Refactor cobra flag default values for readability
2022-08-08 09:55:21 +08:00
Yusuke Kuoka eabf360fe8
Merge branch 'main' into fix_cobra_flag_default_value 2022-08-08 10:35:32 +09:00
yxxhero 5d0a5671f2
fix go.mod (#275)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-08 10:35:02 +09:00
yxxhero 6a37ae9650
Add flags about need for lint subcmd (#273)
* fix typo

Signed-off-by: yxxhero <aiopsclub@163.com>

* add flags about needs for lint subcmd

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-08 10:32:30 +09:00
yxxhero 7488d7513e
Merge pull request #230 from helmfile/dependabot/go_modules/k8s.io/apimachinery-0.24.3
Bump k8s.io/apimachinery from 0.23.4 to 0.24.3
2022-08-06 16:54:16 +08:00
yxxhero 8beb69d08e fix cobra flag default value
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-06 15:04:34 +08:00
yxxhero 005ce66afa
Merge pull request #268 from axioscode/serge/fix-context-slash
fix: needs error with context that includes slash
2022-08-05 07:14:25 +08:00
Sergii Iefremov 5ac1e1fb98 feat: fix needs error with context that includes slash
Signed-off-by: Sergii Iefremov <sergii.iefremov@axios.com>
2022-08-04 11:18:57 -04:00
yxxhero 913a22e9aa
update doccs/index.md about CLI ref (#264)
* update doccs/index.md about CLI ref

Signed-off-by: yxxhero <aiopsclub@163.com>

* update docs/index.md about Getting Started

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-03 10:59:44 +09:00
yxxhero 329ec766fe
Merge pull request #266 from jouve/jouve-patch-1
remove selector override in cmd/apply
2022-08-01 17:35:07 +08:00
Cyril Jouve a405a52609 remove selector override in cmd/apply
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-08-01 11:19:42 +02:00
yxxhero 9af8f1286a
Merge pull request #254 from vasicvuk/main
Implement readDirEntries method
2022-07-27 19:00:38 +08:00
vasicvuk 68d7c5f6a4 Implement readDirEntries method
Signed-off-by: vasicvuk <vuk.vasic@asseco-see.rs>
2022-07-26 16:20:38 +02:00
yxxhero 4e9b99d10e
Merge pull request #258 from xiaomudk/patch-4
fix: OCI Url and Version parse error
2022-07-23 21:14:04 +08:00
xiaomudk 59ffa687df fix: OCI Url and Version parse error
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 20:52:32 +08:00
yxxhero 70d2dd653b
Merge pull request #257 from xiaomudk/patch-2
test: Add unit tests for ChartPull
2022-07-23 18:53:48 +08:00
xiaomudk cf62499d4a test: Add unit tests for ChartPull
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 18:41:59 +08:00
yxxhero 72579d9386
Merge pull request #256 from xiaomudk/patch-1
test: Add unit tests for ChartExport
2022-07-23 17:36:56 +08:00
xiaomudk 70fd920384 test: Add unit tests for ChartExport
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 16:32:09 +08:00
yxxhero 6dc1736f15
Merge pull request #250 from jouve/fix-cli
revert environment long option from --env to --environment
2022-07-22 06:49:47 +08:00
yxxhero 7417da6d98
Merge pull request #252 from jouve/fix-help
correct --help cli arg regression
2022-07-22 06:29:22 +08:00
Cyril Jouve a97ff87fa1
correct --help cli arg regression
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-07-21 19:08:08 +02:00
Cyril Jouve a4dee77430
revert --env long option to --environment
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-07-21 18:47:52 +02:00
yxxhero d27765148e
Merge pull request #245 from helmfile/local-chart-repo-server-integration-test
E2E helmfile-template testing with local chart repo server
2022-07-20 21:47:25 +08:00
Yusuke Kuoka 098684c136 E2E helmfile-template testing with local chart repo server
This similar to #239, but different in that it involves a local helm chart repo server instead of a local OCI registry as the container of the chart used in tests.

This also adds a new `localChartRepoServer.enabled` config to the `config.yaml` of each test case directory to enable the local helm repo server in the test, which might be useful when you want to add another test case that involes a remote chart(which is hosted in the local chart repo server).

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-07-20 11:59:32 +00:00
dependabot[bot] 5e0368451e
Bump k8s.io/apimachinery from 0.23.4 to 0.24.3
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.23.4 to 0.24.3.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.23.4...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 12:07:55 +00:00
yxxhero 85ade797ab
Use cobra (#234)
switch to cobra

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-19 21:06:18 +09:00
yxxhero 35453566df
Merge pull request #240 from xiaomudk/doc
doc: getting start adds repositories configuration
2022-07-19 10:29:57 +08:00
xiaomudk cdea0ff080 doc: getting start adds repositories configuration
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-19 10:28:01 +08:00
yxxhero 3a5d4cb62f
Merge pull request #241 from toVersus/test/cleanup-snapshot
chore: clean up snapshot test
2022-07-19 06:48:46 +08:00
Tsubasa Nagasawa ac1edafe9a
chore: clean up snapshot test
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2022-07-19 00:08:09 +09:00
yxxhero 93b1ac2b19
Merge pull request #239 from helmfile/local-oci-integration-test
Add integration test for #238 with local docker registry as a OCI-based helm chart repo
2022-07-18 22:32:06 +08:00
Yusuke Kuoka 48ae800f79 Add integration test with local oci repo
Follow-up for #238

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-07-18 13:43:01 +00:00
yxxhero eb0415b139
Merge pull request #162 from helmfile/qtran/version-dev
on canary build, version should show "0.0.0-dev"
2022-07-18 19:25:13 +08:00
Quan TRAN 9884e4fdb1 (fix) path on windows
ci
on canary build, version should show "0.0.0-dev"

Signed-off-by: Quan TRAN <account@itscaro.me>
2022-07-18 11:07:58 +02:00
yxxhero a4b914abc7
Merge pull request #238 from toVersus/feat/bump-chartify-v0.10.0
feat: bump chartify to v0.10.0 to support OCI registry for adhoc dependencies
2022-07-18 16:12:53 +08:00
Tsubasa Nagasawa 7141003106
feat: bump chartify to v0.10.0 to support OCI registry for adhoc dependencies
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>

This adds OCI registry support for adhoc dependencies.
The users can now add their OCI hosted charts as dependencies to helm releases:

* Bump chartify version to v0.10.0
* Add an example helmfile to advanced usage section
2022-07-18 15:58:39 +09:00
yxxhero b3f4b78cd9
update Readmd.md (#236)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-18 14:06:25 +09:00
yxxhero 122cb25b6a
Merge pull request #237 from helmfile/bug-report-improvement-working-ver
Include the working helmfile ver in the bug report
2022-07-18 11:46:25 +08:00