mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
Update tests to GA APIs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
83b7b17f11
commit
d5aedaca7d
5 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
cmd/flux/testdata/export/objects.yaml
vendored
2
cmd/flux/testdata/export/objects.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
cmd/flux/testdata/trace/helmrelease-oci.yaml
vendored
1
cmd/flux/testdata/trace/helmrelease-oci.yaml
vendored
|
|
@ -48,7 +48,6 @@ spec:
|
|||
sourceRef:
|
||||
kind: OCIRepository
|
||||
name: flux-system
|
||||
validation: client
|
||||
interval: 5m
|
||||
prune: false
|
||||
status:
|
||||
|
|
|
|||
1
cmd/flux/testdata/trace/helmrelease.yaml
vendored
1
cmd/flux/testdata/trace/helmrelease.yaml
vendored
|
|
@ -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…
Reference in a new issue