Commit Graph

1568 Commits

Author SHA1 Message Date
Stéphane Este-Gracias b98fde5de4
Merge branch 'main' into crd-default-values 2024-05-25 13:24:00 +02:00
souleb f731a805b1
Merge pull request #994 from fluxcd/dependabot/github_actions/ci-c7f71143c6
build(deps): bump the ci group with 2 updates
2024-05-21 09:46:14 +02:00
dependabot[bot] 35976156df
---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 04:00:03 +00:00
souleb 7a6a2d430a
Merge pull request #991 from fluxcd/dependabot/github_actions/ci-a3f50e56c6
build(deps): bump the ci group across 1 directory with 2 updates
2024-05-17 12:07:51 +02:00
dependabot[bot] 6e47eac4fe
build(deps): bump the ci group across 1 directory with 2 updates
Bumps the ci group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 4.1.5 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4)

Updates `github/codeql-action` from 3.25.4 to 3.25.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ccf74c9479...b7cec75265)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 03:36:42 +00:00
souleb 5efa0aa970
Merge pull request #987 from fluxcd/dependabot/github_actions/ci-65bd204c79
build(deps): bump the ci group across 1 directory with 2 updates
2024-05-13 10:05:18 +02:00
dependabot[bot] 3f91647ef9
build(deps): bump the ci group across 1 directory with 2 updates
Bumps the ci group with 2 updates in the / directory: [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `goreleaser/goreleaser-action` from 5.0.0 to 5.1.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](7ec5c2b0c6...5742e2a039)

Updates `github/codeql-action` from 3.25.3 to 3.25.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d31e687...ccf74c9479)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 03:26:18 +00:00
Stéphane Este-Gracias f8c9766f89
doc: fix helmrelease default value for .spec.upgrade.crds
Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>
2024-05-10 19:21:50 +02:00
Stefan Prodan e7dc85eddc
Merge pull request #985 from fluxcd/pick-changelog-v1.0.1
Add changelog entry for v1.0.1
2024-05-10 18:26:32 +03:00
Soule BA e475c1ffe3
Add changelog entry for v1.0.1
Signed-off-by: Soule BA <bah.soule@gmail.com>
(cherry picked from commit 964e7500ad)
2024-05-10 18:13:10 +03:00
Stefan Prodan 1526d3a615
Merge pull request #982 from fluxcd/fix-upgrade
Fix: Allow upgrading from v2beta1 to v2 (GA)
2024-05-10 16:52:23 +03:00
Stefan Prodan d909c31b5e
Fix: Allow upgrading from v2beta1 to v2 (GA)
Add `.spec.chartRef` placeholder to v2beta1 to allow upgrading to v2 GA.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-10 16:27:15 +03:00
souleb bc1219fbc1
Merge pull request #980 from fluxcd/chartTemplate-as-pointer
Fix: Make `HelmChartTemplate` a pointer in `.spec.chart`
2024-05-10 12:58:01 +02:00
Soule BA 16b61c6f8a
Make chartTemplate a pointer in .spec.chart
If implemented, this will omit empty `.spec.chart` in rendered yamls.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-05-10 12:45:33 +02:00
Stefan Prodan 2c26ac1d62
Merge pull request #978 from fluxcd/release/v1.0.x
Housekeeping: merge `release/v1.0.x` back into `main`
2024-05-09 17:20:34 +03:00
Stefan Prodan 519df15ce6
Merge branch 'main' into release/v1.0.x 2024-05-09 15:50:51 +03:00
Stefan Prodan cee99531fb
Merge pull request #971 from fluxcd/release-v1.0.0
Release v1.0.0
2024-05-09 15:47:52 +03:00
Stefan Prodan 93702c7a57
Release v1.0.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-09 15:32:35 +03:00
Stefan Prodan 7ccb1cbfb3
Add changelog entry for v1.0.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-09 15:32:35 +03:00
Stefan Prodan 999b855107
Merge pull request #977 from fluxcd/backport-972-to-release/v1.0.x
[release/v1.0.x] PostRenderersDigest observation improvements
2024-05-09 15:31:52 +03:00
Sunny e0629b7967 PostRenderersDigest observation improvements
Move the post renderers digest set/update code from summarize() to
atomic release reconciler in order to update the observation only at the
end of a successful reconciliation. summarize() is for summarizing the
status conditions and is also called by all the other action
sub-reconcilers, which can update the post renderers digest observation
too early.
Updating the observed post renderers digest at the very end of a
reconciliation introduces an issue where a digest mismatch in
DetermineReleaseState() could result in the release to get stuck in a
loop as even after running an upgrade due to post renderers value, the
new observation isn't reflected immediately in the middle of atomic
reconciliation. This can be solved by checking post renderers digest
value only for new configurations where the object generation and the
ready status condition observed generations don't match, in other words
when the generation of a configuration has not be processed. This
assumes that an upgrade due to any other reason also takes into account
the post renderers value and need not be checked separately for the same
config generation.

