Commit Graph

787 Commits

Author SHA1 Message Date
Hidde Beydals e556517da4
Release v0.31.0
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 17:13:58 +01:00
Hidde Beydals 08598bb835
Merge pull request #496 from fluxcd/update-controller-deps
Update controller dependencies
2023-03-08 16:53:00 +01:00
Hidde Beydals 3cd042cef7
release: pass `--yes` to cosign in signs
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 16:43:37 +01:00
Hidde Beydals 79fe985110
Update {source,image-reflector}-controller deps
- github.com/fluxcd/source-controller/api to v0.36.0
- github.com/fluxcd/image-reflector-controller/api to v0.26.0

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 16:41:23 +01:00
Hidde Beydals 87e8161dbf
Merge pull request #495 from fluxcd/runtime-logger-klog
Use `logger.SetLogger` to also configure `klog`
2023-03-08 11:11:40 +01:00
Hidde Beydals 4994c9fbc1
Use `logger.SetLogger` to also configure `klog`
This uses the newly introduced helper from runtime, which also
configures the logger for `klog`.

Resulting in all logs now being properly formatted, even when logged by
internal Kubernetes elements like the leader election or a dynamic
client.

The update from `fluxcd/pkg/runtime` from `v0.29.0` to `v0.31.0` in
addition includes a change which configures the event recoder to only
log on level `trace` (as opposed to `debug`).

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 11:04:27 +01:00
Hidde Beydals 67efdaff6f
Merge pull request #494 from fluxcd/update-deps
Update dependencies
2023-03-08 11:01:42 +01:00
Hidde Beydals 5d1264edb5
Update dependencies
- github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8
- github.com/fluxcd/pkg/apis/event v0.4.1
- github.com/fluxcd/pkg/apis/meta v0.19.1
- github.com/fluxcd/pkg/git v0.11.0
- github.com/fluxcd/pkg/git/gogit v0.8.1
- github.com/fluxcd/pkg/gittestserver v0.8.2
- github.com/fluxcd/pkg/ssh v0.7.3
- github.com/fluxcd/source-controller/api v0.35.2
- github.com/onsi/gomega v1.27.2
- golang.org/x/crypto v0.7.0
- k8s.io/api v0.26.2
- k8s.io/apimachinery v0.26.2
- k8s.io/client-go v0.26.2
- k8s.io/kube-openapi v0.0.0-20230303024457-afdc3dddf62d
- sigs.k8s.io/controller-runtime v0.14.5
- Unpin github.com/emicklei/go-restful as it is no longer an (indirect)
  dependency.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:49:24 +01:00
Hidde Beydals f31d3136cb
api: update dependencies
- github.com/fluxcd/pkg/apis/meta to v0.19.1
- github.com/fluxcd/source-controller/api to v0.35.2
- k8s.io/apimachinery to v0.26.2
- sigs.k8s.io/controller-runtime to v0.14.5

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:46:07 +01:00
Hidde Beydals 405ad76290
Merge pull request #493 from fluxcd/update-release-workflow
build: update release workflow
2023-03-08 10:45:09 +01:00
Hidde Beydals 53d2778ed2
build: update scan workflow
- fossa-contrib/fossa-action to v2

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:38:30 +01:00
Hidde Beydals 48e5acf24c
build: update nightly workflow
- docker/build-push-action to v4
- Drop `platforms` from `docker/setup-qemu-action` step, as this is
  the default.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:38:19 +01:00
