Commit Graph

787 Commits

Author SHA1 Message Date
Sanskar Jaiswal c656221973
Update source-controller API to v1.0.0-rc.5
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-06-01 13:42:42 +05:30
Sanskar Jaiswal 8a8ac50087
Merge pull request #530 from fluxcd/bump-git
Bump `fluxcd/pkg/git/gogit` to v0.12.0
2023-05-31 21:31:04 +05:30
Sanskar Jaiswal ac427afbfb
bump fluxcd/pkg/git/gogit to v0.12.0
Bump `fluxcd/pkg/git/gogit` to v0.12.0 to enable support for Git servers
that use v2 of the wire protocol, such as Azure Devops and AWS
CodeCommit. Fixes a regression introduced in v0.34.0

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-05-31 19:49:16 +05:30
Hidde Beydals 0578f12ea9
Merge pull request #527 from fluxcd/return-key-err
Return signing entity parsing error
2023-05-31 13:30:39 +02:00
Hidde Beydals 76a9b2381d Return signing entity parsing error
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-31 13:24:25 +02:00
Hidde Beydals 99009ca9e1
Merge pull request #529 from fluxcd/controller-pkg-name
Set controller package name
2023-05-31 13:24:10 +02:00
Hidde Beydals bfb2a978ad Set controller package name
Set package name in the files under internal/controller to have the
base name of the directory.

This style is recommended by Go, and certain text editors/IDEs get
confused when the names don't match.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-31 13:15:46 +02:00
Stefan Prodan 548b612b10
Merge pull request #526 from fluxcd/dependabot/github_actions/github/codeql-action-2.3.5
build(deps): bump github/codeql-action from 2.3.4 to 2.3.5
2023-05-30 09:41:01 +03:00
dependabot[bot] 45b7c6839f
build(deps): bump github/codeql-action from 2.3.4 to 2.3.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f0e3dfb303...0225834cc5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 20:04:05 +00:00
Stefan Prodan 43193209cb
Merge pull request #525 from fluxcd/release-v0.34.0
Release v0.34.0
2023-05-29 11:15:05 +03:00
Sanskar Jaiswal 7a0f3eb249
Release v0.34.0
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-05-29 13:33:38 +05:30
Hidde Beydals ca4a5f3acb
Merge pull request #523 from fluxcd/update-source-controller
Update source-controller to v1.0.0-rc.4
2023-05-26 15:58:43 +02:00
Hidde Beydals 5c24abe4a5 Update image-automation-controller to v0.28.0
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-26 15:47:03 +02:00
Hidde Beydals cc59b4b0c5 Update source-controller to v1.0.0-rc.4
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-26 15:12:09 +02:00
Hidde Beydals dec38eb800
Merge pull request #521 from fluxcd/dependabot/github_actions/github/codeql-action-2.3.4
build(deps): bump github/codeql-action from 2.3.3 to 2.3.4
2023-05-25 15:25:25 +02:00
dependabot[bot] 2df56b63ba
build(deps): bump github/codeql-action from 2.3.3 to 2.3.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](29b1f65c5e...f0e3dfb303)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 13:10:58 +00:00
Stefan Prodan 71c1da1f5a
Merge pull request #520 from fluxcd/update-workflows
Update workflows and enable dependabot
2023-05-25 16:10:35 +03:00
Stefan Prodan 973f8fb116
Enable dependabot for GH actions
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-25 15:59:04 +03:00
Stefan Prodan 9174311a21
Update workflows to latest actions
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-25 15:58:48 +03:00
Hidde Beydals 0bac43111e
Merge pull request #519 from fluxcd/update-go-git
Drop go-git fork in favor of go-git v5.7.0
2023-05-25 14:19:44 +02:00
Hidde Beydals 2f82afbf55 Drop go-git fork in favor of go-git v5.7.0
This replaces the `fluxcd/go-git` fork with official go-git v5.7.0
release, after all patches from the fork have been included
upstream.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-25 14:11:08 +02:00
Hidde Beydals 4ac647a5b7
Merge pull request #518 from fluxcd/update-ctrl-runtime
Update controller-runtime, Kubernetes and kyaml dependencies
2023-05-25 10:26:56 +02:00
Hidde Beydals 7cc9c9c5f4 Rename controllers to controller
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-25 10:08:03 +02:00
Hidde Beydals c65a2dfeea Update ctrl-runtime (v0.15), Kubernetes (v1.27), kyaml (v5)
This deals with various breaking changes in controller-runtime, as
documented in the release notes:
https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0

In short:

- `Watches` now use a `client.Object` instead of a `source.Kind`.
- `handler.MapFunc` signature accepts a Go context, which is used to
  log any errors, instead of silently ignoring them and/or panicking.
- Fake clients used in tests are now configured using
  `WithStatusSubresource` to enable the correct behavior for status
  updates and patches.
- Max concurrent reconciles and panic recovery is configured on the
  manager, instead of configuring them per reconciler instance.
- Various manager configuration options have been moved to new
  structures and/or fields.

