1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Update tests to GA APIs

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2024-05-09 19:05:45 +03:00
parent 83b7b17f11
commit d5aedaca7d
5 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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