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: '*' version: '*'
interval: 5m0s interval: 5m0s
--- ---
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: podinfo name: podinfo
@ -104,7 +104,7 @@ spec:
interval: 1m0s interval: 1m0s
url: https://stefanprodan.github.io/podinfo url: https://stefanprodan.github.io/podinfo
--- ---
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmChart kind: HelmChart
metadata: metadata:
name: default-podinfo name: default-podinfo

@ -114,7 +114,7 @@ spec:
name: flux-system name: flux-system
namespace: flux-system namespace: flux-system
--- ---
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: flux-system name: flux-system

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

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

@ -28,7 +28,7 @@ import (
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/types"
helmv2 "github.com/fluxcd/helm-controller/api/v2" 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) { func TestOCIHelmRelease(t *testing.T) {

Loading…
Cancel
Save