Commit Graph

2225 Commits

Author SHA1 Message Date
yxxhero 8b16d36903
feat: add 'hide-notes' flag to helm in sync and apply commands (#1746)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-10-21 09:52:56 -04:00
Zubair Haque 61439fbc34
chore: improve test assertions and descriptions for file download test (#1745)
improve test assertions and descriptions for file download test

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-10-19 20:52:01 +08:00
Zubair Haque 922cc15c50
feat: update sops version to 3.9.1 (#1742)
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-10-16 18:31:25 +08:00
Shane Starcher dea501cb10
[feature] --skip-refresh to pass through to deps (#1740)
--skip-refresh right now disables adding new repos, but in addition it
should pass down to helm deps update to not refresh the actual values

Signed-off-by: Shane Starcher <shane.starcher@gmail.com>
Co-authored-by: Shane Starcher <shane.starcher@gmail.com>
2024-10-15 22:26:59 +08:00
Felipe Santos fbf40b600f
feat: improve summary for releases failed to delete (#1735)
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2024-10-14 10:49:05 -04:00
dependabot[bot] c3913fb9ca
build(deps): bump github.com/helmfile/chartify from 0.20.2 to 0.20.3 (#1738)
Bumps [github.com/helmfile/chartify](https://github.com/helmfile/chartify) from 0.20.2 to 0.20.3.
- [Release notes](https://github.com/helmfile/chartify/releases)
- [Commits](https://github.com/helmfile/chartify/compare/v0.20.2...v0.20.3)

---
updated-dependencies:
- dependency-name: github.com/helmfile/chartify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 15:31:40 +08:00
dependabot[bot] 71a9adcdd3
build(deps): bump github.com/helmfile/vals from 0.37.5 to 0.37.6 (#1739)
Bumps [github.com/helmfile/vals](https://github.com/helmfile/vals) from 0.37.5 to 0.37.6.
- [Release notes](https://github.com/helmfile/vals/releases)
- [Changelog](https://github.com/helmfile/vals/blob/main/.goreleaser.yml)
- [Commits](https://github.com/helmfile/vals/compare/v0.37.5...v0.37.6)

---
updated-dependencies:
- dependency-name: github.com/helmfile/vals
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 11:53:46 +08:00
Shane Starcher b6ab825d3c
[feature] add --skip-refresh to globals (#1736) 2024-10-12 19:56:55 +08:00
Felipe Santos 4beb2ac042
fix: duration of delete failures are always 0s (#1734) 2024-10-12 06:58:38 +08:00
yxxhero cd0f603d4f
feat(helm-version): Update helm version to v3.16.2 (#1733)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-10-11 08:03:02 -05:00
Zubair Haque 9471fa29fa
chore: Update AGE var version (#1731) 2024-10-11 06:01:58 +08:00
dependabot[bot] 39a8c9001c
build(deps): bump helm.sh/helm/v3 from 3.16.1 to 3.16.2 (#1732)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.1 to 3.16.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.1...v3.16.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 11:56:06 -04:00
yxxhero f3c49ae53a
feat(pkg/policy): improve TopKeys function handling (#1730)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-10-09 20:57:03 +08:00
dependabot[bot] 349c471035
build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 (#1724)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/term/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:51:09 +08:00
dependabot[bot] 40e328d227
build(deps): bump github.com/zclconf/go-cty-yaml from 1.0.3 to 1.1.0 (#1723)
Bumps [github.com/zclconf/go-cty-yaml](https://github.com/zclconf/go-cty-yaml) from 1.0.3 to 1.1.0.
- [Changelog](https://github.com/zclconf/go-cty-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty-yaml/compare/v1.0.3...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty-yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:36:08 +08:00
yxxhero d6f5dbd2a9
feat: Update Docker image to ubuntu:24.10 (#1726)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-10-06 20:22:12 -05:00
yxxhero b375a31f20
feat: update go version and adjust dependencies in Dockerfile and go.mod (#1722)
* feat: update go version and adjust dependencies in Dockerfile and go.mod

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

* fix lint

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

* fix lint

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

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-30 09:21:44 -04:00
Zubair Haque 5963dd364d
update test to table driven with assertions & test GetMergedValues (#1721) 2024-09-27 05:27:19 +08:00
yxxhero 04b5151285
feat(pkg/app): Update Helm Diff version to v3.9.11 (#1720)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-26 09:46:58 -05:00
Zubair Haque 3483644581
fix docs build errors (#1715)
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-09-19 19:37:16 -05:00
yxxhero 8988892c53
build(deps): bump dario.cat/mergo from 0.3.16 to 1.0.1 (#1714)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-19 18:47:24 -05:00
Zubair Haque 8dc15f9970
update python3 version for mkdoc.yaml (#1712)
update python3 ver

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-09-18 07:11:12 +08:00
yxxhero 5c6572b492
Add hide notes support (#1710)
* add --hide-notes support

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-17 20:24:19 +08:00
yxxhero fc9f0b66c0
add zhaque44 in CODEOWNERS (#1711)
Update CODEOWNERS

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-17 12:23:21 +08:00
yxxhero 2d863a7910
bump all helm to 3.16.1 (#1708)
* bump all helm to 3.16.1

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

* bump all helm to 3.16.1

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

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-13 08:37:33 +08:00
dependabot[bot] 74bdd41354
build(deps): bump helm.sh/helm/v3 from 3.15.4 to 3.16.1 (#1707)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.4 to 3.16.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.4...v3.16.1)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 07:16:34 +08:00
dependabot[bot] 64801774ed
build(deps): bump k8s.io/apimachinery from 0.31.0 to 0.31.1 (#1705)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.31.0 to 0.31.1.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.0...v0.31.1)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 06:53:50 +08:00
Yusuke Kuoka abff903d0c
Add comment withPreparedCharts (#1704)
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2024-09-12 21:59:40 +09:00
yxxhero 18529ab7c5
fix: two releases using the same chart in different version fails (#1685)
* fix: two releases using the same chart in different version fails

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-12 20:26:45 +08:00
Zubair Haque 65f4e6122a
chore: add table driven tests for clarity (#1702)
add table driven tests for clarity

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-09-11 15:52:42 +08:00
dependabot[bot] 74cb429fb4
build(deps): bump github.com/helmfile/vals from 0.37.3 to 0.37.5 (#1700)
Bumps [github.com/helmfile/vals](https://github.com/helmfile/vals) from 0.37.3 to 0.37.5.
- [Release notes](https://github.com/helmfile/vals/releases)
- [Changelog](https://github.com/helmfile/vals/blob/main/.goreleaser.yml)
- [Commits](https://github.com/helmfile/vals/compare/v0.37.3...v0.37.5)

---
updated-dependencies:
- dependency-name: github.com/helmfile/vals
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 08:36:26 -05:00
Vedran Kolka 4821b1d498
Fixed typo in configuration section (#1698)
* chore: Update Ubuntu image to LTS version 24.04 (#1696)

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
Signed-off-by: Vedran Kolka <vedran.kolka@syntio.net>

* Fixed typo in configuration section

The comment for setting the password for a Helm repository said it was the "username". Changed it to "password"
Signed-off-by: Vedran Kolka <vedran.kolka@syntio.net>

---------

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
Signed-off-by: Vedran Kolka <vedran.kolka@syntio.net>
Co-authored-by: Patrick Hobusch <pathob@users.noreply.github.com>
Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
2024-09-10 07:16:46 +08:00
Patrick Hobusch 2ec61d8491
chore: Update Ubuntu image to LTS version 24.04 (#1696)
Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-09-09 21:11:53 +08:00
Peoplelike b6ad96f105
optimize code (#1694)
* fix something

Signed-off-by: lijianxin <1430473452@qq.com>
2024-09-07 12:43:41 +08:00
yxxhero 224e0f6c6a
feat: bump chartify versions (#1693)
* feat: bump chartify versions

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-07 12:39:42 +08:00
dependabot[bot] ca4f87530f
build(deps): bump golang.org/x/term from 0.23.0 to 0.24.0 (#1689)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/term/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 20:45:05 +08:00
Zubair Haque 43fd5b21fc
feat: update golang minor version based on security vulnerability (#1690) 2024-09-05 07:19:14 +08:00
yxxhero 5ccb35df5a
fix verify stage for helmfile when use oci as chart (#1661)
* fix verify stage for helmfile when use oci as chart

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-04 08:17:58 +08:00
Zubair Haque 5a48c1d8bb
feat: fix password registry leak of credentials (#1687)
* fix password registry issue

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-09-04 06:27:18 +08:00
yxxhero d9eb271ab7
feat: upgrade helm-diff plugin version to 3.9.10 (#1688) 2024-09-03 09:05:22 +08:00
Zubair Haque b73546356c
feat: upgrade to k8s version to a supported version for security compliance (#1686) 2024-09-01 20:01:23 +08:00
dependabot[bot] e4936dcec9
build(deps): bump github.com/Masterminds/sprig/v3 from 3.2.3 to 3.3.0 (#1684)
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/Masterminds/sprig/releases)
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.3...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 07:45:10 +08:00
dependabot[bot] 9ecdbd4105
build(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0 (#1683)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/semver/compare/v3.2.1...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 10:10:08 +08:00
Zubair Haque 04a258dc15
feat: skip chart prep for local (#1681)
* skip chart prep for local

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* rm whitespace

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* update based on linting comments

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* use func

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* update slices & handle concurrency

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* rm misc comment

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* default to 1 value

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

* rm concurrency handling

Signed-off-by: zhaque44 <haque.zubair@gmail.com>

---------

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-08-28 09:06:43 +08:00
ennekein 2cc995e508
feat: adding ability for for charts to be pulled with plain HTTP (#1672)
* eat: adding ability for for charts to be pulled without HTTPS

accomplished by:

- Adding PlainHttp attribute to RepositorySpec., HelmDefault, ReleaseSpec
- Adding UnitTests for getOCIChart Flags.
- Adding funciton and unitTests for getChartDownload
- Changing and refactoring how Flags are added to getOCIChart.

Resolves #1224

Signed-off-by: Peter Halliday <peter.halliday@servicenow.com>

* Pass PlainHttp to OCI repo options, fix unit test

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Fix doc

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Use repository fields in non-OCI chart download options

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Update hashes in TestGenerateID

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Make sure repo exists when using its options

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Do not add TLS options if PlainHttp is set, adapt unit tests

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Fix doc

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Remove 'else if' from appendChartDownloadFlags

Signed-off-by: Pascal Rivard <privard@rbbn.com>

---------

Signed-off-by: Peter Halliday <peter.halliday@servicenow.com>
Signed-off-by: Pascal Rivard <privard@rbbn.com>
Co-authored-by: Peter Halliday <peter.halliday@servicenow.com>
Co-authored-by: Pascal Rivard <privard@rbbn.com>
2024-08-27 08:00:20 +08:00
dependabot[bot] ebba6a0452
build(deps): bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 (#1679)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 07:10:32 +08:00
Zubair Haque 55681c206c
feat: update kustomize version (#1677) 2024-08-26 06:26:26 +08:00
yinheli bd63dc2752
Add RightCapital to USERS.md (#1676) 2024-08-24 05:14:38 +08:00
Chris Doherty b520e429de
fix: _*.tpl files add whitespace to empty Namespace (#1674) 2024-08-22 05:22:45 +08:00
Zubair Haque 4a90fd687b
chore: update dockerfile based on CI warnings (#1675) 2024-08-22 05:20:12 +08:00