diff --git a/cmd/flux/events_test.go b/cmd/flux/events_test.go index 1964b867..151cd55c 100644 --- a/cmd/flux/events_test.go +++ b/cmd/flux/events_test.go @@ -95,7 +95,7 @@ spec: version: '*' interval: 5m0s --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: podinfo @@ -104,7 +104,7 @@ spec: interval: 1m0s url: https://stefanprodan.github.io/podinfo --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmChart metadata: name: default-podinfo diff --git a/cmd/flux/testdata/export/objects.yaml b/cmd/flux/testdata/export/objects.yaml index 6a0c74c7..a512e62c 100644 --- a/cmd/flux/testdata/export/objects.yaml +++ b/cmd/flux/testdata/export/objects.yaml @@ -114,7 +114,7 @@ spec: name: flux-system namespace: flux-system --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: flux-system diff --git a/cmd/flux/testdata/trace/helmrelease-oci.yaml b/cmd/flux/testdata/trace/helmrelease-oci.yaml index edd54dd1..d4ac8f72 100644 --- a/cmd/flux/testdata/trace/helmrelease-oci.yaml +++ b/cmd/flux/testdata/trace/helmrelease-oci.yaml @@ -48,7 +48,6 @@ spec: sourceRef: kind: OCIRepository name: flux-system - validation: client interval: 5m prune: false status: diff --git a/cmd/flux/testdata/trace/helmrelease.yaml b/cmd/flux/testdata/trace/helmrelease.yaml index 98cdf5b2..d82a8c03 100644 --- a/cmd/flux/testdata/trace/helmrelease.yaml +++ b/cmd/flux/testdata/trace/helmrelease.yaml @@ -48,7 +48,6 @@ spec: sourceRef: kind: GitRepository name: flux-system - validation: client interval: 5m prune: false status: diff --git a/tests/integration/oci_test.go b/tests/integration/oci_test.go index 18747e3b..d50b69a6 100644 --- a/tests/integration/oci_test.go +++ b/tests/integration/oci_test.go @@ -28,7 +28,7 @@ import ( "k8s.io/apimachinery/pkg/types" helmv2 "github.com/fluxcd/helm-controller/api/v2" - sourcev1 "github.com/fluxcd/source-controller/api/v1beta2" + sourcev1 "github.com/fluxcd/source-controller/api/v1" ) func TestOCIHelmRelease(t *testing.T) {