Hidde Beydals 0f0f0e67a8
build: update release workflow
- docker/build-push-action to v4
- sigstore/cosign-installer to v3
- goreleaser/goreleaser-action to v4

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:38:09 +01:00
Hidde Beydals 1f3bbaeb34
Merge pull request #492 from fluxcd/update-go-1.20
Update Go to 1.20
2023-03-08 10:33:05 +01:00
Hidde Beydals 88b127debb
build: drop obsolete ENVTEST_BIN_VERSION
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:22:35 +01:00
Hidde Beydals 502a4b1d86
Update tonistiigi/xx to 1.2.1
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:21:34 +01:00
Hidde Beydals 43b2fa5e48
Update Go to 1.20
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 10:21:14 +01:00
Sunny fb7ca174e9
Merge pull request #487 from fluxcd/release-0.30.0
Release v0.30.0
2023-02-17 00:39:17 +05:30
Sunny 497cf1b332 Release v0.30.0
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-16 20:00:10 +01:00
Hidde Beydals e2d3f8b251
Merge pull request #488 from fluxcd/update-deps
deps: drop golang.org/x/text replace statement
2023-02-16 19:59:53 +01:00
Sunny a2c0d5e38f deps: drop golang.org/x/text replace statement
golang.org/x/text v0.7.0 is used without the replacement.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-17 00:04:45 +05:30
Sunny 06cbd0684a
Merge pull request #485 from fluxcd/irc-v1beta2
Update image-reflector API to v1beta2
2023-02-16 23:02:11 +05:30
Sunny b270f945c4 Update image-reflector API to v1beta2
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-16 22:37:26 +05:30
Sunny d5fe633a97
Merge pull request #486 from fluxcd/update-deps
Update dependencies
2023-02-16 22:36:45 +05:30
Sunny 2f67f33029 Update dependencies
- Update controller-gen to v0.11.1 and re-generate the CRDs.
- Update controller-runtime to v0.14.4.
- Update golang.org/x/crypto to v0.6.0.
- Update github.com/go-git/go-billy/v5 to v5.4.1.
- Update all the fluxcd/pkg dependencies to the latest.
- Update source-controller to v0.35.0.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-16 21:23:36 +05:30
Sunny a04d1cd7ac
Merge pull request #475 from fluxcd/test-reconciler-ratelimiter
Set rate limiter option in test reconcilers
2023-02-16 16:55:25 +05:30
Sunny 3d6578a417 Set rate limiter option in test reconcilers
Set the default rate limiter configuration used in main.go in the
test reconcilers as well.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-16 16:37:55 +05:30
Sunny 3abab5bb1e
Merge pull request #481 from fluxcd/release-v0.29.0
Release v0.29.0
2023-02-01 22:28:05 +05:30
Sunny 2bd67d3f2b Release v0.29.0
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-02-01 22:10:33 +05:30
Hidde Beydals 5b98a20ac0
Merge pull request #480 from fluxcd/update-deps
Update dependencies
2023-02-01 16:22:11 +00:00
Hidde Beydals 63a3bd6b0c Update other dependencies
- github.com/AdaLogics/go-fuzz-headers to v0.0.0-20230106234847-43070de90fa1
- github.com/ProtonMail/go-crypto to v0.0.0-20230201104953-d1d05f4e2bfb
- github.com/fluxcd/pkg/apis/event to v0.3.0
- github.com/fluxcd/pkg/git to v0.8.0
- github.com/fluxcd/pkg/git/gogit to v0.5.0
- github.com/fluxcd/pkg/runtime to v0.27.0
- github.com/go-git/go-billy/v5 to v5.4.0
- github.com/google/go-containerregistry to v0.13.0
- github.com/onsi/gomega to v1.26.0
- golang.org/x/crypto to v0.5.0
- k8s.io/kube-openapi to v0.0.0-20230131224050-76d406abb92a

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-01 16:06:23 +00:00
Hidde Beydals d19c53f628 Update dependencies
- github.com/fluxcd/pkg/apis/meta to v0.19.0
- github.com/fluxcd/source-controller/api to v0.34.0
- github.com/fluxcd/image-reflector-controller/api to v0.24.0
- k8s.io/api to v0.26.1
- k8s.io/apimachinery to v0.26.1
- k8s.io/client-go to v0.26.1
- sigs.k8s.io/controller-runtime to v0.14.2

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-01 15:55:30 +00:00
Hidde Beydals 3dbcc711d1 api: update dependencies
- github.com/fluxcd/pkg/apis/meta to v0.19.0
- github.com/fluxcd/source-controller/api to v0.34.0
- k8s.io/apimachinery to v0.26.1
- sigs.k8s.io/controller-runtime to v0.14.2

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-01 15:49:17 +00:00
Sunny 978d40fa32
Merge pull request #479 from fluxcd/feat-cache-secrets-cm
Disable caching of Secrets and ConfigMaps
2023-01-30 21:33:08 +05:30
Sunny 4be070b871 Disable caching of Secrets and ConfigMaps
Disable caching of Secrets and ConfigMaps by default. Enable caching
using feature gate.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-01-30 21:22:23 +05:30
Stefan Prodan 6766f3b451
Merge pull request #478 from fluxcd/docker-sbom
build: Enable SBOM and SLSA Provenance
2023-01-30 16:09:50 +02:00
Stefan Prodan 576cd7e331
build: Enable SBOM and SLSA Provenance
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-01-30 16:01:18 +02:00
Stefan Prodan 9fcf51dae3
Update Alpine to v3.17
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-01-30 15:59:30 +02:00
Paulo Gomes d3eb70b366
Merge pull request #477 from pjbgf/update-contacts
Update contact details for pjbgf
2023-01-27 11:00:09 +00:00
Paulo Gomes c60315edc8
Update contact details for pjbgf
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-01-26 18:19:19 +00:00
Paulo Gomes ca012e2b71
Merge pull request #472 from pjbgf/release-v0.28.0
Release v0.28.0
2022-12-21 09:28:10 +00:00
Paulo Gomes 864d031e5f
Release v0.28.0
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-21 09:20:44 +00:00
Paulo Gomes 2922cce102
Merge pull request #469 from fluxcd/single-branch
Add feature gate `GitAllBranchReferences`
2022-12-20 22:43:08 +00:00
Paulo Gomes 9d242c54f0
Add feature gate GitAllBranchReferences
The new feature gate enables users to toggle the download of all branch
head references when push branches are configured.

