Removed redirects no longer needed and bumped dependencies:
- github.com/fluxcd/image-reflector-controller/api to version 0.22.0.
- github.com/fluxcd/pkg/apis/meta to version 0.16.0.
- github.com/fluxcd/pkg/runtime to version 0.19.0.
- golang.org/x/crypto to version 0.0.0-20220926161630-eccd6366d1be.
- k8s.io/api to version 0.25.2.
- k8s.io/apimachinery to version 0.25.2.
- k8s.io/client-go to version 0.25.2.
- k8s.io/kube-openapi to version 0.0.0-20220927161751-b7a9e6fe3bb6.
- sigs.k8s.io/controller-runtime to version 0.13.0.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
- Update Go to 1.19 in CI
- Use Go 1.19 in base image
- Update Alpine to 3.16 in the final image
- Update controller-gen v0.8.0 (v0.7 fails with Go 1.19) and regenerate manifests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
The existing fuzzers were converted into the Go native format.
Based on how the code was structured on this project, the fuzzers
can be quite effective, allowing for entire E2E fuzzing in some
cases, but with very low execution cost.
The previous controller fuzzer was converted but will need
to be refactored once the controller has been rewritten.
Note that due to the libgit2 dependencies a copy of
compile_native_go_fuzzer had to be made and modified so
that we can inject libgit2 during the linking process.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This gets the behaviour a step closer to Source Controller
which logs after every reconciliation, even when no changes
were made.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Fixes error when push branch and reference branch are equal
by skipping switch to push branch
Signed-off-by: Pierre-Barthelemy Fiocconi <pierre-barthelemy.fi@doctolib.com>
The controller-runtime provides the ability to recover from
panics that have arisen from a reconciliation. This change
enables this functionality by default.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
- k8s.io/api to version 0.24.3.
- k8s.io/apimachinery to version 0.24.3.
- k8s.io/client-go to version 0.24.3.
- github.com/fluxcd/image-reflector-controller/api to version 0.20.0.
- github.com/fluxcd/source-controller to version 0.26.0.
- k8s.io/* to version v0.24.3.
- k8s.io/kube-openapi to version v0.0.0-20220803164354-a70c9af30aea.
- github.com/ProtonMail/go-crypto to version v0.0.0-20220730123233-d6ffb7692adf.
- sigs.k8s.io/kustomize/kyaml to version v0.13.9.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Use of MUSL was a temporary solution to mitigate cross-platform
issues while building openssl and libssh2. Since Unmanaged transport has
been deprecated, openssl and libssh2 dependencies are no longer required
and by extension MUSL.
Enables libgit2 threadless support and provides a regression assurance
for #339.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
- github.com/ProtonMail/go-crypto to version v0.0.0-20220714114130-e85cedf506cd.
- github.com/fluxcd/image-reflector-controller/api to version 0.19.3.
- github.com/fluxcd/source-controller to version 0.25.10.
- github.com/fluxcd/source-controller/api to version 0.25.10.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>