Commit Graph

1632 Commits

Author SHA1 Message Date
Matheus Pimenta c0537264b2
Introduce `RetryOnFailure` lifecycle management strategy
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-08-21 13:31:36 +01:00
Matheus Pimenta ee651bf8b7
Remove tautology
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-08-20 09:47:09 +01:00
Matheus Pimenta cf5702068b
Merge pull request #1286 from cappyzawa/feat/object-level-config-validation
Add object-level configuration validation
2025-08-17 17:17:35 +01:00
cappyzawa 5aa1414d79
Add object-level configuration validation
Validates that ObjectLevelWorkloadIdentity feature gate is enabled
when default kubeconfig service account flags are set. This prevents
misconfiguration where lockdown flags are used without enabling
the required feature gate.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-08-18 00:51:48 +09:00
Matheus Pimenta b549f4f76e
Merge pull request #1284 from cappyzawa/rfc-0010-multi-tenancy-lockdown
[RFC-0010] Add multi-tenancy lockdown for kubeconfig
2025-08-17 10:04:15 +01:00
cappyzawa 82fae0c8eb
[RFC-0010] Add multi-tenancy lockdown for kubeconfig
Adds new controller flag to enforce ServiceAccount usage in
multi-tenant clusters where administrators need to lock down workload
identity access:

- --default-kubeconfig-service-account

This flag complements the existing --default-service-account flag to
provide multi-tenancy lockdown coverage for kubeconfig ServiceAccount
fields in the HelmRelease API.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-08-17 17:44:14 +09:00
Stefan Prodan 5c7f2c8abf
Merge pull request #1282 from fluxcd/action-duration
Record the last Helm release action duration in status
2025-08-13 14:12:03 +03:00
Stefan Prodan acc61348b4
Record the last Helm release action duration in status
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-08-13 13:36:05 +03:00
Stefan Prodan 28bf06454e
Merge pull request #1280 from fluxcd/remove-v2beta1-api
Remove deprecated APIs in group `helm.toolkit.fluxcd.io/v2beta1`
2025-08-11 17:54:01 +03:00
Stefan Prodan d7cd9ae5be
Remove deprecated APIs in group `helm.toolkit.fluxcd.io/v2beta1`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-08-08 14:34:51 +03:00
Matheus Pimenta 8555152550
Merge pull request #1276 from fluxcd/fix-source-requeue
Fix requeue interval for SourceNotReady
2025-07-31 16:39:45 +01:00
Matheus Pimenta 593c05e0c8
Fix requeue interval for SourceNotReady
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-31 16:27:21 +01:00
Stefan Prodan 183a4f4ae7
Merge pull request #1271 from fluxcd/feat-dependson-cel
Extend the readiness evaluation of dependencies with CEL expressions
2025-07-29 08:28:00 +03:00
Stefan Prodan 40d128a05d
docs: Add dependency ready expression to API docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-23 09:00:17 +03:00
Stefan Prodan 32f20f7344
controller: Implement CEL evaluation for dependency checks
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-23 09:00:10 +03:00
Stefan Prodan 9b6b090ca4
controller: Add `AdditiveCELDependencyCheck` feature gate
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-22 22:06:12 +03:00
Stefan Prodan 6d5856c00e
controller: Move manager and indexers to dedicated files
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-22 21:18:55 +03:00
Stefan Prodan 4ffe621c6b
api: Add the `readyExpr` field to `dependsOn`
Extend the readiness evaluation of dependencies with CEL expressions

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-22 21:09:30 +03:00
Matheus Pimenta fc12477df0
Merge pull request #1267 from ymettier/fix-issue-1265
Fix continuous drift due to unstable hashing of values
2025-07-21 09:38:47 +01:00
Yves Mettier d4cfe9de0e Fix continuous drift due to unstable hashing of values
Signed-off-by: Yves Mettier <ymettier@free.fr>
2025-07-21 09:21:56 +01:00
Matheus Pimenta 5a28a7610e
Merge pull request #1266 from fluxcd/fix-source-index
Fix watch index conflict between HelmChart and OCIRepository kinds
2025-07-19 18:40:16 +01:00
Matheus Pimenta 7780c45bf3
Fix watch index conflict between HelmChart and OCIRepository kinds
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-19 18:06:12 +01:00
Matheus Pimenta 3b75b3b8b8
Merge pull request #1262 from fluxcd/restconfig-azure-cloud
[RFC-0010] Support all Azure clouds for remote clusters at the controller level
2025-07-18 08:25:40 +01:00
Matheus Pimenta 29fd31c6eb
[RFC-0010] Support all Azure clouds for remote clusters at the controller level
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-18 08:11:02 +01:00
Matheus Pimenta 3bb7850483
Merge pull request #1258 from fluxcd/watch-label
Introduce label selector for watching ConfigMaps and Secrets
2025-07-17 10:38:46 +01:00
Matheus Pimenta 7c18470676
Introduce label selector for watching ConfigMaps and Secrets
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-17 10:28:09 +01:00
Stefan Prodan 0971d38c41
Merge pull request #1257 from fluxcd/dependabot-schedule
Update dependabot config
2025-07-15 10:53:11 +03:00
Stefan Prodan 1d4c164221
Update dependabot config
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-15 09:01:42 +03:00
Stefan Prodan 050b2ca508
Merge pull request #1246 from fluxcd/dependabot/github_actions/ci-f6eef230b4
Bump the ci group across 1 directory with 6 updates
2025-07-15 08:57:12 +03:00
dependabot[bot] 15635bc28f
Bump the ci group across 1 directory with 6 updates
Bumps the ci group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [korthout/backport-action](https://github.com/korthout/backport-action) | `3.2.0` | `3.2.1` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `3.10.0` | `3.11.1` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `6.17.0` | `6.18.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `3.8.2` | `3.9.1` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.20.0` | `0.20.1` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.28.18` | `3.29.0` |



Updates `korthout/backport-action` from 3.2.0 to 3.2.1
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](436145e922...0193454f0c)

