From 353aab3711c36ffc0d1fe0e5f121efe3eebc0261 Mon Sep 17 00:00:00 2001 From: James Pace Date: Sat, 1 Apr 2023 20:41:40 -0400 Subject: [PATCH] Add sources. --- clusters/j7s-cluster/sources/flux-apps.yaml | 13 +++++++++++++ clusters/j7s-cluster/sources/j7s-ci.yaml | 13 +++++++++++++ clusters/j7s-cluster/sources/kustomization.yaml | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 clusters/j7s-cluster/sources/flux-apps.yaml create mode 100644 clusters/j7s-cluster/sources/j7s-ci.yaml create mode 100644 clusters/j7s-cluster/sources/kustomization.yaml diff --git a/clusters/j7s-cluster/sources/flux-apps.yaml b/clusters/j7s-cluster/sources/flux-apps.yaml new file mode 100644 index 0000000..7b7d40e --- /dev/null +++ b/clusters/j7s-cluster/sources/flux-apps.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: GitRepository +metadata: + name: flux-app + namespace: flux-system +spec: + interval: 60s + ref: + branch: master + url: ssh://git@git.jpace121.net:2222/cd/flux-apps.git + secretRef: + name: flux-system \ No newline at end of file diff --git a/clusters/j7s-cluster/sources/j7s-ci.yaml b/clusters/j7s-cluster/sources/j7s-ci.yaml new file mode 100644 index 0000000..26f306d --- /dev/null +++ b/clusters/j7s-cluster/sources/j7s-ci.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: GitRepository +metadata: + name: flux-ci + namespace: flux-system +spec: + interval: 60s + ref: + branch: master + url: ssh://git@git.jpace121.net:2222/cd/j7s-ci.git + secretRef: + name: flux-system \ No newline at end of file diff --git a/clusters/j7s-cluster/sources/kustomization.yaml b/clusters/j7s-cluster/sources/kustomization.yaml new file mode 100644 index 0000000..e7b5dbe --- /dev/null +++ b/clusters/j7s-cluster/sources/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- flux-apps.yaml