Commit Graph

1380 Commits

Author SHA1 Message Date
yxxhero b347eec6f2 add more tests
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-03 11:47:46 +08:00
yxxhero 5367fbe549 add more tests
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-03 11:24:58 +08:00
yxxhero f6fd754386 add more tests
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-03 11:09:02 +08:00
yxxhero 14ba7cd156 bump: upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-03 05:24:51 +08:00
yxxhero 2a7669f8fa
Merge pull request #386 from helmfile/dependabot/go_modules/k8s.io/apimachinery-0.25.2
build(deps): bump k8s.io/apimachinery from 0.25.1 to 0.25.2
2022-09-24 06:32:51 +08:00
dependabot[bot] 1328d24452
build(deps): bump k8s.io/apimachinery from 0.25.1 to 0.25.2
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.25.1 to 0.25.2.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.25.1...v0.25.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 21:57:02 +00:00
yxxhero da60e90bc0
Merge pull request #387 from helmfile/dependabot/go_modules/helm.sh/helm/v3-3.10.0
build(deps): bump helm.sh/helm/v3 from 3.9.4 to 3.10.0
2022-09-24 05:54:25 +08:00
dependabot[bot] 85f050d2e5
build(deps): bump helm.sh/helm/v3 from 3.9.4 to 3.10.0
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.9.4 to 3.10.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.9.4...v3.10.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 15:47:26 +00:00
yxxhero 6408ff1319
Merge pull request #376 from helmfile/dependabot/go_modules/k8s.io/apimachinery-0.25.1
build(deps): bump k8s.io/apimachinery from 0.24.4 to 0.25.1
2022-09-23 18:13:57 +08:00
dependabot[bot] 7cf010bb15 build(deps): bump k8s.io/apimachinery from 0.24.4 to 0.25.1
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.24.4 to 0.25.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.24.4...v0.25.1)

---
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-09-20 10:26:17 +08:00
yxxhero d94f740f45
Merge pull request #378 from helmfile/mumoshu-patch-1
Update towards-1.0.md
2022-09-20 07:57:06 +08:00
Yusuke Kuoka 466661c223 Update towards-1.0.md
A small enhancement to the 1.0 proposal.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 23:33:30 +00:00
yxxhero 0a1b6c0907
Merge pull request #377 from helmfile/dependabot/go_modules/helm.sh/helm/v3-3.9.4
build(deps): bump helm.sh/helm/v3 from 3.8.1 to 3.9.4
2022-09-20 06:13:37 +08:00
dependabot[bot] 7f3076a054
build(deps): bump helm.sh/helm/v3 from 3.8.1 to 3.9.4
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.8.1 to 3.9.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.8.1...v3.9.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 15:50:34 +00:00
yxxhero 3c151b8d45
Merge pull request #375 from helmfile/bump-chartify
Bump chartify to v0.11.0
2022-09-19 15:25:20 +08:00
Yusuke Kuoka 1f4af59c5f Bump chartify to v0.11.0
Resolves #229 and #308 via https://github.com/variantdev/chartify/pull/39 and https://github.com/variantdev/chartify/pull/38

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 06:51:16 +00:00
yxxhero e4d36e44fb
Merge pull request #374 from helmfile/fix-diff-selector-not-working-on-installed-false
Fix not to ignore diff selector when it matched nothing
2022-09-19 13:51:59 +08:00
Yusuke Kuoka c90cace43b fixup! Fix not to ignore diff selector when it matched nothing
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 04:46:52 +00:00
Yusuke Kuoka 6aeb6b38ba Fix not to ignore diff selector when it matched nothing
Fixes #327

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 04:46:52 +00:00
yxxhero 24810a45ae
Merge pull request #79 from Sajfer/preapply
Add preapply hook
2022-09-19 10:58:04 +08:00
Yusuke Kuoka bb13ef68d7 fixup! Add more testcases for hooks
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 02:31:07 +00:00
Yusuke Kuoka 385c3e80ef Add documentation about the new preapply hook
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 02:28:11 +00:00
Yusuke Kuoka dc40ccde2e Add more testcases for hooks
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 02:19:42 +00:00
Yusuke Kuoka 793050cc18 Defer implementing preapply hook start logs to another commit/pr
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 00:44:31 +00:00
Yusuke Kuoka 9e673ca902 Write preapply notice to debug log instead of info
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 00:27:33 +00:00
Yusuke Kuoka 5b1606df75 fixup! Updates based on review comments
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 3c0456c577 Updates based on review comments
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 5b88006e86 Update documentation
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 1e9cce7d36 Fix lint errors
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting f0b76e9e26 Fixes for updates from rebase
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting fcdd852153 Add unittests for new preapply functions
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting ea56061609 Move preapply code to separate function
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting ca7942c751 Uncomment code that was accidentally commented out
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting eb2419aa15 Remove unnecessary if statement
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting c6e8afd3d0 Remove logic that limits execution of hooks to only once
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 32477e6cf2 Fix merge conflicts
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting db81f18095 Only run preapply or presync
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 1a3c11dffd Add unittests for preapply
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting 4e5987d833 Add preapply hook
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
yxxhero 9019cec4ac
Merge pull request #373 from helmfile/update_cli_ref
update CLI Ref
2022-09-19 07:46:32 +08:00
yxxhero a1c8926a86 fix enable-live-output style
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-18 20:21:10 +08:00
yxxhero fa8dcc2c8f update CLI Ref
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-18 20:18:57 +08:00
yxxhero 0341027bc0
Merge pull request #371 from toVersus/fix/oci-pull-bug
fix: add missing untar flag to pull chart from oci registry
2022-09-18 19:36:39 +08:00
Tsubasa Nagasawa 7b40cefdda
fix: add missing untar flag to pull chart from oci registry
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2022-09-18 19:11:34 +09:00
Tsubasa Nagasawa e8a7e23d4d
chore: add e2e test case for helm template with oci based helm chart
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2022-09-18 19:11:26 +09:00
yxxhero 18eee1fa47
move interactive option to global (#370)
Fixes #366

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-18 18:47:40 +09:00
yxxhero 7d88370310
Merge pull request #372 from helmfile/tidy-up-var-scope
chore: Tidy up a local var scopinng for maintainability
2022-09-18 17:46:24 +08:00
Yusuke Kuoka 2663ac4f1b chore: Tidy up a local var scopinng for maintainability
Ref https://github.com/helmfile/helmfile/pull/279#discussion_r973675321

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 09:44:53 +00:00
Arpan e1ca846772
added option for --no-hooks for helm diff and apply (#279)
* added option for --no-hooks for helm diff and apply

Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>

* test case for --no-hooks

Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>

* fix test fails

Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>

* Resolve conflict with main

Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>

* fixup! Resolve conflict with main

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Add no-hooks case for diff test

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* fixup! Add no-hooks case for diff test

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Arpan Adhikari <arpan@thephotostudio.com.au>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 18:41:27 +09:00
Jean-Yves CAMIER b8cf0f156e
fix(oci): clean dead code (#290)
fix(oci): remove dead code

Signed-off-by: Jean-Yves CAMIER <jycamier@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 16:34:16 +09:00