Commit Graph

1314 Commits

Author SHA1 Message Date
dependabot[bot] 8db8d1d183
Bump the go-deps group across 1 directory with 3 updates
Bumps the go-deps group with 3 updates in the / directory: [github.com/fluxcd/pkg/auth](https://github.com/fluxcd/pkg), [github.com/onsi/gomega](https://github.com/onsi/gomega) and [github.com/spf13/pflag](https://github.com/spf13/pflag).


Updates `github.com/fluxcd/pkg/auth` from 0.21.0 to 0.24.0
- [Commits](https://github.com/fluxcd/pkg/compare/git/v0.21.0...git/v0.24.0)

Updates `github.com/onsi/gomega` from 1.37.0 to 1.38.0
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.37.0...v1.38.0)

Updates `github.com/spf13/pflag` from 1.0.6 to 1.0.7
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: github.com/fluxcd/pkg/auth
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 07:24:28 +00:00
Stefan Prodan 6955deae42
Merge pull request #947 from abhijith-darshan/feat/gh_app_tls
Add support for mTLS to GitHub App transport
2025-08-14 10:22:45 +03:00
abhijith-darshan 57516b14f7
(chore): adds tls config for GitHub App auth
this commit ensures that if ca.crt or caFile is available in the github app secret, a tls config with user provided certs is appended to system cert pool and passed to the underlying http transport

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

(chore): keeps implementation in-sync with source-controller

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

(chore): inline proxy detection

This commit removes getProxyOpts(...) helper func and uses pkg/runtime/secrets to retrieve proxy information from secret reference

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

(chore): remove err formatting for secrets.ProxyURLFromSecretRef

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>
2025-08-13 16:52:38 +02:00
Stefan Prodan f584731506
Merge pull request #948 from fluxcd/refactor-pkg
Refactor pkg structure
2025-08-11 20:29:20 +03:00
Stefan Prodan 91bbe7491f
Refactor pkg structure
- move pkg/test to internal/testutil
- move pkg/update to internal/update

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-08-11 20:23:26 +03:00
Stefan Prodan 9b8f0a6234
Merge pull request #946 from fluxcd/remove-v1beta1-api
Remove deprecated APIs in group `image.toolkit.fluxcd.io/v1beta1`
2025-08-11 17:55:00 +03:00
Stefan Prodan 8c21b03941
Remove deprecated APIs in group `image.toolkit.fluxcd.io/v1beta1`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-08-08 16:04:17 +03:00
Matheus Pimenta 3bff81a4e0
Merge pull request #945 from fluxcd/fix-source-index
Fix GitRepository namespace not used in watch index key
2025-08-06 12:21:37 +01:00
Matheus Pimenta 0e29d5342b
Fix GitRepository namespace not used in watch index key
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-08-06 11:48:43 +01:00
Stefan Prodan 03080bae28
Merge pull request #942 from fluxcd/fix-strategy-validation
Make `.spec.update.strategy` optional
2025-07-16 12:49:12 +03:00
Stefan Prodan b81e735bae
Make `.spec.update.strategy` optional
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-07-16 12:34:31 +03:00
Matheus Pimenta 8939b7b5b3
Merge pull request #940 from fluxcd/upgrade-deps
Upgrade Kubernetes to 1.33.2
2025-07-15 09:52:05 +01:00
Matheus Pimenta ecaa7e7b14
Upgrade Kubernetes to 1.33.2
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-07-15 09:45:12 +01:00
Matheus Pimenta 458e0338c3
Merge pull request #931 from cappyzawa/deprecate-updated-template-field
Add deprecation handling for .Updated template field
2025-06-30 14:40:32 +01:00
cappyzawa f1a92cb661
Consolidate Result and ResultV2 types for GA
Remove old Result type and rename ResultV2 to Result, following
Stefan's review feedback to eliminate complex nested structures.
This creates a single, flat Result type containing only FileChanges
for improved API simplicity.

Breaking changes:
- .Changed.ImageResult.Files/.Images/.Objects no longer available
- Users must migrate to .Changed.FileChanges, .Changed.Objects,
  and .Changed.Changes

Enhanced error handling provides specific guidance for removed
template fields, setting Stalled condition with clear migration
instructions. Updated documentation includes removal notes and
migration examples.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-30 22:16:08 +09:00
cappyzawa 7975a00bd1
Add deprecation handling for .Updated template field
Implement error handling for deprecated .Updated template field usage
in ImageUpdateAutomation commit message templates. When users attempt
to use deprecated .Updated fields, the controller now sets a Stalled
condition with a clear error message directing them to use .Changed
fields instead, preventing infinite reconciliation loops.

This prepares for the eventual removal of the .Updated field from the
ImageUpdateAutomation API as part of GA preparation.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-30 22:16:08 +09:00
Matheus Pimenta 7bd947ca9d
Merge pull request #936 from cappyzawa/update-kustomize-v5.7.0
Update kustomize to v5.7.0
2025-06-30 10:46:20 +01:00
cappyzawa 4ff17e6807
Update kustomize dependency to v5.7.0
Upgrade kustomize from v5.6.0 to v5.7.0 to align with the version
used in other Flux components and include latest improvements.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-30 11:11:08 +09:00
Matheus Pimenta aedbb03c3e
Merge pull request #930 from lukas8219/5411-crd-fields
Add better kubectl columns to ImageUpdateAutomation
2025-06-27 17:10:05 +01:00
lukas8219 ad9486eb8d
Add better kubectl columns to ImageUpdateAutomation
Signed-off-by: lukas8219 <lucas.c4d@gmail.com>
2025-06-27 12:49:33 -03:00
Matheus Pimenta b3b47761c6
Merge pull request #929 from cappyzawa/add-imageupdateautomation-shortnames
Add shortNames aliases for ImageUpdateAutomation CRD
2025-06-27 13:15:19 +01:00
cappyzawa af48849cc5
Update ImageUpdateAutomation shortNames to iua,imgupd,imgauto
Changes shortNames from imgupd,imageupdate,imgauto,imageauto
to iua,imgupd,imgauto based on maintainer feedback to limit
the number of aliases and use more concise naming.

Updates both the kubebuilder resource annotation and the
generated CRD manifest.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-27 21:09:00 +09:00
Stefan Prodan ee384d74dd
Merge pull request #934 from fluxcd/release/v0.41.x
Sync changelog for release v0.41.2
2025-06-27 12:23:57 +03:00
Stefan Prodan e7d7d32d93
Merge branch 'main' into release/v0.41.x 2025-06-27 12:18:12 +03:00
Stefan Prodan f80db5841c
Merge pull request #933 from fluxcd/release-v.41.2
Release v0.41.2
2025-06-27 12:06:43 +03:00
Stefan Prodan 152bf82705
Release v0.41.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-06-27 11:54:42 +03:00
Stefan Prodan 45875bb0fa
Merge pull request #932 from fluxcd/fix-ssh-host-key-sha2
Fix: Prioritize sha2-512 and sha2-256 for ssh-rsa host keys
2025-06-27 11:48:04 +03:00
Stefan Prodan 00661668fa
Fix: Prioritize sha2-512 and sha2-256 for ssh-rsa host keys
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-06-27 11:40:23 +03:00
Matheus Pimenta c77a9799fb
Merge pull request #928 from felixw7k/main
docs: Add example for opening a PR in Gitea with refspec
2025-06-17 13:16:32 +01:00
Felix Weissbeck fd132e2846 docs: Add example for opening a PR in Gitea with refspec
Signed-off-by: Felix Weissbeck <fe@w7k.de>
2025-06-17 13:57:48 +02:00
Stefan Prodan 124fd9fe8f
Merge pull request #920 from kane8n/git-sparse-checkout-when-update-path-specify
Add support for Git sparse checkout when `.spec.update.path` is specified
2025-06-17 12:59:08 +03:00
kane8n 3999c651b1
SparseCheckout when Spec.Update.Path specified
Signed-off-by: kane8n <takumi.kaneda@zozo.com>
2025-06-17 18:00:07 +09:00
Matheus Pimenta b8e667d558
Merge pull request #926 from fluxcd/release-v0.41.1
Release v0.41.1
2025-06-13 17:49:30 +01:00
Matheus Pimenta d8366598f0
Release v0.41.1
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-06-13 17:27:32 +01:00
Matheus Pimenta a4fbfa885b
Merge pull request #923 from fluxcd/fix-host-keys
Fix `knownhosts key mismatch` regression bug
2025-06-12 18:54:39 +01:00
Matheus Pimenta 009d764d7f
Upgrade dependencies
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-06-12 18:08:27 +01:00
Matheus Pimenta 42af3383fc
Merge pull request #919 from fluxcd/upgrade-deps
Upgrade dependencies
2025-06-09 17:43:38 +01:00
Matheus Pimenta 17e585c90d
Upgrade dependencies
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-06-09 17:10:39 +01:00
Stefan Prodan 45e34fd5b3
Merge pull request #918 from fluxcd/dependabot-up
Update dependabot config
2025-05-28 16:18:24 +03:00
Stefan Prodan 48e677ab26
Update dependabot config
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-05-28 15:58:21 +03:00
Matheus Pimenta b4ad41bef5
Merge pull request #917 from fluxcd/release-v0.41.0
Release v0.41.0
2025-05-28 12:13:29 +01:00
Matheus Pimenta b09cceb8b9
Release v0.41.0
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 12:07:49 +01:00
Matheus Pimenta 4f207d5108
Merge pull request #916 from fluxcd/update-sc
Update dependencies
2025-05-28 10:51:03 +01:00
Matheus Pimenta e5ae4097be
Update dependencies
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 10:43:08 +01:00
Matheus Pimenta 48b16c2e51
Merge pull request #902 from fluxcd/update-digests
Update digest of latest image
2025-05-28 10:19:57 +01:00
Matheus Pimenta 806d41081a
Update digest of latest image
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 10:13:23 +01:00
Stefan Prodan 4addc4e215
Merge pull request #908 from fluxcd/dependabot/github_actions/ci-773070ff14
Bump the ci group across 1 directory with 4 updates
2025-05-27 12:38:58 +03:00
dependabot[bot] 82f08530f8
Bump the ci group across 1 directory with 4 updates
Bumps the ci group with 4 updates in the / directory: [actions/setup-go](https://github.com/actions/setup-go), [docker/build-push-action](https://github.com/docker/build-push-action), [anchore/sbom-action](https://github.com/anchore/sbom-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-go` from 5.4.0 to 5.5.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

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

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

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

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: docker/build-push-action
  dependency-version: 6.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: anchore/sbom-action
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-version: 3.28.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 09:34:40 +00:00
Stefan Prodan f7387ccbef
Merge pull request #913 from fluxcd/rfc-0010-docs
[RFC-0010] Link workload identity docs to complete guide
2025-05-27 09:02:23 +03:00
Matheus Pimenta 3d434f0fe7
[RFC-0010] Link workload identity docs to complete guide
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-26 23:50:06 +01:00