Updates `docker/setup-buildx-action` from 3.10.0 to 3.11.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](b5ca514318...e468171a9d)

Updates `docker/build-push-action` from 6.17.0 to 6.18.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](1dc7386353...263435318d)

Updates `sigstore/cosign-installer` from 3.8.2 to 3.9.1
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](3454372f43...398d4b0eee)

Updates `anchore/sbom-action` from 0.20.0 to 0.20.1
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](e11c554f70...9246b90769)

Updates `github/codeql-action` from 3.28.18 to 3.29.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff0a06e83c...ce28f5bb42)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-version: 3.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: sigstore/cosign-installer
  dependency-version: 3.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: anchore/sbom-action
  dependency-version: 0.20.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-version: 3.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-15 04:36:57 +00:00
Matheus Pimenta d992a7920f
Merge pull request #1249 from fluxcd/restconfig
[RFC-0010] Introduce workload identity auth for remote clusters
2025-07-14 18:46:02 +01:00
Matheus Pimenta 12ad940135
[RFC-0010] Introduce workload identity auth for remote clusters
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-14 16:56:11 +01:00
Matheus Pimenta 2bb5c51dfe
Merge pull request #1247 from cappyzawa/update-kustomize-v5.7.0
Update kustomize to v5.7.0
2025-06-30 11:06:27 +01:00
cappyzawa 4862194f41
Update kustomize to v5.7.0
Update kustomize from v5.6.0 to v5.7.0 for consistency across
FluxCD components, aligning with the kustomize-controller
update that addresses issues with multiple $patch: delete
strategic merge patches in a single patch file.

Updated dependencies:
- sigs.k8s.io/kustomize/api v0.19.0 -> v0.20.0
- sigs.k8s.io/kustomize/kyaml v0.19.0 -> v0.20.0

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-30 09:57:37 +09:00
Matheus Pimenta 68dc67620a
Merge pull request #1000 from hoffimar/deprecations
Move 'Deprecated' comments to own paragraph
2025-06-29 15:40:30 +01:00
Martin Hoffmann 0887009d50
Move 'Deprecated' comments to own paragraph
As described at https://go.dev/wiki/Deprecated, the `Deprecated` comments shall start a new paragraph. This way, the deprecation is also visible to other tools like staticcheck and vscode.

