diff --git a/tests/v.2.2/clusters/kind/sources.yaml b/tests/v.2.2/clusters/kind/sources.yaml new file mode 100644 index 0000000..07bd9a2 --- /dev/null +++ b/tests/v.2.2/clusters/kind/sources.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: sources-tests + namespace: flux-system +spec: + serviceAccountName: kustomize-controller + interval: 10m + sourceRef: + kind: GitRepository + name: flux-system + path: ./tests/v2.2/sources + prune: true + wait: true + timeout: 5m diff --git a/tests/v.2.2/sources/helm.yaml b/tests/v.2.2/sources/helm.yaml new file mode 100644 index 0000000..ddbe587 --- /dev/null +++ b/tests/v.2.2/sources/helm.yaml @@ -0,0 +1,45 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: podinfo-https + namespace: sources-tests +spec: + interval: 10m + url: https://stefanprodan.github.io/podinfo +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmChart +metadata: + name: podinfo-https + namespace: sources-tests +spec: + interval: 10m + chart: podinfo + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: podinfo-https +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: podinfo-oci + namespace: sources-tests +spec: + type: oci + interval: 10m + url: oci://ghcr.io/stefanprodan/charts/podinfo +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmChart +metadata: + name: podinfo-oci + namespace: sources-tests +spec: + interval: 10m + chart: podinfo + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: podinfo-oci diff --git a/tests/v.2.2/sources/namespace.yaml b/tests/v.2.2/sources/namespace.yaml new file mode 100644 index 0000000..48fc32c --- /dev/null +++ b/tests/v.2.2/sources/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: sources-tests \ No newline at end of file