diff --git a/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore/restore-kustomization.yaml b/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore/restore-kustomization.yaml deleted file mode 100644 index a788fcb1..00000000 --- a/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore/restore-kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - claim.yaml - - restore-test-pod.yaml \ No newline at end of file diff --git a/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-tester-kustomization.yaml b/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-tester-kustomization.yaml index a67ba6cc..746c52c8 100644 --- a/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-tester-kustomization.yaml +++ b/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-tester-kustomization.yaml @@ -27,3 +27,19 @@ spec: namespace: flux-system interval: 1m0s prune: true +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: snapshot-restore + namespace: flux-system +spec: + dependsOn: + - name: snapshot + path: "./eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore" + sourceRef: + kind: GitRepository + name: addons + namespace: flux-system + interval: 1m0s + prune: true