Signed-off-by: Martin Hoffmann <hoffimar@gmail.com>
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-06-29 15:26:43 +01:00
Matheus Pimenta bd9fad5238
Merge pull request #1236 from fluxcd/force-annotation
Use `reconcile.fluxcd.io/forceAt` annotation from fluxcd/pkg/apis/meta
2025-06-21 09:58:06 +01:00
Matheus Pimenta d89a6d12a3
Use reconcile.fluxcd.io/forceAt annotation from fluxcd/pkg/apis/meta
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-06-21 09:02:15 +01:00
Stefan Prodan 5cbc4a6fbd
Merge pull request #1223 from abhijith-darshan/feat/common_labels_annotations
feat: adds CommonMetadata to HelmRelease postrenderer
2025-06-17 12:01:05 +03:00
abhijith-darshan b62d7a8ad7
(chore): kustomize post-renderer with common-metadata
(chore): adds commonAnnotations and commonLabels to kustomize

if applied, this commit will pass the common labels and annotations specified in postRenderers kustomization and which gets propagated to all resources

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): generates updated api-docs

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): adds common metadata to spec

HelmRelease postRenderer uses `CommonMetadata` struct from kustomize controller to have a common CRD specification usage across flux API types

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): update helm release post renderer

HelmRelease kustomize post renderer uses the CommonMetadata type from kustomize controller to propagate common labels and annotations across all resources. Labels are not propagated to `selector.matchLabels`

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): generates updated CRD and api docs

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): adds common metadata types

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): removes common metadata

removes the insertion of common metadata info in `Kustomize.Run()`

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): adds common-metadata types

this commit adds CommonMetadata to HelmRelease spec as an optional field and when used will run a helm postRenderer to add specified labels and annotations resources contained in helm template. The digest of common metadata is stored as ObservedCommonMetadataDigest in the resource status

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): common post-renderer

this commit combines common metadata rendering and origin labels rendering into common_renderer.go with re-usable methods for label transformer and annotation transformer. Precedence is given to origin labels rendering over common metadata rendering.

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): trigger upgrade on commonMetadata value changes

this commit ensures that when commonMetadata value has changed after install triggers an upgrade action to re-render the new commonMetadata values to the helm release. The digest of commonMetadata values are stored in .status.ObservedCommonMetadataDigest for release state out-of-sync detection.

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(fix): adheres to import ordering

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(fix): revert go mod updates

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): updates copyright headers

Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Abhijith Ravindra <137736216+abhijith-darshan@users.noreply.github.com>

(chore): adds copyright headers

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): updates copyright headers

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): keep go mod in sync with upstream/main

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): adds common metadata documentation

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): fix precedence of label application

This commit will ensure that OriginLabels run last so that it has a higher precedence over CommonMetadata.Labels

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>
2025-06-12 12:45:33 +02:00
Matheus Pimenta dc9e30967f
Merge pull request #1231 from fluxcd/update-labels
Add 1.3.x release label
2025-05-28 15:13:09 +01:00
Matheus Pimenta 395b8ef9a5
Add 1.3.x release label
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 15:00:04 +01:00
Matheus Pimenta 9a745206cf
Merge pull request #1230 from fluxcd/release/v1.3.x
Release/v1.3.x
2025-05-28 14:55:20 +01:00
Matheus Pimenta e47f47f128
Merge pull request #1229 from fluxcd/release-v1.3.0
Release v1.3.0
2025-05-28 14:32:44 +01:00
Matheus Pimenta aa70ca3df9
Release v1.3.0
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 14:14:08 +01:00
Matheus Pimenta 483f166c6a
Add changelog entry for v1.3.0
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 14:05:26 +01:00
Stefan Prodan b6d8e39ccc
Merge pull request #1227 from fluxcd/oci-ga
Update controller to OCIRepository v1 (GA)
2025-05-28 15:34:57 +03:00
Stefan Prodan 034ea18c4b
Update controller to OCIRepository v1 (GA)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-05-28 14:37:02 +03:00
Matheus Pimenta ff69170036
Update dependencies
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 10:46:46 +01:00
Stefan Prodan b2e904652c
Merge pull request #1221 from fluxcd/dependabot/github_actions/ci-5eaca88b60
Bump the ci group across 1 directory with 3 updates
2025-05-27 12:33:23 +03:00