Commit Graph

711 Commits

Author SHA1 Message Date
Stefan Prodan 4949c9ff34
Disable image policy caching
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-02-09 11:49:27 +02:00
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
Paulo Gomes 2fe47bbfdf
build: Remove unused scripts
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 13:43:23 +00:00
Paulo Gomes b396dce1c6
libgit2: Update documentation
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 13:43:22 +00:00
Paulo Gomes a18b51b479
libgit2: Remove libgit2 from fuzzers
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 11:51:44 +00:00
Paulo Gomes 7a05f4856c
libgit2: Remove references to libgit2 from code
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 11:30:55 +00:00
Paulo Gomes 38d76cc407
libgit2: Migrate tests to go-git
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-09 11:27:51 +00:00
Paulo Gomes 5453088b02
Merge pull request #463 from fluxcd/shallow
Add GitShallowClone feature
2022-12-07 10:37:23 +00:00
Paulo Gomes 5475da4475
Document GitShallowClone and GitForcePushBranch#
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-06 15:37:16 +00:00
Paulo Gomes ebabb47510
Enable shallow clone by default
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-06 15:22:35 +00:00
Paulo Gomes e846e29458
Add GitShallowClone feature
This feature enables the use of shallow clones when pulling source from
Git repositories.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-06 15:22:34 +00:00
Paulo Gomes 6d639f3bcd
Merge pull request #465 from pjbgf/postbuild
build: Link libgit2 via LIB_FUZZING_ENGINE
2022-11-25 17:23:06 +00:00
Paulo Gomes cdbbca0fb0
build: Link libgit2 via LIB_FUZZING_ENGINE
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-25 17:07:52 +00:00
Paulo Gomes 6a0e0dedeb
Merge pull request #464 from pjbgf/postbuild
build: Add postbuild script for fuzzing
2022-11-25 10:23:49 +00:00
Paulo Gomes ccf956a0f3
build: Add postbuild script for fuzzing
In order to reduce the complexity of the fuzzing setup
the majority of the code is moving upstream. For that
to work, each project with specific requirements need
to configure pre and post build scripts to ensure
actions take place before the build, and any clean up
happens at the very end.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-24 19:12:23 +00:00
Paulo Gomes 7fd2c7cbb3
Merge pull request #462 from pjbgf/fix-broken-fuzz
build: Fix cifuzz and improve fuzz tests' reliability
2022-11-23 18:09:00 +00:00
Paulo Gomes 5fefee34b7
build: Improve fuzz tests' reliability
Establish conventions which aligns with what is supported upstream
today, whilst expanding on documentation to ensure folks have
pointers on how to debug/check for issues going forwards.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-23 15:48:14 +00:00
Paulo Gomes 43b99c65b6
Merge pull request #461 from pjbgf/release-0.27.0
Release v0.27.0
2022-11-21 11:14:44 +00:00
Paulo Gomes 3e0c3e04bb
Release v0.27.0
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-21 10:49:42 +00:00
Paulo Gomes 7bd4886a79
Merge pull request #460 from pjbgf/upd-deps
Update dependencies
2022-11-21 10:09:12 +00:00
Paulo Gomes ebbf83aa10
Update dependencies
- github.com/fluxcd/image-reflector-controller/api 0.23.0
- github.com/fluxcd/pkg/apis/event 0.2.0
- github.com/fluxcd/pkg/runtime 0.24.0
- github.com/google/go-containerregistry 0.12.1
- golang.org/x/crypto 0.3.0
- k8s.io/api 0.25.4
- k8s.io/client-go 0.25.4
- sigs.k8s.io/kustomize/kyaml 0.13.10
- github.com/fluxcd/pkg/apis/meta 0.18.0
- github.com/fluxcd/source-controller/api 0.32.1
- k8s.io/apimachinery 0.25.4

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-18 17:01:42 +00:00
Stefan Prodan c0f9593aad
Merge pull request #456 from fluxcd/api-cleanup
Remove deprecated alpha APIs
2022-11-16 17:44:26 +02:00
Stefan Prodan 2ce27a70fb
Remove deprecated alpha APIs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-11-16 17:22:51 +02:00
Paulo Gomes 92603f3295
Merge pull request #459 from aryan9600/bump-git-v0.7.0
bump pkg/git, pkg/git/gogit and pkg/git/libgit2
2022-11-16 14:54:33 +00:00
Sanskar Jaiswal 1cacafa5fc bump pkg/git, pkg/git/gogit and pkg/git/libgit2
* Bump `pkg/git` to `v0.7.0`
* Bump `pkg/git/gogit` to `v0.2.0`
* Bump `pkg/git/libgit2` to `v0.3.0`

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-11-16 20:00:26 +05:30
Paulo Gomes 1b8d307a6d
Merge pull request #458 from pjbgf/remove-nsswitch
Remove nsswitch.conf creation
2022-11-14 18:38:37 +00:00
Paulo Gomes 564b0b5c7e
Remove nsswitch.conf creation
Since 11-11-2022, the alpine:3.16 includes that file on its
base image. More information can be found at:
https://git.alpinelinux.org/aports/commit/?id=348653a9ba0701e8e968b3344e72313a9ef334e4

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-14 17:50:49 +00:00
Stefan Prodan 93055b0c79
Merge pull request #455 from fluxcd/event-v1beta1
Use Flux Event API v1beta1
2022-11-09 12:37:39 +02:00