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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
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>
- 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>
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>