Tests were refactored to ensure that they are feature gate sensitive.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-20 16:57:39 +00:00
Paulo Gomes 922b4f608b
Merge pull request #471 from pjbgf/deps
Update dependencies
2022-12-20 16:03:32 +00:00
Paulo Gomes d94f317e65
Update dependencies
- github.com/fluxcd/image-reflector-controller/api to versio0.23.1...
- github.com/fluxcd/source-controller/api to version 0.33.0.
- github.com/AdaLogics/go-fuzz-headers to version 0.0-20221206110420-d395f97c4830...
- github.com/Masterminds/sprig/v3 to version 3.2.3.
- github.com/fluxcd/go-git/v5 to version 5.0-20221219190809-2e5c9d01cfc4...
- github.com/fluxcd/pkg/git/gogit to version 0.4.0.
- github.com/onsi/gomega to version 1.24.2.
- golang.org/x/crypto to version 0.4.0.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-20 15:25:12 +00:00
Paulo Gomes ed0c8a22b0
Merge pull request #470 from fluxcd/empty-commits
Block the creation of empty commits
2022-12-20 11:38:48 +00:00
Paulo Gomes a980b894e0
Block the creation of empty commits
In specific cases, the update mechanism may lead to no files being
changed. The changes short-circuit the process to exit early when
0 files have been modified.

go-git has been changed to return an error when an empty commit
is detected, which is used as a last resort.

When the push branch is different than the clone branch, the controller
will now download all branch references from the Git server, in order
to enable a single fetch operation.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-20 10:11:22 +00:00
Paulo Gomes f48e3bd8fd
Merge pull request #468 from fluxcd/remove-libgit2
Remove libgit2 and git2go from codebase
2022-12-09 14:03:12 +00:00
Paulo Gomes 5048e38508
features: Remove ForceGoGitImplementation
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 13:43:24 +00:00