Paulo Gomes
92e3b007c9
build: Add tidy to make verify
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-24 11:10:10 +00:00
Paulo Gomes
6dacad7f24
Merge pull request #965 from pjbgf/fix-broken-fuzz
...
Migrate to Go Native fuzz and improve reliability
2022-11-24 10:14:35 +00:00
Paulo Gomes
c5ded6f549
build: Update attributions
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-24 09:56:39 +00:00
Paulo Gomes
04dd4b54fb
build: Migrate to Go Native fuzz and improve 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-24 09:56:38 +00:00
Paulo Gomes
a970fd774a
Bump envtest to 1.24.0
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-24 09:15:43 +00:00
Paulo Gomes
b2eb601ba7
Merge pull request #962 from pjbgf/release-0.32.1
...
Release v0.32.1
2022-11-18 10:39:26 +00:00
Paulo Gomes
a40b6df6d4
Release v0.32.1
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-18 10:20:04 +00:00
Paulo Gomes
309567592a
Merge pull request #961 from pjbgf/release-0.32.0
...
Release 0.32.0
2022-11-17 16:42:01 +00:00
Paulo Gomes
5c0d9bd273
Release v0.32.0
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-17 16:14:45 +00:00
Paulo Gomes
06e88f0789
docs: Improve Git implementation section
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-17 15:03:02 +00:00
Paulo Gomes
0b8e663b07
Merge pull request #960 from pjbgf/update-dep
...
Update dependencies
2022-11-17 13:37:46 +00:00
Paulo Gomes
22e8b0ff7e
Update dependencies
...
Given that pkg/* now depends on fluxcd/go-git, this changes also apply
the same changes here.
New versions:
- github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.0.
- github.com/distribution/distribution/v3 v3.0.0-20221111170714-3b8fbf975279.
- github.com/fluxcd/pkg/apis/event v0.2.0.
- github.com/fluxcd/pkg/helmtestserver v0.10.0.
- github.com/fluxcd/pkg/oci v0.15.0.
- github.com/fluxcd/pkg/runtime v0.24.0.
- github.com/fluxcd/pkg/sourceignore v0.3.0.
- github.com/google/go-containerregistry v0.12.1.
- github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20221114162634-781782aa2757.
- golang.org/x/crypto v0.3.0.
- helm.sh/helm/v3 v3.10.2.
- k8s.io/api v0.25.4.
- k8s.io/client-go v0.25.4.
- sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-17 11:31:45 +00:00
Paulo Gomes
16fed8995d
Merge pull request #959 from aryan9600/bump-git-v0.7.0
...
gitrepo: bump git packages
2022-11-16 14:24:38 +00:00
Sanskar Jaiswal
b98b9a92b6
gitrepo: bump git packages
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-11-16 19:34:11 +05:30
Stefan Prodan
bd5eaca473
Merge pull request #958 from pjbgf/remove-nssswitch
...
Remove nsswitch.conf creation
2022-11-14 20:11:49 +02:00
Paulo Gomes
feab080f50
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:49:31 +00:00
Paulo Gomes
396e3cbbe6
Merge pull request #945 from pjbgf/feature-nolibgit2
...
gogit: Add new ForceGoGitImplementation FeatureGate
2022-11-11 10:42:41 +00:00
Paulo Gomes
bdcf708ef8
git: Replace Stalling error for git implementation
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-11 10:25:01 +00:00
Paulo Gomes
331fd64952
gogit: Add new ForceGoGitImplementation FeatureGate
...
ForceGoGitImplementation ignores the value set for gitImplementation
and ensures that go-git is used for all GitRepository objects.
This can be used to confirm that Flux instances won't break if/when
the libgit2 implementation was to be deprecated.
When enabled, libgit2 won't be initialized, nor will any git2go cgo
code be called.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-11 10:25:00 +00:00
Paulo Gomes
39e999d617
git: Load default feature gates
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-10 13:46:51 +00:00
Stefan Prodan
3fee9a57bf
Merge pull request #952 from fluxcd/event-v1beta1
...
Use Flux Event API v1beta1
2022-11-09 12:37:18 +02:00
Stefan Prodan
65e1041492
Use Flux Event API v1beta1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-11-09 11:06:23 +02:00
Hidde Beydals
6b0c78c438
Merge pull request #950 from fluxcd/update-deps
2022-11-08 15:50:12 +00:00
Hidde Beydals
206fb838e0
Update dependencies
...
- cloud.google.com/go/storage to v1.28.0
- github.com/distribution/distribution/v3 to v3.0.0-20221108081720-e9a25da7a47e
- github.com/docker/cli to v20.10.21+incompatible
- github.com/google/go-containerregistry to v0.12.0
- github.com/google/go-containerregistry/pkg/authn/k8schain to v0.0.0-20221103173901-353a117661ae
- github.com/minio/minio-go/v7 to v7.0.43
- github.com/onsi/gomega to v1.24.0
- github.com/prometheus/client_golang to v1.14.0
- github.com/sigstore/sigstore to v1.4.5
- google.golang.org/api to v0.102.0
- k8s.io/utils to v0.0.0-20221107191617-1a15be271d1d
- sigs.k8s.io/cli-utils to v0.34.0
- sigs.k8s.io/controller-runtime to v0.13.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-11-08 14:16:00 +00:00
Hidde Beydals
cbed178ace
Merge pull request #931 from somtochiama/update-azure-sdk
...
Upgrade to `azure-sdk-for-go/storage/azblob` v0.5.1
2022-11-08 13:58:29 +00:00
Hidde Beydals
76c1f531bd
Update to azure-sdk-for-go/sdk/azcore v1.2.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-11-08 13:42:00 +00:00
Somtochi Onyekwere
e50b6ba8da
Update Azure Blob Storage SDK to v0.5.1
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-11-08 13:41:52 +00:00
Somtochi Onyekwere
754b20b9e0
Update Azure Blob Storage SDK to v0.5.0
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-11-08 13:40:08 +00:00
Paulo Gomes
ade77ec95a
Merge pull request #944 from fluxcd/git-refactoring
...
Refactor Git operations and introduce `go-git` support for Azure DevOps and AWS CodeCommit
2022-10-31 12:36:46 +00:00
Paulo Gomes
e87997c117
Use serror.NewStalling() and small PR fixes
...
This ensures that the event, notification and log
are configured correctly.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-10-31 10:16:00 +00:00
Paulo Gomes
6b04907f5f
Bump go-git to enable multi_ack
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-10-26 14:26:01 +01:00
Sanskar Jaiswal
22e712b935
gitrepo: match against api types when creating git client
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-10-26 14:06:15 +01:00
Paulo Gomes
d25ed0c8c4
build: Bump golang-with-libgit2 to v0.4.0
...
The new version uses libgit2 1.5.0 and requires git2go/v34.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-10-26 14:06:14 +01:00
Sanskar Jaiswal
9ef6316d73
ci: remove explicit managed transport init and tests
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-10-26 14:04:01 +01:00
Sanskar Jaiswal
b6d6b593c8
gitrepo: refactor reconciler to use fluxcd/pkg/git
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-10-26 14:04:00 +01:00
Stefan Prodan
a9a85b2b0f
Merge pull request #943 from fluxcd/release-0.31.0
...
Release v0.31.0
2022-10-21 17:24:25 +03:00
Stefan Prodan
ab313f9baf
Release v0.31.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-10-21 17:04:54 +03:00
Stefan Prodan
09cae78713
Merge pull request #925 from souleb/cosign-verify-helm
...
implement Cosign verification for HelmCharts
2022-10-21 16:54:42 +03:00
Soule BA
06a55590a5
Fix verification condition
...
Delete a failed verification condition at the beginning of the source
reconciliation and set `SourceVerifiedCondition` to false approprietly.
Set the `BuildOptions.Verify` to true as long as Verify is enabled in the
API fields.
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 15:21:10 +02:00
Soule BA
25673ac512
addressing review comments
...
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 10:00:08 +02:00
Soule BA
5355fb3142
adding verfication section to HelmChart api doc
...
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 10:00:08 +02:00
Soule BA
0e97547eeb
implement Cosign verification for HelmCharts
...
If implemented, users will be able to enable chart verification for OCI
based helm charts.
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 10:00:08 +02:00
Soule BA
55dd799dad
Remove test case on aws
...
This remove test case for contextual login on
oci://123456789000.dkr.ecr.us-east-2.amazonaws.com.
This is not longer a wrong url since f7c66eb06a
and we no longer error on nil auth.
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 10:00:07 +02:00
Soule BA
bb83270acc
Refactor to use authn for authentication as OCIrepository does
...
If implemented the oras registry loginOption will only be used internaly
with the specific ChartRepo struct.
This will permit reusing more easily feature developped with
googlecontainerregistry authn.
Signed-off-by: Soule BA <soule@weave.works>
2022-10-21 10:00:07 +02:00
Stefan Prodan
d372531204
Merge pull request #942 from fluxcd/kube-1.25.3
...
Update dependencies
2022-10-20 18:42:21 +03:00
Stefan Prodan
1931800661
Update dependencies
...
- `k8s.io/*` v0.25.3
- `helm.sh/helm/v3` v3.10.1
- `sigstore/cosign` v1.13.1
- `fluxcd/pkg/oci` v0.14.0
- `fluxcd/pkg/runtime` v0.22.0
- `golang.org/x/text` v0.4.0 (fix CVE-2022-32149)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-10-20 18:11:36 +03:00
Stefan Prodan
f9e6d05dca
Merge pull request #937 from fluxcd/delete-suspended
...
Allow deleting suspended objects
2022-10-20 17:39:25 +03:00
Sunny
15cdd85805
controllers: Allow deletion of suspended objects
...
Reorders the object suspended check in all the reconcilers to allow
deletion of objects when they are suspended. Objects used to get stuck
on delete because the finalizers were not getting removed due to the
suspended state.
Adds a generic test for all the reconcilers to check if a suspended
source object can be delete.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-10-20 17:22:11 +05:30
Sunny
15b4f96930
internal/object: setter/getter suspend & artifact
...
Add setters and getters for spec.suspend and status.artifact.
This is needed for writing generic tests for any source kind.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-10-20 17:22:11 +05:30
Stefan Prodan
663b6a78a2
Merge pull request #941 from pjbgf/disable-mac11
...
build: Disable macos-11
2022-10-20 12:45:32 +03:00