In addition to this, all other dependencies which had updates are
updated to their latest (compatible) versions as well. Including an
update of kyaml to match Kustomize v5.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-25 10:08:03 +02:00
Hidde Beydals 7e85148a00 api: update dependencies
- github.com/fluxcd/pkg/apis/meta to version 1.1.0
- github.com/fluxcd/source-controller/api to version 1.0.0-rc.3
- k8s.io/apimachinery to version 0.27.2
- sigs.k8s.io/controller-runtime to version 0.15.0

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-24 16:53:12 +02:00
Stefan Prodan aeb528929f
Merge pull request #517 from fluxcd/release-v0.33.1
Release v0.33.1
2023-05-12 13:50:06 +03:00
Stefan Prodan eafea0dfd4
Release v0.33.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-12 13:42:01 +03:00
Stefan Prodan 18f215617b
Merge pull request #516 from fluxcd/update-flux-deps
Update dependencies
2023-05-12 13:38:03 +03:00
Stefan Prodan a3fee6d598
Update dependencies
- github.com/fluxcd/image-reflector-controller/api v0.27.2
- github.com/fluxcd/source-controller/api v1.0.0-rc.3

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-12 13:29:38 +03:00
Stefan Prodan b193e2d4d9
Merge pull request #515 from fluxcd/dependabot/go_modules/github.com/cloudflare/circl-1.3.3
build(deps): bump github.com/cloudflare/circl from 1.3.2 to 1.3.3
2023-05-12 11:20:08 +03:00
dependabot[bot] 8f84ba5fae
build(deps): bump github.com/cloudflare/circl from 1.3.2 to 1.3.3
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 20:46:39 +00:00
Hidde Beydals 59501e89e5
Merge pull request #513 from onedr0p/patch-1
Update Alpine to 3.18
2023-05-10 17:10:44 +02:00
Devin Buhl d359ea7ac7
Update Alpine to 3.18
This change would be nice to get in because MUSL finally implemented TCP fallback in their DNS resolver.

alpinelinux.org/posts/Alpine-3.18.0-released.html

Signed-off-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-05-10 09:28:41 -04:00
Stefan Prodan 0ef6f98a1e
Merge pull request #512 from fluxcd/release-v0.33.0
Release v0.33.0
2023-05-09 16:13:40 +03:00
Stefan Prodan da9c442ac2
Release v0.33.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-09 13:36:45 +03:00
Stefan Prodan 6e4174e7aa
Merge pull request #511 from fluxcd/update-deps
Update dependencies
2023-05-09 13:05:46 +03:00
Stefan Prodan bd6d19fa4c
Update dependencies
- github.com/ProtonMail/go-crypto v0.0.0-20230426101702-58e86b294756
- github.com/fluxcd/image-reflector-controller/api v0.27.1
- github.com/fluxcd/source-controller/api v1.0.0-rc.2
- github.com/google/go-containerregistry v0.15.1
- github.com/otiai10/copy v1.11.0

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-09 12:49:03 +03:00
Stefan Prodan f946d7f231
Merge pull request #510 from aryan9600/pgp-passphrase
Add support for commit signing PGP key passphrases
2023-05-02 18:55:55 +03:00
Sanskar Jaiswal cf455f2e34
add support for commit sigining PGP key passphrases
Add support for decrypting the private key of the commit signing PGP
key. The secret specified in `spec.commit.signingKey.secretRef` can now
optionally have a `passphrase` key where it's value is the password to
be used for decryptin the private key.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-05-02 19:31:06 +05:30
Max Jonas Werner 0fb73e6996
Merge pull request #507 from fluxcd/release-0.32.0
Release 0.32.0
2023-03-31 17:10:17 +02:00
Max Jonas Werner b9d51e6dbd
Release 0.32.0
Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-03-31 16:28:35 +02:00
Max Jonas Werner 487160c5e2
Merge pull request #506 from fluxcd/dependabot/go_modules/google.golang.org/protobuf-1.29.1
build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1
2023-03-31 15:51:36 +02:00
dependabot[bot] 8453cc2284
build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1
Bumps google.golang.org/protobuf from 1.29.0 to 1.29.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 13:40:37 +00:00
Max Jonas Werner 3537367401
Merge pull request #505 from fluxcd/bump-deps
Update dependencies and GitRepository API to v1
2023-03-31 15:39:47 +02:00
Max Jonas Werner dfe26820d9
bump API deps; GitRepository v1
Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-03-31 14:27:12 +02:00
Max Jonas Werner 2ef5c36eb9
Merge pull request #504 from fluxcd/sharding
Add reconciler sharding capability based on label selector
2023-03-31 13:27:30 +02:00
Max Jonas Werner 8760b2140d
Add reconciler sharding capability based on label selector
The new `--watch-label-selector` lets operators provide a label to the
controller manager which in turn uses it to reconcile only those resources
`ImageUpdateAutomations` that match the given label.

This way operators can deploy multiple instances of IAC, each reconciling a
distinct set of resources based on their labels and effectively scale IAC
horizontally.

closes #503

Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-03-31 12:42:49 +02:00
Stefan Prodan 946bb84409
Merge pull request #500 from aryan9600/internal-controllers
move `controllers` to `internal/controllers`
2023-03-27 20:28:39 +03:00
Sanskar Jaiswal c62e9f289c move `controllers` to `internal/controllers`
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-03-27 22:33:01 +05:30
Hidde Beydals 7889652c39
Merge pull request #497 from fluxcd/release-0.31.0
Release v0.31.0
2023-03-08 17:24:54 +01:00