Update tests to GA APIs

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/4775/head
Stefan Prodan 8 months ago
parent 83b7b17f11
commit d5aedaca7d
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

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

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

@ -48,7 +48,6 @@ spec:
sourceRef:
kind: OCIRepository
name: flux-system
validation: client
interval: 5m
prune: false
status:

@ -48,7 +48,6 @@ spec:
sourceRef:
kind: GitRepository
name: flux-system
validation: client
interval: 5m
prune: false
status:

@ -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) {

Loading…
Cancel
Save