From 8da91f7b5067747da2d39a206822a6881624c99e Mon Sep 17 00:00:00 2001 From: mikemcd3912 Date: Thu, 18 Apr 2024 15:33:20 +0000 Subject: [PATCH] Break out snapshot restore kustomization --- .../snapshot-restore-kustomization.yaml | 13 +++++++++++++ .../snapshot-tester-kustomization.yaml | 17 +---------------- 2 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore-kustomization.yaml diff --git a/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore-kustomization.yaml b/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore-kustomization.yaml new file mode 100644 index 00000000..9f8561f7 --- /dev/null +++ b/eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore-kustomization.yaml @@ -0,0 +1,13 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: snapshot-restore + namespace: flux-system +spec: + path: "./eks-anywhere-vsphere/Testers/Core/snapshot-tester/snapshot-restore" + sourceRef: + kind: GitRepository + name: addons + namespace: flux-system + interval: 1m0s + prune: true \ 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 746c52c8..6c79b560 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,19 +27,4 @@ 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 +