From 18abbc8f3fe3c6a8dcc67d6bc14a97c317465ff0 Mon Sep 17 00:00:00 2001 From: Himangini Date: Mon, 6 Sep 2021 17:20:31 +0100 Subject: [PATCH] wego app add ./ --- .wego/apps/podinfo-deploy/app.yaml | 14 ++++++++++++++ .../podinfo-deploy-gitops-deploy.yaml | 12 ++++++++++++ .../podinfo-deploy-gitops-source.yaml | 15 +++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 .wego/apps/podinfo-deploy/app.yaml create mode 100644 .wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-deploy.yaml create mode 100644 .wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-source.yaml diff --git a/.wego/apps/podinfo-deploy/app.yaml b/.wego/apps/podinfo-deploy/app.yaml new file mode 100644 index 00000000..1f7214e2 --- /dev/null +++ b/.wego/apps/podinfo-deploy/app.yaml @@ -0,0 +1,14 @@ +--- +apiVersion: wego.weave.works/v1alpha1 +kind: Application +metadata: + labels: + wego.weave.works/app-identifier: wego-3c3a8369ab66588b3c51c0bc0ee48a8b + name: podinfo-deploy + namespace: wego-system +spec: + branch: main + deployment_type: kustomize + path: ./ + source_type: git + url: ssh://git@github.com/Himangini/podinfo-deploy.git diff --git a/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-deploy.yaml b/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-deploy.yaml new file mode 100644 index 00000000..fd24054e --- /dev/null +++ b/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-deploy.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: podinfo-deploy + namespace: wego-system +spec: + interval: 30s + ref: + branch: main + url: https://github.com/Himangini/podinfo-deploy.git + diff --git a/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-source.yaml b/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-source.yaml new file mode 100644 index 00000000..b2d9215c --- /dev/null +++ b/.wego/targets/kind-kind/podinfo-deploy/podinfo-deploy-gitops-source.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +kind: Kustomization +metadata: + name: podinfo-deploy + namespace: wego-system +spec: + interval: 1m0s + path: ./ + prune: true + sourceRef: + kind: GitRepository + name: podinfo-deploy + validation: client +