Stefan Prodan
f76d6fe026
Update samples to GA APIs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-03 17:12:22 +03:00
Stefan Prodan
c9c0beb261
Add API docs for `HelmRelease` v2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-03 16:30:58 +03:00
Stefan Prodan
00785fbfa3
Promote `HelmRelease` API to v2 (GA)
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-03 16:25:14 +03:00
Stefan Prodan
739d0a9cf9
Merge pull request #942 from isometry/feature/ignore-missing-values-files
...
Add `.spec.ignoreMissingValuesFiles` to HelmChartTemplate API
2024-05-03 16:13:33 +03:00
Robin Breathe
bca7983d77
feat(HelmChartTemplateSpec): optionally ignore missing valuesFiles
...
Signed-off-by: Robin Breathe <robin@isometry.net>
2024-05-03 14:01:20 +02:00
Stefan Prodan
5eacdb24a0
Merge pull request #962 from fluxcd/helmchart-v1
...
Update `HelmChart` API to v1 (GA)
2024-05-03 14:37:22 +03:00
Stefan Prodan
d0900635cf
Update `HelmChart` API to v1 (GA)
...
Bump source-controller to v1.3.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-05-03 13:43:51 +03:00
Stefan Prodan
b31701ebf4
Merge pull request #885 from fluxcd/drift-correction-ready-condition
...
Update Ready condition during drift correction
2024-04-29 14:42:25 +03:00
Stefan Prodan
7289c17e86
Merge pull request #958 from fluxcd/dependabot/github_actions/ci-3daa6e97ec
...
build(deps): bump the ci group across 1 directory with 3 updates
2024-04-29 09:13:25 +03:00
dependabot[bot]
fd91ff6a71
build(deps): bump the ci group across 1 directory with 3 updates
...
Bumps the ci group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout ), [anchore/sbom-action](https://github.com/anchore/sbom-action ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/checkout` from 4.1.3 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1d96c772d1...0ad4b8fada
)
Updates `anchore/sbom-action` from 0.15.10 to 0.15.11
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Commits](ab5d7b5f48...7ccf588e3c
)
Updates `github/codeql-action` from 3.25.2 to 3.25.3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](8f596b4ae3...d39d31e687
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
- dependency-name: anchore/sbom-action
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-04-29 03:33:06 +00:00
Stefan Prodan
23262e0f5e
Merge pull request #944 from fluxcd/kubernetes-1.30
...
Update dependencies to Kubernetes 1.30
2024-04-26 12:53:32 +03:00
Stefan Prodan
ab237a97aa
Update dependencies to Kubernetes 1.30
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-26 12:24:28 +03:00
Stefan Prodan
839433f67b
Merge pull request #954 from fluxcd/dependabot/github_actions/ci-aa3e267b82
...
build(deps): bump the ci group across 1 directory with 6 updates
2024-04-23 11:53:18 +03:00
dependabot[bot]
14448aae4c
build(deps): bump the ci group across 1 directory with 6 updates
...
Bumps the ci group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.2` | `4.1.3` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) | `3.2.0` | `3.3.0` |
| [helm/kind-action](https://github.com/helm/kind-action ) | `1.9.0` | `1.10.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) | `3.4.0` | `3.5.0` |
| [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ) | `1.10.0` | `2.0.0` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.24.9` | `3.25.2` |
Updates `actions/checkout` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...1d96c772d1
)
Updates `docker/setup-buildx-action` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](2b51285047...d70bba72b1
)
Updates `helm/kind-action` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/helm/kind-action/releases )
- [Commits](99576bfa6d...0025e74a8c
)
Updates `sigstore/cosign-installer` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](e1523de757...59acb6260d
)
Updates `slsa-framework/slsa-github-generator` from 1.10.0 to 2.0.0
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.10.0...v2.0.0 )
Updates `github/codeql-action` from 3.24.9 to 3.25.2
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1b1aada464...8f596b4ae3
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: helm/kind-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 08:43:31 +00:00
souleb
9f82dde128
Merge pull request #945 from fluxcd/enable-hc-sources
...
Add support for `HelmChart` as chartRef
2024-04-23 10:41:11 +02:00
souleb
8b95f3509c
Update docs/spec/v2beta2/helmreleases.md
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: souleb <bah.soule@gmail.com>
2024-04-22 12:19:35 +02:00
Soule BA
1b5a62f5c9
document helmchart chart reference
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-22 11:26:57 +02:00
Soule BA
3bb715ad97
Enable HelmChart ChartRef
...
If implemented, user will be able to share an existing HelmChart custom
resource between HelmReleases.
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 17:03:31 +02:00
souleb
5e760db4a8
Merge pull request #905 from fluxcd/enable-ocirepo-sources
...
Add support for `OCIRepository` as chartRef
2024-04-18 13:39:31 +02:00
Soule BA
a98d9574d6
fix requestForOCIRepository change
...
Use artifact digest instead of revision to validate whether to trigger a
new reconciliation
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:42 +02:00
Soule BA
f5447b4430
All observeFuncs make take into account existing OCI Digest in snapshots
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
Soule BA
65a02c8c6c
Add a test when switching from chart template to chartRef
...
The test case successfully upgrade with the same chart because version
is not computed the same way (12 digits of digest appended for
OCIRepository source).
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
Soule BA
edec322a3d
Take into account the oci-digest
...
This commit add the oci artifact digest into the release observed
snapshot. This is used to later to add that value as an annotation.
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
Soule BA
49b47d4c44
adding a section for chartRef in the doc
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
Soule BA
aeac55dba9
Adding 12 first character of digest to chart version
...
This is needed for an OCIRepository source in order to detect change for
mutable tags.
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
souleb
7864e3a9a2
Apply suggestions from code review
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: souleb <bah.soule@gmail.com>
2024-04-18 13:07:41 +02:00
Soule BA
d1d2d0002e
adding an upgrade from ocirepo test
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:40 +02:00
Soule BA
686fe58f6e
address review comments
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:40 +02:00
Soule BA
157f806598
fix methods names
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:07:40 +02:00
souleb
350accfba9
Update api/v2beta2/helmrelease_types.go
...
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Signed-off-by: souleb <bah.soule@gmail.com>
2024-04-18 13:07:08 +02:00
Soule BA
20e14fe304
This commit enable reusing an existing OCIRepo as chartRef.
...
It takes into account switching from a chart
template to a referenced source (garbage collection).
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-18 13:05:04 +02:00
Sunny
56478cf1c8
Update Ready condition during drift correction
...
Update the Ready condition during drift correction to reflect the
current state of reconciliation. Without this, any previous Ready
condition value continues to persist on the object. If there was a
previous failure due to which Ready=False condition is present on the
object, the same value continues to persist if the atomic release
reconciliation enters a drift detection and correction loop. Resulting
in the status to show inaccurate state of the reconciliation.
Examples of two different scenarios that arise due to this issue:
- If a release without any dependency is installed, the status shows
Ready=True for InstallSucceeded reason. But right after the
installation, if a drift is detected the status continues to show the
same Ready=True value. There's no indication that a drift correction
is going on in the status. The events and logs do show that drift
correction is taking place. But it can be confusing to see positive
Ready value. Also, since the Ready condition message is copied for
Reconciling condition, Reconciling=True with a "Helm install
succeeded..." is seen.
- If a release depends on another release, and reconciliation results in
dependency not ready error at first, Ready=False condition is added on
the object. On subsequent runs, even when the dependencies are ready,
the Ready=False condition isn't updated, resulting in stale Ready
value until atomic release reconciliation completes. But if the atomic
reconciliation enters a drift detection and correction loop, the
Ready=False with dependency error persists in the status. This gives
the impression that something is wrong with dependency check but based
on the logs and events, the controller could be stuck in drift
detection and correction loop.
Updating the Ready condition during drift detection shows the current
state of reconciliation, avoiding the confusing scenarios described
above.
Signed-off-by: Sunny <github@darkowlzz.space>
2024-04-17 19:59:54 +00:00
souleb
9059e7f176
Merge pull request #935 from fluxcd/fix-925
...
Fix patching on drift detection
2024-04-09 16:19:54 +02:00
Soule BA
de6588422f
Fix patching on drift detection
...
Make sure that `/data` for configmaps are not masked
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-04-09 13:02:10 +02:00
Stefan Prodan
d2371a2e46
Merge pull request #932 from fluxcd/kustomize-v5.4.0
...
Update dependencies to Kustomize v5.4.0
2024-04-05 16:30:14 +03:00
Stefan Prodan
d3997fdafe
Update dependencies to Kustomize v5.4.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-05 10:25:07 +03:00
Stefan Prodan
64073a821b
Merge pull request #930 from fluxcd/add-notation-provider
...
Add `notation` verification provider to API
2024-04-03 12:43:35 +03:00
Stefan Prodan
6bbdf4707e
Add notation verification provider to API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-02 21:03:27 +03:00
Stefan Prodan
4e6692c9d2
Merge pull request #929 from fluxcd/dependabot/github_actions/ci-a098ba917e
...
build(deps): bump the ci group with 11 updates
2024-04-02 18:03:03 +03:00
dependabot[bot]
09281bb723
build(deps): bump the ci group with 11 updates
...
Bumps the ci group with 11 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.1` | `4.1.2` |
| [korthout/backport-action](https://github.com/korthout/backport-action ) | `2.4.1` | `2.5.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) | `3.0.0` | `3.2.0` |
| [actions/cache](https://github.com/actions/cache ) | `4.0.0` | `4.0.2` |
| [helm/kind-action](https://github.com/helm/kind-action ) | `1.8.0` | `1.9.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action ) | `5.1.0` | `5.3.0` |
| [docker/login-action](https://github.com/docker/login-action ) | `3.0.0` | `3.1.0` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action ) | `0.15.8` | `0.15.10` |
| [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ) | `1.9.0` | `1.10.0` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.24.0` | `3.24.9` |
| [EndBug/label-sync](https://github.com/endbug/label-sync ) | `2.3.2` | `2.3.3` |
Updates `actions/checkout` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...9bb56186c3
)
Updates `korthout/backport-action` from 2.4.1 to 2.5.0
- [Release notes](https://github.com/korthout/backport-action/releases )
- [Commits](e8161d6a0d...ef20d86abc
)
Updates `docker/setup-buildx-action` from 3.0.0 to 3.2.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](f95db51fdd...2b51285047
)
Updates `actions/cache` from 4.0.0 to 4.0.2
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](13aacd865c...0c45773b62
)
Updates `helm/kind-action` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/helm/kind-action/releases )
- [Commits](dda0770415...99576bfa6d
)
Updates `docker/build-push-action` from 5.1.0 to 5.3.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](4a13e500e5...2cdde995de
)
Updates `docker/login-action` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](343f7c4344...e92390c5fb
)
Updates `anchore/sbom-action` from 0.15.8 to 0.15.10
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Commits](b6a39da807...ab5d7b5f48
)
Updates `slsa-framework/slsa-github-generator` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0 )
Updates `github/codeql-action` from 3.24.0 to 3.24.9
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](e8893c57a1...1b1aada464
)
Updates `EndBug/label-sync` from 2.3.2 to 2.3.3
- [Release notes](https://github.com/endbug/label-sync/releases )
- [Commits](da00f2c11f...5207415819
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
- dependency-name: korthout/backport-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
- dependency-name: helm/kind-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: anchore/sbom-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
- dependency-name: slsa-framework/slsa-github-generator
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
- dependency-name: EndBug/label-sync
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 11:31:27 +00:00
Stefan Prodan
65b54580cf
Merge pull request #879 from fluxcd/helm-v3.14.0
...
Update controller to Helm v3.14.3 and Kubernetes v1.29.0
2024-04-02 14:29:09 +03:00
Stefan Prodan
aa202e76cd
Build with Go 1.22
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-02 13:53:40 +03:00
Stefan Prodan
40ff025ff2
Update `fluxcd/pkg` dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-02 13:49:47 +03:00
Stefan Prodan
5ffeecb21f
Update controller to Helm v3.14.2 and Kubernetes v1.29.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-02 13:38:08 +03:00
souleb
07c0a0b315
Merge pull request #910 from fluxcd/update-controller-gen-0.14
...
Update controller-gen to v0.14.0
2024-03-12 14:12:06 +01:00
Soule BA
9e881d5210
updating controller-gen to v0.14.0
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-03-12 12:23:45 +01:00
souleb
5e83e51fcc
Merge pull request #908 from fluxcd/add-reconciliation-events
...
Use corev1 event type for sending events
2024-03-07 22:48:19 +01:00
Soule BA
ff1421257e
fix: use corev1 event type for sending events
...
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-03-07 22:00:26 +01:00
souleb
b79cad068d
Merge pull request #907 from fluxcd/add-reconciliation-events
...
Reintroduce missing events for helmChart reconciliation failures
2024-03-07 13:07:01 +01:00
Soule BA
e283ead7f3
Reintroduce missing events for helmChart reconciliation
...
If implemented this PR reintroduce events for some failling action
during the reconciliation process, related to the helmChart retrieval
and loading of chart and values.
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-03-06 15:52:41 +01:00