Signed-off-by: Sunny <github@darkowlzz.space>
(cherry picked from commit 63f7a76319)
2024-05-09 12:21:35 +00:00
Stefan Prodan f88b3be818
Merge pull request #972 from fluxcd/improve-postrenderer-tracking
PostRenderersDigest observation improvements
2024-05-09 15:21:19 +03:00
Sunny 63f7a76319
PostRenderersDigest observation improvements
Move the post renderers digest set/update code from summarize() to
atomic release reconciler in order to update the observation only at the
end of a successful reconciliation. summarize() is for summarizing the
status conditions and is also called by all the other action
sub-reconcilers, which can update the post renderers digest observation
too early.
Updating the observed post renderers digest at the very end of a
reconciliation introduces an issue where a digest mismatch in
DetermineReleaseState() could result in the release to get stuck in a
loop as even after running an upgrade due to post renderers value, the
new observation isn't reflected immediately in the middle of atomic
reconciliation. This can be solved by checking post renderers digest
value only for new configurations where the object generation and the
ready status condition observed generations don't match, in other words
when the generation of a configuration has not be processed. This
assumes that an upgrade due to any other reason also takes into account
the post renderers value and need not be checked separately for the same
config generation.

Signed-off-by: Sunny <github@darkowlzz.space>
2024-05-09 10:58:41 +00:00
Stefan Prodan 44724ff2cd
Merge pull request #976 from fluxcd/backport-975-to-release/v1.0.x
[release/v1.0.x] Prevent snapshot drift when upgrading to API v2
2024-05-09 11:38:12 +03:00
Stefan Prodan 1f63b8a40a Prevent snapshot drift when upgrading to API v2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
(cherry picked from commit 56b5f14b34)
2024-05-09 08:23:30 +00:00
Stefan Prodan 461d45db75
Merge pull request #975 from fluxcd/fix-snaphot-drift
Prevent snapshot drift when upgrading to API v2
2024-05-09 11:23:16 +03:00
Stefan Prodan 56b5f14b34
Prevent snapshot drift when upgrading to API v2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-09 10:18:38 +03:00
Stefan Prodan 538d48e8ab
Merge pull request #973 from matheuscscp/new-release-label
Add 1.0.x release label
2024-05-08 17:29:06 +03:00
Matheus Pimenta b9386cea68 Add 1.0.x release label
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2024-05-08 15:15:30 +01:00
Stefan Prodan 57a3c1fcfd
Merge pull request #967 from fluxcd/dependabot/github_actions/ci-2057180a66
build(deps): bump the ci group across 1 directory with 2 updates
2024-05-08 09:43:57 +03:00
dependabot[bot] 457c80578f
build(deps): bump the ci group across 1 directory with 2 updates
Bumps the ci group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/checkout` from 4.1.4 to 4.1.5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

Updates `actions/setup-go` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...cdcb360436)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 03:34:21 +00:00
souleb acf98e9ea4
Merge pull request #966 from fluxcd/dependabot/go_modules/go-deps-134d2f154a
build(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 in the go-deps group
2024-05-07 23:53:20 +02:00
dependabot[bot] ba10289963
build(deps): bump golang.org/x/text in the go-deps group
Bumps the go-deps group with 1 update: [golang.org/x/text](https://github.com/golang/text).


Updates `golang.org/x/text` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 23:41:54 +02:00
souleb 9da5599163
Merge pull request #965 from fluxcd/fix-964
Track changes in `.spec.postRenderers`
2024-05-07 23:23:34 +02:00
Soule BA 4b6febf48c
Add test cases for Summarize() and DetermineReleaseState()
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-05-07 23:13:47 +02:00
Soule BA 4069ad47e9
A better implementation for observing Postrenderers
This implementation update `.status.ObervedPostRenderersDigest` after a
successful reconciliation if `spec.postRenderers` is not nil.

Changes to `spec.postRenderers` are detected for `deployed` releases.
`Failed` and `Uninstalled` releases are detected earlier in the
reconciliation process.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-05-07 14:17:17 +02:00
Soule BA e58a102de9
document lastAttemptedPostRenderersDigest behavior
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-05-07 11:59:23 +02:00
Soule BA aa70ac2b31
fix: detect changes in spec.postRenderers
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-05-07 11:57:52 +02:00
Stefan Prodan 921def627c
Merge pull request #968 from fluxcd/app-version-meta-event
Add the chart app version to status and events metadata
2024-05-07 12:39:10 +03:00
Stefan Prodan 863d3115f3
Add app version to CRD manifests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 12:18:20 +03:00
Stefan Prodan 17633702fa
Add event example to API docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 08:23:22 +03:00
Stefan Prodan 7f78cdc368
Add the chart app version to events metadata
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-07 00:14:55 +03:00
Stefan Prodan f8aa5b42a8
Merge pull request #963 from fluxcd/helm-ga
Promote `HelmRelease` API to v2 (GA)
2024-05-06 12:00:58 +03:00
Stefan Prodan 92ec780c98
Update API version in comments and docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-06 11:46:16 +03:00
Stefan Prodan f04e393645
docs: Add `layerSelector` to OCIRepository example
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-04 19:38:14 +03:00
Stefan Prodan 42fe4a39c1
Remove deprecated `patchesStrategicMerge` and `patchesJson6902` from v2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-04 12:41:24 +03:00
Stefan Prodan dfee7b086d
Set group version for GA API to v2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-04 12:24:33 +03:00
Stefan Prodan 64d1236c17
Remove deprecated `.status.lastAppliedRevision` from v2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-04 12:24:33 +03:00
Stefan Prodan 2cbd2bd944
Remove deprecated `.spec.valuesFile` from v2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-04 12:24:32 +03:00
Stefan Prodan 23f2ebe86d
Update copyright year (GA API)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-03 17:35:01 +03:00