From 8b60507a562aac49f12ead24b46b2e1e36833d23 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Tue, 3 Dec 2024 15:18:50 -0800 Subject: [PATCH 1/8] switch to jeff --- .../projects/argocd/gitops/app-projects.application.gen.yaml | 2 +- .../projects/argocd/gitops/argocd-crds.application.gen.yaml | 2 +- .../workload/projects/argocd/gitops/argocd.application.gen.yaml | 2 +- .../projects/argocd/gitops/kargo-secrets.application.gen.yaml | 2 +- .../workload/projects/argocd/gitops/kargo.application.gen.yaml | 2 +- .../projects/argocd/gitops/namespaces.application.gen.yaml | 2 +- .../projects/argocd/gitops/rollouts-crds.application.gen.yaml | 2 +- .../projects/argocd/gitops/rollouts.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/accounts-db.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/balance-reader.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/config.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/contacts.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/ledger-db.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/ledger-writer.application.gen.yaml | 2 +- .../gitops/transaction-history.application.gen.yaml | 2 +- .../dev-bank-backend/gitops/userservice.application.gen.yaml | 2 +- .../dev-bank-security/gitops/namespaces.application.gen.yaml | 2 +- .../dev-bank-security/gitops/secrets.application.gen.yaml | 2 +- .../projects/dev-bank-web/gitops/frontend.application.gen.yaml | 2 +- .../projects/network/gitops/gateway-api.application.gen.yaml | 2 +- .../projects/network/gitops/httproutes.application.gen.yaml | 2 +- .../projects/network/gitops/istio-base.application.gen.yaml | 2 +- .../projects/network/gitops/istio-cni.application.gen.yaml | 2 +- .../projects/network/gitops/istio-gateway.application.gen.yaml | 2 +- .../projects/network/gitops/istio-ztunnel.application.gen.yaml | 2 +- .../projects/network/gitops/istiod.application.gen.yaml | 2 +- .../projects/network/gitops/namespaces.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/accounts-db.application.gen.yaml | 2 +- .../gitops/balance-reader.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/config.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/contacts.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/ledger-db.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/ledger-writer.application.gen.yaml | 2 +- .../gitops/transaction-history.application.gen.yaml | 2 +- .../prod-bank-backend/gitops/userservice.application.gen.yaml | 2 +- .../prod-bank-security/gitops/namespaces.application.gen.yaml | 2 +- .../prod-bank-security/gitops/secrets.application.gen.yaml | 2 +- .../projects/prod-bank-web/gitops/frontend.application.gen.yaml | 2 +- .../projects/security/gitops/cert-manager.application.gen.yaml | 2 +- .../security/gitops/external-secrets-crds.application.gen.yaml | 2 +- .../security/gitops/external-secrets.application.gen.yaml | 2 +- .../projects/security/gitops/local-ca.application.gen.yaml | 2 +- .../projects/security/gitops/namespaces.application.gen.yaml | 2 +- .../stage-bank-backend/gitops/accounts-db.application.gen.yaml | 2 +- .../gitops/balance-reader.application.gen.yaml | 2 +- .../stage-bank-backend/gitops/config.application.gen.yaml | 2 +- .../stage-bank-backend/gitops/contacts.application.gen.yaml | 2 +- .../stage-bank-backend/gitops/ledger-db.application.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 2 +- .../gitops/transaction-history.application.gen.yaml | 2 +- .../stage-bank-backend/gitops/userservice.application.gen.yaml | 2 +- .../stage-bank-security/gitops/namespaces.application.gen.yaml | 2 +- .../stage-bank-security/gitops/secrets.application.gen.yaml | 2 +- .../stage-bank-web/gitops/frontend.application.gen.yaml | 2 +- .../test-bank-backend/gitops/accounts-db.application.gen.yaml | 2 +- .../gitops/balance-reader.application.gen.yaml | 2 +- .../test-bank-backend/gitops/config.application.gen.yaml | 2 +- .../test-bank-backend/gitops/contacts.application.gen.yaml | 2 +- .../test-bank-backend/gitops/ledger-db.application.gen.yaml | 2 +- .../test-bank-backend/gitops/ledger-writer.application.gen.yaml | 2 +- .../gitops/transaction-history.application.gen.yaml | 2 +- .../test-bank-backend/gitops/userservice.application.gen.yaml | 2 +- .../test-bank-security/gitops/namespaces.application.gen.yaml | 2 +- .../test-bank-security/gitops/secrets.application.gen.yaml | 2 +- .../projects/test-bank-web/gitops/frontend.application.gen.yaml | 2 +- 65 files changed, 65 insertions(+), 65 deletions(-) diff --git a/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml index 9dc6ae78..6e2cfbf3 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/app-projects - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml index 5f527731..edc38c40 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/argocd-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml index ca220787..9b67c100 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/argocd - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml index d3ae8ff6..10e56c14 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/kargo-secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml index ef484a93..880c261f 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/kargo - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml index 5a034ba0..85af80d5 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml index 54909e6e..7c73e079 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/rollouts-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml index 9b92ff08..e05e86d6 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/rollouts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml index f575067b..d8e11a8e 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml index 3a5616f0..ec5ba3a5 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml index b1ebf2d7..082cd8ad 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml index 7b668aee..93633051 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml index d0de048c..207537b0 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml index 4d9a0e16..32e9bef0 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml index 78d33f58..72d64df5 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml index 17e5e7a4..9987cf11 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/workload/projects/dev-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml index 9226158e..7802305e 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-security source: path: deploy/clusters/workload/projects/dev-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml index 90d5a052..a464518b 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-security source: path: deploy/clusters/workload/projects/dev-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml index 35b52c0a..e89184bc 100644 --- a/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-web source: path: deploy/clusters/workload/projects/dev-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml index e2baa2cb..4d5ae972 100644 --- a/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/gateway-api - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml index e99bd935..0912f1a7 100644 --- a/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/httproutes - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml index 6ae980be..0aff0ecf 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-base - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml index 77792b54..720553cd 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-cni - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml index 99a4a8fc..2aa8d112 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-gateway - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml index c4db282f..cace5c26 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-ztunnel - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml index 6ad507c1..be6e7c9e 100644 --- a/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istiod - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml index 6c334d05..050f9e06 100644 --- a/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml index cc992f1c..aaf67d40 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml index 2aa296bd..357a8642 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml index b6262b53..c6e6dfbe 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml index 85242829..d13bc4cf 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml index 27b81546..60e450e9 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml index 617258f1..a10b5cb1 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml index c4e11556..c6ffc942 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml index f7f50c13..06575cec 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/workload/projects/prod-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml index 8df21e9b..9d59acca 100644 --- a/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-security source: path: deploy/clusters/workload/projects/prod-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml index ee4773a0..e4519601 100644 --- a/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-security source: path: deploy/clusters/workload/projects/prod-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml index f01aba41..a86d5d5f 100644 --- a/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-web source: path: deploy/clusters/workload/projects/prod-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml index 54dbb840..2562b12a 100644 --- a/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/cert-manager - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml index af5e357a..194c828a 100644 --- a/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/external-secrets-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml index 4ed95041..7c43d03a 100644 --- a/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/external-secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml index d5978b80..87dde5c9 100644 --- a/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/local-ca - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml index 98a85434..0cabded3 100644 --- a/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml index 755c0708..ca2e8d18 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml index 964b32ad..61221181 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml index f9f69b5d..e8352ae2 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml index 65eb4d41..4ca71b2d 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml index 263790b0..b140519f 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml index 8b61949a..388fe5a2 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml index 20b86155..077e0cdd 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml index 08b6bfd3..ecd97267 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/workload/projects/stage-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml index 268ff05e..7b641aed 100644 --- a/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-security source: path: deploy/clusters/workload/projects/stage-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml index 82dc6346..0a2d1fb3 100644 --- a/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-security source: path: deploy/clusters/workload/projects/stage-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml index 8cb59703..430bbe14 100644 --- a/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-web source: path: deploy/clusters/workload/projects/stage-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml index 5071bc8c..e8fa92d9 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml index cd4f9d48..02b24e61 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml index 32393180..6e9505f9 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml index eb76e74c..77e07542 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml index 25b69c01..3faf718c 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml index 5050464a..0e4594bc 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml index 54cd9b05..45cdfa81 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml index 05605b0f..3f69c05d 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/workload/projects/test-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml index 18a78513..cb141e7c 100644 --- a/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-security source: path: deploy/clusters/workload/projects/test-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml index 315aca55..368a1d11 100644 --- a/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-security source: path: deploy/clusters/workload/projects/test-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml index 47089c76..6e49bfcc 100644 --- a/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-web source: path: deploy/clusters/workload/projects/test-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main From 94c534aef7318476aac594bd678428777825da3a Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 4 Dec 2024 08:03:06 -0800 Subject: [PATCH 2/8] scripts: apply kargo github app secret if it exists The secret needs to be manually created right now as per https://docs.kargo.io/how-to-guides/managing-credentials/#github-app-authentication --- scripts/reset-cluster | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/reset-cluster b/scripts/reset-cluster index 1086a294..8256143c 100755 --- a/scripts/reset-cluster +++ b/scripts/reset-cluster @@ -16,5 +16,10 @@ k3d cluster create workload \ --port "443:443@loadbalancer" \ --k3s-arg "--disable=traefik@server:0" -kubectl apply --server-side=true -f "$(mkcert -CAROOT)/namespace.yaml" -kubectl apply --server-side=true -n cert-manager -f "$(mkcert -CAROOT)/local-ca.yaml" +CAROOT="$(mkcert -CAROOT)" +kubectl apply --server-side=true -f "${CAROOT}/namespace.yaml" +kubectl apply --server-side=true -n cert-manager -f "${CAROOT}/local-ca.yaml" +# Kargo secret +if [[ -f "${CAROOT}/kargo.yaml" ]]; then + kubectl apply --server-side=true -f "${CAROOT}/kargo.yaml" +fi From 2456c1c273deba31d991230acaa41555252171d2 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Tue, 3 Dec 2024 17:30:00 -0800 Subject: [PATCH 3/8] Add kargo projects similar to namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manage the Project resource similar to namespaces. ❯ k get project -A NAME READY STATUS AGE dev-bank-backend True Project is initialized and ready for use 15s dev-bank-frontend True Project is initialized and ready for use 15s dev-bank-security True Project is initialized and ready for use 15s prod-bank-backend True Project is initialized and ready for use 15s prod-bank-frontend True Project is initialized and ready for use 15s prod-bank-security True Project is initialized and ready for use 15s stage-bank-backend True Project is initialized and ready for use 15s stage-bank-frontend True Project is initialized and ready for use 15s stage-bank-security True Project is initialized and ready for use 15s test-bank-backend True Project is initialized and ready for use 15s test-bank-frontend True Project is initialized and ready for use 15s test-bank-security True Project is initialized and ready for use 15s --- bank-projects.cue | 7 +- components/projects/projects.cue | 17 +++++ components/projects/readme.md | 3 + .../argocd/components/kargo/kargo.gen.yaml | 41 ++++-------- .../gitops/app-projects.application.gen.yaml | 2 +- .../gitops/argocd-crds.application.gen.yaml | 2 +- .../argocd/gitops/argocd.application.gen.yaml | 2 +- .../gitops/kargo-secrets.application.gen.yaml | 2 +- .../argocd/gitops/kargo.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/rollouts-crds.application.gen.yaml | 2 +- .../gitops/rollouts.application.gen.yaml | 2 +- .../gitops/accounts-db.application.gen.yaml | 2 +- .../balance-reader.application.gen.yaml | 2 +- .../gitops/config.application.gen.yaml | 2 +- .../gitops/contacts.application.gen.yaml | 2 +- .../gitops/ledger-db.application.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 2 +- .../transaction-history.application.gen.yaml | 2 +- .../gitops/userservice.application.gen.yaml | 2 +- .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/projects.application.gen.yaml | 20 ++++++ .../gitops/secrets.application.gen.yaml | 2 +- .../gitops/frontend.application.gen.yaml | 2 +- .../gitops/gateway-api.application.gen.yaml | 2 +- .../gitops/httproutes.application.gen.yaml | 2 +- .../gitops/istio-base.application.gen.yaml | 2 +- .../gitops/istio-cni.application.gen.yaml | 2 +- .../gitops/istio-gateway.application.gen.yaml | 2 +- .../gitops/istio-ztunnel.application.gen.yaml | 2 +- .../gitops/istiod.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/accounts-db.application.gen.yaml | 2 +- .../balance-reader.application.gen.yaml | 2 +- .../gitops/config.application.gen.yaml | 2 +- .../gitops/contacts.application.gen.yaml | 2 +- .../gitops/ledger-db.application.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 2 +- .../transaction-history.application.gen.yaml | 2 +- .../gitops/userservice.application.gen.yaml | 2 +- .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/projects.application.gen.yaml | 20 ++++++ .../gitops/secrets.application.gen.yaml | 2 +- .../gitops/frontend.application.gen.yaml | 2 +- .../gitops/cert-manager.application.gen.yaml | 2 +- ...external-secrets-crds.application.gen.yaml | 2 +- .../external-secrets.application.gen.yaml | 2 +- .../gitops/local-ca.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/accounts-db.application.gen.yaml | 2 +- .../balance-reader.application.gen.yaml | 2 +- .../gitops/config.application.gen.yaml | 2 +- .../gitops/contacts.application.gen.yaml | 2 +- .../gitops/ledger-db.application.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 2 +- .../transaction-history.application.gen.yaml | 2 +- .../gitops/userservice.application.gen.yaml | 2 +- .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/projects.application.gen.yaml | 20 ++++++ .../gitops/secrets.application.gen.yaml | 2 +- .../gitops/frontend.application.gen.yaml | 2 +- .../gitops/accounts-db.application.gen.yaml | 2 +- .../balance-reader.application.gen.yaml | 2 +- .../gitops/config.application.gen.yaml | 2 +- .../gitops/contacts.application.gen.yaml | 2 +- .../gitops/ledger-db.application.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 2 +- .../transaction-history.application.gen.yaml | 2 +- .../gitops/userservice.application.gen.yaml | 2 +- .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/projects.application.gen.yaml | 20 ++++++ .../gitops/secrets.application.gen.yaml | 2 +- .../gitops/frontend.application.gen.yaml | 2 +- .../argocd/components/kargo/kargo.gen.yaml | 41 ++++-------- .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/projects.application.gen.yaml | 20 ++++++ .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/projects.application.gen.yaml | 20 ++++++ .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/projects.application.gen.yaml | 20 ++++++ .../components/namespaces/namespaces.gen.yaml | 3 + .../components/projects/projects.gen.yaml | 41 ++++++++++++ .../gitops/projects.application.gen.yaml | 20 ++++++ kargo-values.cue | 5 +- kargo.cue | 64 +++++++++++++++++++ .../components/stages/stages.cue | 15 +++++ scripts/apply | 3 +- 98 files changed, 710 insertions(+), 128 deletions(-) create mode 100644 components/projects/projects.cue create mode 100644 components/projects/readme.md create mode 100644 deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml create mode 100644 deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml create mode 100644 projects/bank-frontend/components/stages/stages.cue diff --git a/bank-projects.cue b/bank-projects.cue index 0a7d42c4..a96968f5 100644 --- a/bank-projects.cue +++ b/bank-projects.cue @@ -22,7 +22,7 @@ BankOfHolos: #BankOfHolos & { // Projects are security boundaries, so manage one project for each environment // and team combination. for ENV in BankOfHolos.configuration.environments { - Projects: "\(ENV.name)-bank-security": #ProjectBuilder & { + Projects: "\(ENV.name)-bank-security": #KargoProjectBuilder & { team: "security" stack: BankOfHolos.Name environment: ENV.name @@ -94,7 +94,10 @@ for ENV in BankOfHolos.configuration.environments { for ENV in Environments { for NS in EnvironmentNamespaces { - environments: (ENV.name): namespaces: "\(ENV.name)-\(NS.metadata.name)": _ + // Adopts the namespace into a Kargo Project. Manages a Kargo Project + // cluster resources via the label. + // https://docs.kargo.io/how-to-guides/working-with-projects#namespace-adoption + environments: (ENV.name): namespaces: "\(ENV.name)-\(NS.metadata.name)": metadata: labels: "kargo.akuity.io/project": "true" } } } diff --git a/components/projects/projects.cue b/components/projects/projects.cue new file mode 100644 index 00000000..f307a453 --- /dev/null +++ b/components/projects/projects.cue @@ -0,0 +1,17 @@ +package holos + +// Produce a kubernetes objects build plan. +holos: Component.BuildPlan + +_project: string @tag(project) +_cluster: string @tag(cluster) + +Component: #Kubernetes & { + Resources: { + // The kargo.akuity.io/project label is the source of truth for what + // Projects should be managed. + for PROJECT in Projects[_project]._kargo_cluster_projects[_cluster] { + Project: (PROJECT.metadata.name): _ + } + } +} diff --git a/components/projects/readme.md b/components/projects/readme.md new file mode 100644 index 00000000..f3b71002 --- /dev/null +++ b/components/projects/readme.md @@ -0,0 +1,3 @@ +# Projects + +Like Namespaces, but for Kargo Project resources. diff --git a/deploy/clusters/management/projects/argocd/components/kargo/kargo.gen.yaml b/deploy/clusters/management/projects/argocd/components/kargo/kargo.gen.yaml index 15a6037a..9be6308c 100644 --- a/deploy/clusters/management/projects/argocd/components/kargo/kargo.gen.yaml +++ b/deploy/clusters/management/projects/argocd/components/kargo/kargo.gen.yaml @@ -3521,6 +3521,14 @@ rules: verbs: - create - patch +- apiGroups: + - "" + resources: + - secrets + verbs: + - get + - list + - watch - apiGroups: - kargo.akuity.io resources: @@ -3597,32 +3605,6 @@ rules: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: kargo - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - app.kubernetes.io/component: controller - app.kubernetes.io/instance: kargo - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: kargo - app.kubernetes.io/version: v1.0.3 - argocd.argoproj.io/instance: argocd-kargo - helm.sh/chart: kargo-1.0.3 - name: kargo-controller-read-secrets -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole metadata: labels: app.holos.run/cluster.name: management @@ -4314,7 +4296,7 @@ data: GITCLIENT_EMAIL: no-reply@kargo.io GITCLIENT_NAME: Kargo GITCLIENT_SIGNING_KEY_TYPE: gpg - GLOBAL_CREDENTIALS_NAMESPACES: "" + GLOBAL_CREDENTIALS_NAMESPACES: kargo LOG_LEVEL: INFO ROLLOUTS_CONTROLLER_INSTANCE_ID: "" ROLLOUTS_INTEGRATION_ENABLED: "true" @@ -4364,6 +4346,7 @@ apiVersion: v1 data: KARGO_NAMESPACE: kargo LOG_LEVEL: INFO + MANAGE_CONTROLLER_ROLE_BINDINGS: "false" kind: ConfigMap metadata: labels: @@ -4558,7 +4541,7 @@ spec: template: metadata: annotations: - configmap/checksum: cf6d41daa5bd745a15bd173fdc5dcf48c25a6c74c4ddb8dca3a0d6045be7aae7 + configmap/checksum: 6b243732e7e4c920dda8395eb9f4d97c796850efc4916b7cd7a1c3be851ff4be labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: kargo @@ -4609,7 +4592,7 @@ spec: template: metadata: annotations: - configmap/checksum: 09e2c02a7e3a377e96d59d1fd0a1e95757a1ad39024466f12c612d082962bc75 + configmap/checksum: d5c3143a94d57af29a3836414d147d76b5406bcb3cf780e3fd38acab01ee984f labels: app.kubernetes.io/component: management-controller app.kubernetes.io/instance: kargo diff --git a/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml index e2caab69..514f08ff 100644 --- a/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/app-projects - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml index 02c07d6f..87baf56c 100644 --- a/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/argocd-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml index 4894ca4c..7cafad7f 100644 --- a/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/argocd - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml index e26258c0..207a5f07 100644 --- a/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/kargo-secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml index adcbbe14..9e98f30d 100644 --- a/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/kargo - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml index d961c623..d892e6fe 100644 --- a/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml index 92a00eed..f193dda4 100644 --- a/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/rollouts-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml index 2f8602e8..ca398ffc 100644 --- a/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/rollouts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml index 8c22adb2..665a306c 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml index 020c3a03..c2b04089 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml index 321782f7..13737fff 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml index 9cd8b944..76cfa0cd 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml index ea12d1c4..8c303834 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml index 9648e182..3e34841b 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml index 4175cd2f..f31cdfef 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml index 13c045d1..a3c30122 100644 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-backend source: path: deploy/clusters/management/projects/dev-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml index 52fbc5a7..d267184e 100644 --- a/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-backend name: dev-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-frontend name: dev-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-security name: dev-bank-security diff --git a/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..d11b08de --- /dev/null +++ b/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-security +spec: {} diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml index 88ee905f..93a69a54 100644 --- a/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-security source: path: deploy/clusters/management/projects/dev-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..cd33729e --- /dev/null +++ b/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: dev-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: dev-bank-security + source: + path: deploy/clusters/management/projects/dev-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml index f75840fc..05035753 100644 --- a/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-security source: path: deploy/clusters/management/projects/dev-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml index d0bb65a6..3d6f2754 100644 --- a/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: dev-bank-web source: path: deploy/clusters/management/projects/dev-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml index 4fd83e1b..857a9f36 100644 --- a/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/gateway-api - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml index 4d00a67f..78455d5e 100644 --- a/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/httproutes - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml index f332e722..6ff693db 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-base - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml index 2bf4270e..7661b77f 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-cni - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml index d9203774..b5af5b67 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-gateway - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml index a629c8c7..4a90151c 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-ztunnel - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml index 941c89ba..0cd0e75a 100644 --- a/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istiod - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml index e91357a3..1ee7d18b 100644 --- a/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml index 96794a12..60a42f72 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml index 4c517bb2..2c8ff3ae 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml index cbea34b5..44a16d6b 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml index 410d06c4..bd139ae0 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml index 7c726e8d..d2d31ed9 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml index 4cc12d49..fb4b3ab7 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml index ccb15643..a8cbe15f 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml index 053b2ae2..59dc2154 100644 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-backend source: path: deploy/clusters/management/projects/prod-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml index fac835d3..e0b459e7 100644 --- a/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-backend name: prod-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-frontend name: prod-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-security name: prod-bank-security diff --git a/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..f4658c64 --- /dev/null +++ b/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-security +spec: {} diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml index 0d7ff6d8..5d9f769e 100644 --- a/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-security source: path: deploy/clusters/management/projects/prod-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..0114e8f2 --- /dev/null +++ b/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: prod-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: prod-bank-security + source: + path: deploy/clusters/management/projects/prod-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml index cdcac460..5c08b4bc 100644 --- a/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-security source: path: deploy/clusters/management/projects/prod-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml index c4c5830f..f6f5e3fe 100644 --- a/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: prod-bank-web source: path: deploy/clusters/management/projects/prod-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml index f5efb528..3116588c 100644 --- a/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/cert-manager - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml index a252e305..a7038807 100644 --- a/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/external-secrets-crds - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml index 4c920fcd..eaa8c491 100644 --- a/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/external-secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml index 1bd1e3c2..732e895a 100644 --- a/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/local-ca - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml index ed842c81..70623923 100644 --- a/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml index 5ad01c5f..45b0ac21 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml index 3e2fefdb..6f220bb5 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml index 95f7eb7f..87d3b952 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml index ac3ebf1d..be2ea2a0 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml index f447cb44..46a9fbb9 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml index 7ce44d93..378c9985 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml index 0e870583..59f56b36 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml index 4a902988..45cb0ffe 100644 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-backend source: path: deploy/clusters/management/projects/stage-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml index 0f45a4c8..18a8b84e 100644 --- a/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-backend name: stage-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-frontend name: stage-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-security name: stage-bank-security diff --git a/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..3896d925 --- /dev/null +++ b/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-security +spec: {} diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml index 2d86db5b..388c19b7 100644 --- a/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-security source: path: deploy/clusters/management/projects/stage-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..305d5b35 --- /dev/null +++ b/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: stage-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: stage-bank-security + source: + path: deploy/clusters/management/projects/stage-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml index bfa3070f..11b36f3f 100644 --- a/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-security source: path: deploy/clusters/management/projects/stage-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml index ba8af2af..926c0bd1 100644 --- a/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: stage-bank-web source: path: deploy/clusters/management/projects/stage-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml index 2e359097..db62320c 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/accounts-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml index 0fc26c23..aa54a999 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/balance-reader - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml index f6d1cac2..f02ca8a0 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/config - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml index 64e1a1b6..2a66867f 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/contacts - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml index fd2a6d97..99dd36fc 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/ledger-db - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml index c2b7d70c..b3636de8 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/ledger-writer - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml index f92011f7..ecccf073 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/transaction-history - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml index e5db0f08..4e2f2574 100644 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-backend source: path: deploy/clusters/management/projects/test-bank-backend/components/userservice - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml index 9fadae8e..e7fe65a7 100644 --- a/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-backend name: test-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-frontend name: test-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-security name: test-bank-security diff --git a/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..ffcbb350 --- /dev/null +++ b/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-security +spec: {} diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml index c22606ab..6b3e0b3c 100644 --- a/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-security source: path: deploy/clusters/management/projects/test-bank-security/components/namespaces - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..382c1a54 --- /dev/null +++ b/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: test-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: test-bank-security + source: + path: deploy/clusters/management/projects/test-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml index a63bd0c0..752dd510 100644 --- a/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-security source: path: deploy/clusters/management/projects/test-bank-security/components/secrets - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml index 8de38fcd..9331c4bf 100644 --- a/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: test-bank-web source: path: deploy/clusters/management/projects/test-bank-web/components/frontend - repoURL: https://github.com/holos-run/bank-of-holos.git + repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/components/kargo/kargo.gen.yaml b/deploy/clusters/workload/projects/argocd/components/kargo/kargo.gen.yaml index d80e910d..40a60134 100644 --- a/deploy/clusters/workload/projects/argocd/components/kargo/kargo.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/components/kargo/kargo.gen.yaml @@ -3521,6 +3521,14 @@ rules: verbs: - create - patch +- apiGroups: + - "" + resources: + - secrets + verbs: + - get + - list + - watch - apiGroups: - kargo.akuity.io resources: @@ -3597,32 +3605,6 @@ rules: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: kargo - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - app.kubernetes.io/component: controller - app.kubernetes.io/instance: kargo - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: kargo - app.kubernetes.io/version: v1.0.3 - argocd.argoproj.io/instance: argocd-kargo - helm.sh/chart: kargo-1.0.3 - name: kargo-controller-read-secrets -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole metadata: labels: app.holos.run/cluster.name: workload @@ -4314,7 +4296,7 @@ data: GITCLIENT_EMAIL: no-reply@kargo.io GITCLIENT_NAME: Kargo GITCLIENT_SIGNING_KEY_TYPE: gpg - GLOBAL_CREDENTIALS_NAMESPACES: "" + GLOBAL_CREDENTIALS_NAMESPACES: kargo LOG_LEVEL: INFO ROLLOUTS_CONTROLLER_INSTANCE_ID: "" ROLLOUTS_INTEGRATION_ENABLED: "true" @@ -4364,6 +4346,7 @@ apiVersion: v1 data: KARGO_NAMESPACE: kargo LOG_LEVEL: INFO + MANAGE_CONTROLLER_ROLE_BINDINGS: "false" kind: ConfigMap metadata: labels: @@ -4558,7 +4541,7 @@ spec: template: metadata: annotations: - configmap/checksum: cf6d41daa5bd745a15bd173fdc5dcf48c25a6c74c4ddb8dca3a0d6045be7aae7 + configmap/checksum: 6b243732e7e4c920dda8395eb9f4d97c796850efc4916b7cd7a1c3be851ff4be labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: kargo @@ -4609,7 +4592,7 @@ spec: template: metadata: annotations: - configmap/checksum: 09e2c02a7e3a377e96d59d1fd0a1e95757a1ad39024466f12c612d082962bc75 + configmap/checksum: d5c3143a94d57af29a3836414d147d76b5406bcb3cf780e3fd38acab01ee984f labels: app.kubernetes.io/component: management-controller app.kubernetes.io/instance: kargo diff --git a/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml index 1aa6c7e4..7d596a10 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-backend name: dev-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-frontend name: dev-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: dev-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: dev-bank-security name: dev-bank-security diff --git a/deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..c1f75148 --- /dev/null +++ b/deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: dev-bank-security-projects + name: dev-bank-security +spec: {} diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..d3871110 --- /dev/null +++ b/deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: dev-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: dev-bank-security + source: + path: deploy/clusters/workload/projects/dev-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml index 7241fccf..f9eb5185 100644 --- a/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-backend name: prod-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-frontend name: prod-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: prod-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: prod-bank-security name: prod-bank-security diff --git a/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..f3f3288e --- /dev/null +++ b/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: prod-bank-security-projects + name: prod-bank-security +spec: {} diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..8923e65b --- /dev/null +++ b/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: prod-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: prod-bank-security + source: + path: deploy/clusters/workload/projects/prod-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml index 162ce1b9..f5cab53e 100644 --- a/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-backend name: stage-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-frontend name: stage-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: stage-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: stage-bank-security name: stage-bank-security diff --git a/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..a068ec27 --- /dev/null +++ b/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: stage-bank-security-projects + name: stage-bank-security +spec: {} diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..f6669518 --- /dev/null +++ b/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: stage-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: stage-bank-security + source: + path: deploy/clusters/workload/projects/stage-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml index 22484e00..941b454a 100644 --- a/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml @@ -9,6 +9,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-backend name: test-bank-backend --- @@ -23,6 +24,7 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-frontend name: test-bank-frontend --- @@ -37,5 +39,6 @@ metadata: app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security argocd.argoproj.io/instance: test-bank-security-namespaces + kargo.akuity.io/project: "true" kubernetes.io/metadata.name: test-bank-security name: test-bank-security diff --git a/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml new file mode 100644 index 00000000..54aad895 --- /dev/null +++ b/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml @@ -0,0 +1,41 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-backend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-frontend +spec: {} +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Project +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: test-bank-security-projects + name: test-bank-security +spec: {} diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml new file mode 100644 index 00000000..11f16a9f --- /dev/null +++ b/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: projects + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: test-bank-security-projects + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: test-bank-security + source: + path: deploy/clusters/workload/projects/test-bank-security/components/projects + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/kargo-values.cue b/kargo-values.cue index bf990011..5ede57e2 100644 --- a/kargo-values.cue +++ b/kargo-values.cue @@ -379,13 +379,14 @@ package holos //# @param controller.serviceAccount.iamRole Specifies the ARN of an AWS IAM role to be used by the controller in an IRSA-enabled EKS cluster. iamRole: "" //# @param controller.serviceAccount.clusterWideSecretReadingEnabled Specifies whether the controller's ServiceAccount should be granted read permissions to Secrets CLUSTER-WIDE in the Kargo control plane's cluster. Enabling this is highly discouraged and you do so at your own peril. When this is NOT enabled, the Kargo management controller will dynamically expand and contract the controller's permissions to read Secrets on a Project-by-Project basis. - clusterWideSecretReadingEnabled: false + clusterWideSecretReadingEnabled: true | *false } //# All settings relating to shared credentials (used across multiple kargo projects) globalCredentials: { //# @param controller.globalCredentials.namespaces List of namespaces to look for shared credentials. Note that as of v1.0.0, the Kargo controller does not have cluster-wide access to Secrets. The controller receives read-only permission for Secrets on a per-Project basis as Projects are created. If you designate some namespaces as homes for "global" credentials, you will need to manually grant the controller permission to read Secrets in those namespaces. - namespaces: []} + namespaces: [...string] + } gitClient: { //# @param controller.gitClient.name Specifies the name of the Kargo controller (used when authoring Git commits). name: "Kargo" diff --git a/kargo.cue b/kargo.cue index c7788f20..856d9c7a 100644 --- a/kargo.cue +++ b/kargo.cue @@ -1,6 +1,22 @@ @if(!NoKargo && !NoArgoRollouts && !NoArgoCD) package holos +import ( + project "kargo.akuity.io/project/v1alpha1" + warehouse "kargo.akuity.io/warehouse/v1alpha1" + stage "kargo.akuity.io/stage/v1alpha1" +) + +// Custom resource definitions. +#Resources: { + Project?: [_]: project.#Project & { + spec: {...} + } + Warehouse?: [_]: warehouse.#Warehouse + Stage?: [_]: stage.#Stage +} + +// Kargo config definition. #Kargo: { Namespace: string Values: {...} @@ -16,6 +32,13 @@ Kargo: #Kargo & { // Secret generated by the kargo-secrets holos component. api: secret: name: "admin-credentials" } + + // These values are specific to the k3d local demo environment and should be + // changed for production. + Values: { + controller: serviceAccount: clusterWideSecretReadingEnabled: true + controller: globalCredentials: namespaces: [Namespace] + } } // Register namespaces and components with the project. @@ -31,3 +54,44 @@ Projects: { // Register the HTTPRoute to the backend Service HTTPRoutes: kargo: _backendRefs: "kargo-api": namespace: Kargo.Namespace + +#KargoProjectBuilder: #ProjectBuilder & { + name: _ + namespaces: _ + team: _ + environment?: _ + stack?: _ + let NAME = name + + clusters: _ + + _kargo_cluster_projects: {[CLUSTER=string]: [NAME=string]: metadata: name: NAME} + + for CLUSTER in clusters { + if len(_kargo_cluster_projects[CLUSTER.name]) > 0 { + let PROJECT_COMPONENT = #SharedComponent & { + _project: NAME + _cluster: CLUSTER.name + _component: "projects" + _team: team + if stack != _|_ { + _stack: stack + } + if environment != _|_ { + _environment: environment + } + } + components: (PROJECT_COMPONENT.name): PROJECT_COMPONENT.component + } + + if len(namespaces) > 0 { + for NS in namespaces { + if NS.metadata.labels["kargo.akuity.io/project"] != _|_ { + if NS.metadata.labels["kargo.akuity.io/project"] == "true" { + _kargo_cluster_projects: (CLUSTER.name): (NS.metadata.name): metadata: name: NS.metadata.name + } + } + } + } + } +} diff --git a/projects/bank-frontend/components/stages/stages.cue b/projects/bank-frontend/components/stages/stages.cue new file mode 100644 index 00000000..9f5f7493 --- /dev/null +++ b/projects/bank-frontend/components/stages/stages.cue @@ -0,0 +1,15 @@ +package holos + +holos: Component.BuildPlan + +Component: #Kubernetes & { + // Look up the frontend namespace. + Namespace: BankOfHolos.configuration.environments[EnvironmentName].frontend.namespace + + // Ensure resources go in the correct namespace. + Resources: [_]: [_]: metadata: namespace: Namespace + + Resources: { + Project: + } +} diff --git a/scripts/apply b/scripts/apply index b6204d30..bca27495 100755 --- a/scripts/apply +++ b/scripts/apply @@ -54,7 +54,8 @@ apply rollouts # Kargo kubectl wait --for=condition=Available deployment/external-secrets-webhook -n external-secrets --timeout=300s apply kargo-secrets -apply kargo +apply kargo # includes crds +apply projects # Istio apply istio-base From 96bee383611e0ae44d75429796a5b4210c79f7c6 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 4 Dec 2024 09:31:36 -0800 Subject: [PATCH 4/8] kargo: add warehouse for bank frontend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ❯ k get warehouse -A NAMESPACE NAME SHARD AGE dev-bank-frontend frontend 91m prod-bank-frontend frontend 91m stage-bank-frontend frontend 91m test-bank-frontend frontend 91m --- .cspell.json | 1 + .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/frontend/frontend.gen.yaml | 22 +++++++++++++++++++ .../components/bank-frontend/kargo.cue | 14 ++++++++++++ 10 files changed, 191 insertions(+) create mode 100644 projects/bank-frontend/components/bank-frontend/kargo.cue diff --git a/.cspell.json b/.cspell.json index 5e1ce958..e3b00c91 100644 --- a/.cspell.json +++ b/.cspell.json @@ -10,6 +10,7 @@ "words": [ "admissionregistration", "akuity", + "anthos", "apiextensions", "applicationset", "appproject", diff --git a/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml index fbf5fb06..1390cf2f 100644 --- a/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: frontend + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: dev-bank-web-frontend + name: frontend + namespace: dev-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml index 595f9566..2c38aead 100644 --- a/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: frontend + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: prod-bank-web-frontend + name: frontend + namespace: prod-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml index 1aa3c954..0823676d 100644 --- a/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: frontend + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: stage-bank-web-frontend + name: frontend + namespace: stage-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml index 1ce2e6e1..29090742 100644 --- a/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: management + app.holos.run/component.name: frontend + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: test-bank-web-frontend + name: frontend + namespace: test-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml index 5d2b04fa..b241f06c 100644 --- a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: dev-bank-web-frontend + name: frontend + namespace: dev-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml index 14b3280d..f5438da2 100644 --- a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: prod-bank-web-frontend + name: frontend + namespace: prod-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml index e75d1889..47e92203 100644 --- a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: stage-bank-web-frontend + name: frontend + namespace: stage-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml index 7ec38b81..2a01577b 100644 --- a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml @@ -298,3 +298,25 @@ spec: to: - group: "" kind: Service +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: test-bank-web-frontend + name: frontend + namespace: test-bank-frontend +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/projects/bank-frontend/components/bank-frontend/kargo.cue b/projects/bank-frontend/components/bank-frontend/kargo.cue new file mode 100644 index 00000000..64adeebd --- /dev/null +++ b/projects/bank-frontend/components/bank-frontend/kargo.cue @@ -0,0 +1,14 @@ +@if(!NoKargo && !NoArgoRollouts && !NoArgoCD) +package holos + +Component: Resources: { + Warehouse: frontend: spec: { + subscriptions: [{ + image: { + repoURL: "us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend" + semverConstraint: "^v0.6.5" + discoveryLimit: 5 + } + }] + } +} From 6325c768421511f218dc2b50547afd31a02555cc Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 4 Dec 2024 11:43:52 -0800 Subject: [PATCH 5/8] kargo: add promotion stages for the bank frontend This approach writes a kustomization.yaml file to build plan output directory. Kargo edits this kustomization.yaml file with the image tag to promote. --- argocd-application.cue | 9 +- .../components/frontend/frontend.gen.yaml | 62 +++++++++++ .../components/frontend/kustomization.yaml | 2 + .../components/frontend/frontend.gen.yaml | 62 +++++++++++ .../components/frontend/kustomization.yaml | 2 + .../components/frontend/frontend.gen.yaml | 62 +++++++++++ .../components/frontend/kustomization.yaml | 2 + .../components/frontend/frontend.gen.yaml | 62 +++++++++++ .../components/frontend/kustomization.yaml | 2 + .../bank-frontend/dev/kustomization.yaml | 5 + .../components/bank-frontend/kargo.cue | 101 +++++++++++++++++- .../bank-frontend/prod/kustomization.yaml | 5 + .../bank-frontend/stage/kustomization.yaml | 5 + .../bank-frontend/test/kustomization.yaml | 5 + scripts/reset-cluster | 2 +- 15 files changed, 382 insertions(+), 6 deletions(-) create mode 100644 deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml create mode 100644 deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml create mode 100644 deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml create mode 100644 deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml create mode 100644 projects/bank-frontend/components/bank-frontend/dev/kustomization.yaml create mode 100644 projects/bank-frontend/components/bank-frontend/prod/kustomization.yaml create mode 100644 projects/bank-frontend/components/bank-frontend/stage/kustomization.yaml create mode 100644 projects/bank-frontend/components/bank-frontend/test/kustomization.yaml diff --git a/argocd-application.cue b/argocd-application.cue index 7d211437..c03fb014 100644 --- a/argocd-application.cue +++ b/argocd-application.cue @@ -9,17 +9,18 @@ import ( #ComponentConfig: { Name: _ OutputBaseDir: _ + _ArgoAppName: string // Application resources are Cluster scoped. BuildPlan metadata.name values // are Project scoped. Construct a unique cluster scoped named to resolve // conflicts within ArgoCD. - let UniqueName = "\(ProjectName)-\(Name)" + _ArgoAppName: "\(ProjectName)-\(Name)" let ArtifactPath = path.Join([OutputBaseDir, "gitops", "\(Name).application.gen.yaml"], path.Unix) let ResourcesPath = path.Join(["deploy", OutputBaseDir, "components", Name], path.Unix) // Add the argocd Application instance label to GitOps so resources are in sync. - KustomizeConfig: CommonLabels: "argocd.argoproj.io/instance": UniqueName + KustomizeConfig: CommonLabels: "argocd.argoproj.io/instance": _ArgoAppName // Labels for the Application itself. We filter the argocd application // instance label so ArgoCD doesn't think the Application resource manages @@ -37,8 +38,8 @@ import ( generators: [{ kind: "Resources" output: artifact - resources: Application: (UniqueName): app.#Application & { - metadata: name: UniqueName + resources: Application: (_ArgoAppName): app.#Application & { + metadata: name: _ArgoAppName metadata: namespace: "argocd" metadata: labels: Labels spec: { diff --git a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml index b241f06c..4daaff62 100644 --- a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml @@ -300,6 +300,68 @@ spec: kind: Service --- apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: dev + app.holos.run/project.name: dev-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: dev-bank-web-frontend + name: dev + namespace: dev-bank-frontend +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/dev + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/dev-bank-web/components/frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/dev-bank-web/components/frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/dev + uses: git-push + - config: + apps: + - name: dev-bank-web-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 kind: Warehouse metadata: labels: diff --git a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml new file mode 100644 index 00000000..5c5f0a17 --- /dev/null +++ b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml index f5438da2..cc38489f 100644 --- a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml @@ -300,6 +300,68 @@ spec: kind: Service --- apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: prod + app.holos.run/project.name: prod-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: prod-bank-web-frontend + name: prod + namespace: prod-bank-frontend +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/prod + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/prod-bank-web/components/frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/prod-bank-web/components/frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/prod + uses: git-push + - config: + apps: + - name: prod-bank-web-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 kind: Warehouse metadata: labels: diff --git a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml new file mode 100644 index 00000000..5c5f0a17 --- /dev/null +++ b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml index 47e92203..c8d487d9 100644 --- a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml @@ -300,6 +300,68 @@ spec: kind: Service --- apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: stage + app.holos.run/project.name: stage-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: stage-bank-web-frontend + name: stage + namespace: stage-bank-frontend +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/stage + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/stage-bank-web/components/frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/stage-bank-web/components/frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/stage + uses: git-push + - config: + apps: + - name: stage-bank-web-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 kind: Warehouse metadata: labels: diff --git a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml new file mode 100644 index 00000000..5c5f0a17 --- /dev/null +++ b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml index 2a01577b..e62f581f 100644 --- a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml @@ -300,6 +300,68 @@ spec: kind: Service --- apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: frontend + app.holos.run/environment.name: test + app.holos.run/project.name: test-bank-web + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: frontend + argocd.argoproj.io/instance: test-bank-web-frontend + name: test + namespace: test-bank-frontend +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/test + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/test-bank-web/components/frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/test-bank-web/components/frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/test + uses: git-push + - config: + apps: + - name: test-bank-web-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 kind: Warehouse metadata: labels: diff --git a/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml new file mode 100644 index 00000000..5c5f0a17 --- /dev/null +++ b/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - frontend.gen.yaml diff --git a/projects/bank-frontend/components/bank-frontend/dev/kustomization.yaml b/projects/bank-frontend/components/bank-frontend/dev/kustomization.yaml new file mode 100644 index 00000000..61d1386d --- /dev/null +++ b/projects/bank-frontend/components/bank-frontend/dev/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + newTag: v0.6.5 diff --git a/projects/bank-frontend/components/bank-frontend/kargo.cue b/projects/bank-frontend/components/bank-frontend/kargo.cue index 64adeebd..0192e016 100644 --- a/projects/bank-frontend/components/bank-frontend/kargo.cue +++ b/projects/bank-frontend/components/bank-frontend/kargo.cue @@ -1,14 +1,113 @@ @if(!NoKargo && !NoArgoRollouts && !NoArgoCD) package holos +import ks "sigs.k8s.io/kustomize/api/types" + +let IMAGE = "us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend" + +Component: { + Name: _ + OutputBaseDir: _ + _OutPath: "\(OutputBaseDir)/components/\(Name)" + + // Write a kustomization.yaml to the deploy directory for Kargo to edit. + Artifacts: kargoKustomization: { + artifact: "\(_OutPath)/kustomization.yaml" + generators: [{ + kind: "Resources" + output: artifact + resources: Kustomization: kargo: ks.#Kustomization & { + resources: ["\(Name).gen.yaml"] + } + }] + } +} + Component: Resources: { Warehouse: frontend: spec: { subscriptions: [{ image: { - repoURL: "us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend" + repoURL: IMAGE semverConstraint: "^v0.6.5" discoveryLimit: 5 } }] } + Stage: (EnvironmentName): spec: { + requestedFreight: [{ + origin: { + kind: "Warehouse" + name: Warehouse.frontend.metadata.name + } + sources: direct: true + }] + promotionTemplate: spec: { + let SRC = "./src" + let OUT = "./out" + steps: [ + { + uses: "git-clone" + config: { + repoURL: Organization.RepoURL + checkout: [ + { + branch: "main" + path: SRC + }, + { + branch: "stage/\(EnvironmentName)" + path: OUT + }, + ] + } + }, + { + uses: "git-clear" + config: path: OUT + }, + { + uses: "kustomize-set-image" + as: "update-image" + config: { + path: "\(SRC)/deploy/\(Component._OutPath)" + images: [{image: IMAGE}] + } + }, + { + uses: "kustomize-build" + config: { + path: "\(SRC)/deploy/\(Component._OutPath)" + outPath: "\(OUT)/deploy/\(Component._OutPath)/\(Component.Name).gen.yaml" + } + }, + { + uses: "git-commit" + as: "commit" + config: { + path: OUT + messageFromSteps: ["update-image"] + } + }, + { + uses: "git-push" + config: { + path: OUT + targetBranch: "stage/\(EnvironmentName)" + } + }, + { + uses: "argocd-update" + config: { + apps: [{ + name: Component._ArgoAppName + sources: [{ + repoURL: Organization.RepoURL + desiredCommitFromStep: "commit" + }] + }] + } + }, + ] + } + } } diff --git a/projects/bank-frontend/components/bank-frontend/prod/kustomization.yaml b/projects/bank-frontend/components/bank-frontend/prod/kustomization.yaml new file mode 100644 index 00000000..61d1386d --- /dev/null +++ b/projects/bank-frontend/components/bank-frontend/prod/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + newTag: v0.6.5 diff --git a/projects/bank-frontend/components/bank-frontend/stage/kustomization.yaml b/projects/bank-frontend/components/bank-frontend/stage/kustomization.yaml new file mode 100644 index 00000000..61d1386d --- /dev/null +++ b/projects/bank-frontend/components/bank-frontend/stage/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + newTag: v0.6.5 diff --git a/projects/bank-frontend/components/bank-frontend/test/kustomization.yaml b/projects/bank-frontend/components/bank-frontend/test/kustomization.yaml new file mode 100644 index 00000000..61d1386d --- /dev/null +++ b/projects/bank-frontend/components/bank-frontend/test/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + newTag: v0.6.5 diff --git a/scripts/reset-cluster b/scripts/reset-cluster index 8256143c..bc36ebc0 100755 --- a/scripts/reset-cluster +++ b/scripts/reset-cluster @@ -21,5 +21,5 @@ kubectl apply --server-side=true -f "${CAROOT}/namespace.yaml" kubectl apply --server-side=true -n cert-manager -f "${CAROOT}/local-ca.yaml" # Kargo secret if [[ -f "${CAROOT}/kargo.yaml" ]]; then - kubectl apply --server-side=true -f "${CAROOT}/kargo.yaml" + kubectl apply --server-side=true -f "${CAROOT}/kargo.yaml" --force-conflicts fi From e32022c54fc16f9825f3f638d514db7036cc8da3 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 4 Dec 2024 14:38:24 -0800 Subject: [PATCH 6/8] kargo: prepare argocd application for kargo project We need to re-orient the bank holos projects to consolidate down to bank-security, bank-backend, and bank-web from the 12 we have today. This will align to Kargo's concept of a project which spans multiple namespaces. --- argocd-application.cue | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/argocd-application.cue b/argocd-application.cue index c03fb014..7c8503d8 100644 --- a/argocd-application.cue +++ b/argocd-application.cue @@ -9,13 +9,29 @@ import ( #ComponentConfig: { Name: _ OutputBaseDir: _ - _ArgoAppName: string - // Application resources are Cluster scoped. BuildPlan metadata.name values // are Project scoped. Construct a unique cluster scoped named to resolve // conflicts within ArgoCD. _ArgoAppName: "\(ProjectName)-\(Name)" + // Allow other aspects of the platform configuration to refer to + // `Component._ArgoApplication` to get a handle on the Application resource. + _ArgoApplication: app.#Application & { + metadata: name: _ArgoAppName + metadata: namespace: "argocd" + metadata: labels: Labels + // metadata: annotations: "kargo.akuity.io/authorized-stage": "\(ProjectName):\(EnvironmentName)" + spec: { + destination: server: "https://kubernetes.default.svc" + project: ProjectName + source: { + path: ResourcesPath + repoURL: Organization.RepoURL + targetRevision: string | *"main" + } + } + } + let ArtifactPath = path.Join([OutputBaseDir, "gitops", "\(Name).application.gen.yaml"], path.Unix) let ResourcesPath = path.Join(["deploy", OutputBaseDir, "components", Name], path.Unix) @@ -38,20 +54,7 @@ import ( generators: [{ kind: "Resources" output: artifact - resources: Application: (_ArgoAppName): app.#Application & { - metadata: name: _ArgoAppName - metadata: namespace: "argocd" - metadata: labels: Labels - spec: { - destination: server: "https://kubernetes.default.svc" - project: ProjectName - source: { - path: ResourcesPath - repoURL: Organization.RepoURL - targetRevision: "main" - } - } - } + resources: Application: (_ArgoAppName): _ArgoApplication }] } } From ce8a0c7ca616c03dba658e37a528ef2afc288eb9 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 4 Dec 2024 14:38:24 -0800 Subject: [PATCH 7/8] kargo: orient holos projects to kargo projects A Kargo Project spans multiple namespaces. The previous Holos model of mapping 1 project to 1 env+team doesn't align well with Kargo. This patch addresses the problem by breaking the bank of holos stack into 3 projects, one for security, one for the backend, one for the frontend web. Each project contains multiple namespaces to support Kargo promotion. One additional namespace is managed for adoption as a Kargo's Project. - [x] time ./scripts/full-reset - 1min 16s - [x] 3 Namespaces with same names and the adoption label deploy/clusters/workload/projects/bank-security/components/namespaces/namespaces.gen.yaml - [x] 3 Kargo Projects bank-security, bank-backend, bank-web. deploy/clusters/workload/projects/bank-security/components/projects/projects.gen.yaml - [x] Stages deployed to the correct namespace. - [x] ArgoCD comes up from full-reset in a synced state. - Yes, except for the Kargo stage branches, which we expect to be out of sync. ArgoCD Application Authorization failed to run step "argocd-update": error getting Argo CD Application "bank-web-dev-frontend" in namespace "argocd": Argo CD Application "bank-web-dev-frontend" in namespace "argocd" does not permit mutation by Kargo Stage dev-frontend in namespace bank-security --- argocd-application.cue | 1 - bank-projects.cue | 244 ++++++++--- .../app-projects/app-projects.gen.yaml | 204 +--------- .../accounts-db/accounts-db.gen.yaml | 119 ------ .../balance-reader/balance-reader.gen.yaml | 152 ------- .../components/config/config.gen.yaml | 162 -------- .../components/contacts/contacts.gen.yaml | 126 ------ .../components/ledger-db/ledger-db.gen.yaml | 119 ------ .../ledger-writer/ledger-writer.gen.yaml | 143 ------- .../transaction-history.gen.yaml | 156 ------- .../userservice/userservice.gen.yaml | 137 ------- .../gitops/accounts-db.application.gen.yaml | 20 - .../balance-reader.application.gen.yaml | 20 - .../gitops/config.application.gen.yaml | 20 - .../gitops/contacts.application.gen.yaml | 20 - .../gitops/ledger-db.application.gen.yaml | 20 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../components/secrets/secrets.gen.yaml | 202 --------- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../gitops/secrets.application.gen.yaml | 20 - .../gitops/frontend.application.gen.yaml | 20 - .../components/httproutes/httproutes.gen.yaml | 2 +- .../accounts-db/accounts-db.gen.yaml | 119 ------ .../balance-reader/balance-reader.gen.yaml | 152 ------- .../components/config/config.gen.yaml | 162 -------- .../components/contacts/contacts.gen.yaml | 126 ------ .../components/ledger-db/ledger-db.gen.yaml | 119 ------ .../ledger-writer/ledger-writer.gen.yaml | 143 ------- .../transaction-history.gen.yaml | 156 ------- .../userservice/userservice.gen.yaml | 137 ------- .../gitops/accounts-db.application.gen.yaml | 20 - .../balance-reader.application.gen.yaml | 20 - .../gitops/config.application.gen.yaml | 20 - .../gitops/contacts.application.gen.yaml | 20 - .../gitops/ledger-db.application.gen.yaml | 20 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../components/secrets/secrets.gen.yaml | 202 --------- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../gitops/secrets.application.gen.yaml | 20 - .../gitops/frontend.application.gen.yaml | 20 - .../accounts-db/accounts-db.gen.yaml | 119 ------ .../balance-reader/balance-reader.gen.yaml | 152 ------- .../components/config/config.gen.yaml | 162 -------- .../components/contacts/contacts.gen.yaml | 126 ------ .../components/ledger-db/ledger-db.gen.yaml | 119 ------ .../ledger-writer/ledger-writer.gen.yaml | 143 ------- .../transaction-history.gen.yaml | 156 ------- .../userservice/userservice.gen.yaml | 137 ------- .../gitops/accounts-db.application.gen.yaml | 20 - .../balance-reader.application.gen.yaml | 20 - .../gitops/config.application.gen.yaml | 20 - .../gitops/contacts.application.gen.yaml | 20 - .../gitops/ledger-db.application.gen.yaml | 20 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../components/secrets/secrets.gen.yaml | 202 --------- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../gitops/secrets.application.gen.yaml | 20 - .../gitops/frontend.application.gen.yaml | 20 - .../accounts-db/accounts-db.gen.yaml | 119 ------ .../balance-reader/balance-reader.gen.yaml | 152 ------- .../components/config/config.gen.yaml | 162 -------- .../components/contacts/contacts.gen.yaml | 126 ------ .../components/ledger-db/ledger-db.gen.yaml | 119 ------ .../ledger-writer/ledger-writer.gen.yaml | 143 ------- .../transaction-history.gen.yaml | 156 ------- .../userservice/userservice.gen.yaml | 137 ------- .../gitops/accounts-db.application.gen.yaml | 20 - .../balance-reader.application.gen.yaml | 20 - .../gitops/config.application.gen.yaml | 20 - .../gitops/contacts.application.gen.yaml | 20 - .../gitops/ledger-db.application.gen.yaml | 20 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../components/secrets/secrets.gen.yaml | 202 --------- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../gitops/secrets.application.gen.yaml | 20 - .../gitops/frontend.application.gen.yaml | 20 - .../app-projects/app-projects.gen.yaml | 204 +--------- .../dev-accounts-db/dev-accounts-db.gen.yaml} | 30 +- .../dev-balance-reader.gen.yaml} | 12 +- .../dev-bank-backend-config.gen.yaml} | 42 +- .../dev-contacts/dev-contacts.gen.yaml} | 12 +- .../dev-ledger-db/dev-ledger-db.gen.yaml} | 18 +- .../dev-ledger-writer.gen.yaml} | 12 +- .../dev-transaction-history.gen.yaml} | 12 +- .../dev-userservice/dev-userservice.gen.yaml} | 12 +- .../prod-accounts-db.gen.yaml} | 30 +- .../prod-balance-reader.gen.yaml} | 12 +- .../prod-bank-backend-config.gen.yaml} | 42 +- .../prod-contacts/prod-contacts.gen.yaml} | 12 +- .../prod-ledger-db/prod-ledger-db.gen.yaml} | 18 +- .../prod-ledger-writer.gen.yaml} | 12 +- .../prod-transaction-history.gen.yaml} | 12 +- .../prod-userservice.gen.yaml} | 12 +- .../stage-accounts-db.gen.yaml} | 30 +- .../stage-balance-reader.gen.yaml} | 12 +- .../stage-bank-backend-config.gen.yaml} | 42 +- .../stage-contacts/stage-contacts.gen.yaml} | 12 +- .../stage-ledger-db/stage-ledger-db.gen.yaml} | 18 +- .../stage-ledger-writer.gen.yaml} | 12 +- .../stage-transaction-history.gen.yaml} | 12 +- .../stage-userservice.gen.yaml} | 12 +- .../test-accounts-db.gen.yaml} | 30 +- .../test-balance-reader.gen.yaml} | 12 +- .../test-bank-backend-config.gen.yaml} | 42 +- .../test-contacts/test-contacts.gen.yaml} | 12 +- .../test-ledger-db/test-ledger-db.gen.yaml} | 18 +- .../test-ledger-writer.gen.yaml} | 12 +- .../test-transaction-history.gen.yaml} | 12 +- .../test-userservice.gen.yaml} | 12 +- .../dev-accounts-db.application.gen.yaml} | 10 +- .../dev-balance-reader.application.gen.yaml | 20 + ...-bank-backend-config.application.gen.yaml} | 10 +- .../gitops/dev-contacts.application.gen.yaml} | 10 +- .../dev-ledger-db.application.gen.yaml} | 10 +- .../dev-ledger-writer.application.gen.yaml | 20 + ...v-transaction-history.application.gen.yaml | 20 + .../dev-userservice.application.gen.yaml} | 10 +- .../prod-accounts-db.application.gen.yaml} | 10 +- .../prod-balance-reader.application.gen.yaml | 20 + ...-bank-backend-config.application.gen.yaml} | 10 +- .../prod-contacts.application.gen.yaml} | 10 +- .../prod-ledger-db.application.gen.yaml} | 10 +- .../prod-ledger-writer.application.gen.yaml | 20 + ...d-transaction-history.application.gen.yaml | 20 + .../prod-userservice.application.gen.yaml} | 10 +- .../stage-accounts-db.application.gen.yaml} | 10 +- .../stage-balance-reader.application.gen.yaml | 20 + ...-bank-backend-config.application.gen.yaml} | 10 +- .../stage-contacts.application.gen.yaml} | 10 +- .../stage-ledger-db.application.gen.yaml} | 10 +- .../stage-ledger-writer.application.gen.yaml} | 10 +- ...e-transaction-history.application.gen.yaml | 20 + .../stage-userservice.application.gen.yaml | 20 + .../test-accounts-db.application.gen.yaml} | 10 +- .../test-balance-reader.application.gen.yaml | 20 + ...-bank-backend-config.application.gen.yaml} | 10 +- .../test-contacts.application.gen.yaml} | 10 +- .../test-ledger-db.application.gen.yaml} | 10 +- .../test-ledger-writer.application.gen.yaml | 20 + ...t-transaction-history.application.gen.yaml | 20 + .../test-userservice.application.gen.yaml} | 10 +- .../dev-secrets/dev-secrets.gen.yaml} | 42 +- .../components/namespaces/namespaces.gen.yaml | 197 +++++++++ .../prod-secrets/prod-secrets.gen.yaml} | 42 +- .../components/projects/projects.gen.yaml | 21 +- .../stage-secrets/stage-secrets.gen.yaml} | 42 +- .../components/stages/stages.gen.yaml | 264 ++++++++++++ .../test-secrets/test-secrets.gen.yaml} | 42 +- .../gitops/dev-secrets.application.gen.yaml} | 10 +- .../gitops/namespaces.application.gen.yaml | 9 +- .../gitops/prod-secrets.application.gen.yaml} | 10 +- .../gitops/projects.application.gen.yaml | 9 +- .../stage-secrets.application.gen.yaml} | 10 +- .../gitops/stages.application.gen.yaml | 19 + .../gitops/test-secrets.application.gen.yaml} | 10 +- .../dev-frontend/dev-frontend.gen.yaml} | 94 ++--- .../dev-frontend/kustomization.yaml | 2 + .../prod-frontend/kustomization.yaml | 2 + .../prod-frontend/prod-frontend.gen.yaml} | 94 ++--- .../stage-frontend/kustomization.yaml | 2 + .../stage-frontend/stage-frontend.gen.yaml} | 94 ++--- .../test-frontend/kustomization.yaml | 2 + .../test-frontend/test-frontend.gen.yaml} | 94 ++--- .../gitops/dev-frontend.application.gen.yaml} | 14 +- .../prod-frontend.application.gen.yaml} | 14 +- .../stage-frontend.application.gen.yaml} | 14 +- .../test-frontend.application.gen.yaml} | 14 +- .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/frontend/frontend.gen.yaml | 384 ------------------ .../components/frontend/kustomization.yaml | 2 - .../components/httproutes/httproutes.gen.yaml | 2 +- .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../components/frontend/frontend.gen.yaml | 384 ------------------ .../components/frontend/kustomization.yaml | 2 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../components/frontend/frontend.gen.yaml | 384 ------------------ .../components/frontend/kustomization.yaml | 2 - .../gitops/ledger-writer.application.gen.yaml | 20 - .../transaction-history.application.gen.yaml | 20 - .../gitops/userservice.application.gen.yaml | 20 - .../components/namespaces/namespaces.gen.yaml | 44 -- .../components/projects/projects.gen.yaml | 41 -- .../gitops/namespaces.application.gen.yaml | 20 - .../gitops/projects.application.gen.yaml | 20 - .../components/frontend/frontend.gen.yaml | 384 ------------------ .../components/frontend/kustomization.yaml | 2 - environments.schema.cue | 6 +- kargo.cue | 1 + projects.schema.cue | 6 +- .../bank-accounts-db/bank-accounts-db.cue | 2 +- .../components/bank-frontend/kargo.cue | 97 +---- .../components/stages/stages.cue | 15 - .../components/stages/stages.cue | 117 ++++++ scripts/apply | 66 ++- scripts/full-reset | 17 + 230 files changed, 1809 insertions(+), 10149 deletions(-) delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/config/config.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/contacts/contacts.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/components/userservice/userservice.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/components/secrets/secrets.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/config/config.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/contacts/contacts.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/components/userservice/userservice.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/components/secrets/secrets.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/config/config.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/contacts/contacts.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/components/userservice/userservice.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/components/secrets/secrets.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/config/config.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/contacts/contacts.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/components/userservice/userservice.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/components/secrets/secrets.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml delete mode 100644 deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml rename deploy/clusters/workload/projects/{dev-bank-backend/components/accounts-db/accounts-db.gen.yaml => bank-backend/components/dev-accounts-db/dev-accounts-db.gen.yaml} (79%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/balance-reader/balance-reader.gen.yaml => bank-backend/components/dev-balance-reader/dev-balance-reader.gen.yaml} (91%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/config/config.gen.yaml => bank-backend/components/dev-bank-backend-config/dev-bank-backend-config.gen.yaml} (74%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/contacts/contacts.gen.yaml => bank-backend/components/dev-contacts/dev-contacts.gen.yaml} (90%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/ledger-db/ledger-db.gen.yaml => bank-backend/components/dev-ledger-db/dev-ledger-db.gen.yaml} (85%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml => bank-backend/components/dev-ledger-writer/dev-ledger-writer.gen.yaml} (91%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/transaction-history/transaction-history.gen.yaml => bank-backend/components/dev-transaction-history/dev-transaction-history.gen.yaml} (92%) rename deploy/clusters/workload/projects/{dev-bank-backend/components/userservice/userservice.gen.yaml => bank-backend/components/dev-userservice/dev-userservice.gen.yaml} (91%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/accounts-db/accounts-db.gen.yaml => bank-backend/components/prod-accounts-db/prod-accounts-db.gen.yaml} (79%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/balance-reader/balance-reader.gen.yaml => bank-backend/components/prod-balance-reader/prod-balance-reader.gen.yaml} (91%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/config/config.gen.yaml => bank-backend/components/prod-bank-backend-config/prod-bank-backend-config.gen.yaml} (74%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/contacts/contacts.gen.yaml => bank-backend/components/prod-contacts/prod-contacts.gen.yaml} (90%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/ledger-db/ledger-db.gen.yaml => bank-backend/components/prod-ledger-db/prod-ledger-db.gen.yaml} (85%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml => bank-backend/components/prod-ledger-writer/prod-ledger-writer.gen.yaml} (91%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/transaction-history/transaction-history.gen.yaml => bank-backend/components/prod-transaction-history/prod-transaction-history.gen.yaml} (92%) rename deploy/clusters/workload/projects/{prod-bank-backend/components/userservice/userservice.gen.yaml => bank-backend/components/prod-userservice/prod-userservice.gen.yaml} (91%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/accounts-db/accounts-db.gen.yaml => bank-backend/components/stage-accounts-db/stage-accounts-db.gen.yaml} (79%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/balance-reader/balance-reader.gen.yaml => bank-backend/components/stage-balance-reader/stage-balance-reader.gen.yaml} (91%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/config/config.gen.yaml => bank-backend/components/stage-bank-backend-config/stage-bank-backend-config.gen.yaml} (74%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/contacts/contacts.gen.yaml => bank-backend/components/stage-contacts/stage-contacts.gen.yaml} (90%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/ledger-db/ledger-db.gen.yaml => bank-backend/components/stage-ledger-db/stage-ledger-db.gen.yaml} (85%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml => bank-backend/components/stage-ledger-writer/stage-ledger-writer.gen.yaml} (91%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/transaction-history/transaction-history.gen.yaml => bank-backend/components/stage-transaction-history/stage-transaction-history.gen.yaml} (91%) rename deploy/clusters/workload/projects/{stage-bank-backend/components/userservice/userservice.gen.yaml => bank-backend/components/stage-userservice/stage-userservice.gen.yaml} (91%) rename deploy/clusters/workload/projects/{test-bank-backend/components/accounts-db/accounts-db.gen.yaml => bank-backend/components/test-accounts-db/test-accounts-db.gen.yaml} (79%) rename deploy/clusters/workload/projects/{test-bank-backend/components/balance-reader/balance-reader.gen.yaml => bank-backend/components/test-balance-reader/test-balance-reader.gen.yaml} (91%) rename deploy/clusters/workload/projects/{test-bank-backend/components/config/config.gen.yaml => bank-backend/components/test-bank-backend-config/test-bank-backend-config.gen.yaml} (74%) rename deploy/clusters/workload/projects/{test-bank-backend/components/contacts/contacts.gen.yaml => bank-backend/components/test-contacts/test-contacts.gen.yaml} (90%) rename deploy/clusters/workload/projects/{test-bank-backend/components/ledger-db/ledger-db.gen.yaml => bank-backend/components/test-ledger-db/test-ledger-db.gen.yaml} (85%) rename deploy/clusters/workload/projects/{test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml => bank-backend/components/test-ledger-writer/test-ledger-writer.gen.yaml} (91%) rename deploy/clusters/workload/projects/{test-bank-backend/components/transaction-history/transaction-history.gen.yaml => bank-backend/components/test-transaction-history/test-transaction-history.gen.yaml} (92%) rename deploy/clusters/workload/projects/{test-bank-backend/components/userservice/userservice.gen.yaml => bank-backend/components/test-userservice/test-userservice.gen.yaml} (91%) rename deploy/clusters/workload/projects/{dev-bank-backend/gitops/ledger-db.application.gen.yaml => bank-backend/gitops/dev-accounts-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml rename deploy/clusters/workload/projects/{dev-bank-backend/gitops/balance-reader.application.gen.yaml => bank-backend/gitops/dev-bank-backend-config.application.gen.yaml} (61%) rename deploy/clusters/workload/projects/{dev-bank-backend/gitops/config.application.gen.yaml => bank-backend/gitops/dev-contacts.application.gen.yaml} (64%) rename deploy/clusters/workload/projects/{dev-bank-backend/gitops/contacts.application.gen.yaml => bank-backend/gitops/dev-ledger-db.application.gen.yaml} (64%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml rename deploy/clusters/workload/projects/{dev-bank-backend/gitops/accounts-db.application.gen.yaml => bank-backend/gitops/dev-userservice.application.gen.yaml} (63%) rename deploy/clusters/workload/projects/{prod-bank-backend/gitops/ledger-db.application.gen.yaml => bank-backend/gitops/prod-accounts-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml rename deploy/clusters/workload/projects/{prod-bank-backend/gitops/balance-reader.application.gen.yaml => bank-backend/gitops/prod-bank-backend-config.application.gen.yaml} (61%) rename deploy/clusters/workload/projects/{prod-bank-backend/gitops/config.application.gen.yaml => bank-backend/gitops/prod-contacts.application.gen.yaml} (64%) rename deploy/clusters/workload/projects/{prod-bank-backend/gitops/contacts.application.gen.yaml => bank-backend/gitops/prod-ledger-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml rename deploy/clusters/workload/projects/{prod-bank-backend/gitops/accounts-db.application.gen.yaml => bank-backend/gitops/prod-userservice.application.gen.yaml} (63%) rename deploy/clusters/workload/projects/{stage-bank-backend/gitops/ledger-db.application.gen.yaml => bank-backend/gitops/stage-accounts-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml rename deploy/clusters/workload/projects/{stage-bank-backend/gitops/balance-reader.application.gen.yaml => bank-backend/gitops/stage-bank-backend-config.application.gen.yaml} (61%) rename deploy/clusters/workload/projects/{stage-bank-backend/gitops/config.application.gen.yaml => bank-backend/gitops/stage-contacts.application.gen.yaml} (64%) rename deploy/clusters/workload/projects/{stage-bank-backend/gitops/contacts.application.gen.yaml => bank-backend/gitops/stage-ledger-db.application.gen.yaml} (63%) rename deploy/clusters/workload/projects/{stage-bank-backend/gitops/accounts-db.application.gen.yaml => bank-backend/gitops/stage-ledger-writer.application.gen.yaml} (62%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml rename deploy/clusters/workload/projects/{test-bank-backend/gitops/ledger-db.application.gen.yaml => bank-backend/gitops/test-accounts-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml rename deploy/clusters/workload/projects/{test-bank-backend/gitops/balance-reader.application.gen.yaml => bank-backend/gitops/test-bank-backend-config.application.gen.yaml} (61%) rename deploy/clusters/workload/projects/{test-bank-backend/gitops/config.application.gen.yaml => bank-backend/gitops/test-contacts.application.gen.yaml} (64%) rename deploy/clusters/workload/projects/{test-bank-backend/gitops/contacts.application.gen.yaml => bank-backend/gitops/test-ledger-db.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml create mode 100644 deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml rename deploy/clusters/workload/projects/{test-bank-backend/gitops/accounts-db.application.gen.yaml => bank-backend/gitops/test-userservice.application.gen.yaml} (63%) rename deploy/clusters/workload/projects/{dev-bank-security/components/secrets/secrets.gen.yaml => bank-security/components/dev-secrets/dev-secrets.gen.yaml} (79%) create mode 100644 deploy/clusters/workload/projects/bank-security/components/namespaces/namespaces.gen.yaml rename deploy/clusters/workload/projects/{prod-bank-security/components/secrets/secrets.gen.yaml => bank-security/components/prod-secrets/prod-secrets.gen.yaml} (79%) rename deploy/clusters/workload/projects/{dev-bank-security => bank-security}/components/projects/projects.gen.yaml (58%) rename deploy/clusters/workload/projects/{stage-bank-security/components/secrets/secrets.gen.yaml => bank-security/components/stage-secrets/stage-secrets.gen.yaml} (79%) create mode 100644 deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml rename deploy/clusters/workload/projects/{test-bank-security/components/secrets/secrets.gen.yaml => bank-security/components/test-secrets/test-secrets.gen.yaml} (79%) rename deploy/clusters/workload/projects/{dev-bank-security/gitops/secrets.application.gen.yaml => bank-security/gitops/dev-secrets.application.gen.yaml} (64%) rename deploy/clusters/workload/projects/{dev-bank-security => bank-security}/gitops/namespaces.application.gen.yaml (63%) rename deploy/clusters/workload/projects/{prod-bank-security/gitops/secrets.application.gen.yaml => bank-security/gitops/prod-secrets.application.gen.yaml} (63%) rename deploy/clusters/workload/projects/{dev-bank-security => bank-security}/gitops/projects.application.gen.yaml (64%) rename deploy/clusters/workload/projects/{stage-bank-security/gitops/secrets.application.gen.yaml => bank-security/gitops/stage-secrets.application.gen.yaml} (63%) create mode 100644 deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml rename deploy/clusters/workload/projects/{test-bank-security/gitops/secrets.application.gen.yaml => bank-security/gitops/test-secrets.application.gen.yaml} (63%) rename deploy/clusters/{management/projects/dev-bank-web/components/frontend/frontend.gen.yaml => workload/projects/bank-web/components/dev-frontend/dev-frontend.gen.yaml} (74%) create mode 100644 deploy/clusters/workload/projects/bank-web/components/dev-frontend/kustomization.yaml create mode 100644 deploy/clusters/workload/projects/bank-web/components/prod-frontend/kustomization.yaml rename deploy/clusters/{management/projects/prod-bank-web/components/frontend/frontend.gen.yaml => workload/projects/bank-web/components/prod-frontend/prod-frontend.gen.yaml} (73%) create mode 100644 deploy/clusters/workload/projects/bank-web/components/stage-frontend/kustomization.yaml rename deploy/clusters/{management/projects/stage-bank-web/components/frontend/frontend.gen.yaml => workload/projects/bank-web/components/stage-frontend/stage-frontend.gen.yaml} (73%) create mode 100644 deploy/clusters/workload/projects/bank-web/components/test-frontend/kustomization.yaml rename deploy/clusters/{management/projects/test-bank-web/components/frontend/frontend.gen.yaml => workload/projects/bank-web/components/test-frontend/test-frontend.gen.yaml} (73%) rename deploy/clusters/workload/projects/{dev-bank-web/gitops/frontend.application.gen.yaml => bank-web/gitops/dev-frontend.application.gen.yaml} (54%) rename deploy/clusters/workload/projects/{prod-bank-web/gitops/frontend.application.gen.yaml => bank-web/gitops/prod-frontend.application.gen.yaml} (54%) rename deploy/clusters/workload/projects/{stage-bank-web/gitops/frontend.application.gen.yaml => bank-web/gitops/stage-frontend.application.gen.yaml} (53%) rename deploy/clusters/workload/projects/{test-bank-web/gitops/frontend.application.gen.yaml => bank-web/gitops/test-frontend.application.gen.yaml} (54%) delete mode 100644 deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml delete mode 100644 deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml delete mode 100644 deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml delete mode 100644 deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml delete mode 100644 deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml delete mode 100644 projects/bank-frontend/components/stages/stages.cue create mode 100644 projects/bank-security/components/stages/stages.cue create mode 100755 scripts/full-reset diff --git a/argocd-application.cue b/argocd-application.cue index 7c8503d8..eb81fa3f 100644 --- a/argocd-application.cue +++ b/argocd-application.cue @@ -20,7 +20,6 @@ import ( metadata: name: _ArgoAppName metadata: namespace: "argocd" metadata: labels: Labels - // metadata: annotations: "kargo.akuity.io/authorized-stage": "\(ProjectName):\(EnvironmentName)" spec: { destination: server: "https://kubernetes.default.svc" project: ProjectName diff --git a/bank-projects.cue b/bank-projects.cue index a96968f5..05c5f5c4 100644 --- a/bank-projects.cue +++ b/bank-projects.cue @@ -1,6 +1,10 @@ @if(!NoBank) package holos +let BankSecurity = "bank-security" +let BankBackend = "bank-backend" +let BankWeb = "bank-web" + // Platform wide configuration. BankOfHolos: #BankOfHolos & { Name: string | *"bank-of-holos" @@ -12,93 +16,209 @@ BankOfHolos: #BankOfHolos & { prod: tier: "prod" } - EnvironmentNamespaces: { - "bank-frontend": _ - "bank-backend": _ - "bank-security": _ + #BankProject: #Project & { + _kargo_cluster_projects: {[CLUSTER=string]: [NAME=string]: metadata: name: NAME} } -} -// Projects are security boundaries, so manage one project for each environment -// and team combination. -for ENV in BankOfHolos.configuration.environments { - Projects: "\(ENV.name)-bank-security": #KargoProjectBuilder & { - team: "security" - stack: BankOfHolos.Name - environment: ENV.name - // The security team manages namespaces for the whole stack. - namespaces: BankOfHolos.configuration.environments[ENV.name].namespaces - - _components: { - secrets: path: "projects/security/components/bank-secrets" - } - } + // TODO(jeff): Split into prod and nonprod project sets as Gary suggested. + Projects: { + (BankSecurity): #BankProject & { + name: _ + clusters: ClusterSets.workload.clusters + team: "security" + // And one special namespace for the Kargo Project for this Holos Project. + // https://docs.kargo.io/how-to-guides/working-with-projects#namespace-adoption + let KargoAdopt = {metadata: labels: "kargo.akuity.io/project": "true"} + namespaces: (BankSecurity): KargoAdopt + namespaces: (BankBackend): KargoAdopt + namespaces: (BankWeb): KargoAdopt + + // The security team manages the environment namespaces for the whole stack. + for CLUSTER in clusters { + _kargo_cluster_projects: (CLUSTER.name): (BankSecurity): _ + _kargo_cluster_projects: (CLUSTER.name): (BankBackend): _ + _kargo_cluster_projects: (CLUSTER.name): (BankWeb): _ + + let NAMESPACES = #SharedComponent & { + _component: "namespaces" + _project: name + _cluster: CLUSTER.name + _team: team + _stack: Name + } + components: (NAMESPACES.name): NAMESPACES.component + + // The projects component digs into Projects.foo._kargo_cluster_projects + // to configure Kargo Project resources. + let PROJECTS = #SharedComponent & { + _component: "projects" + _project: name + _cluster: CLUSTER.name + _team: team + _stack: Name + } + components: (PROJECTS.name): PROJECTS.component + + // The stages component digs into Projects.foo._kargo_cluster_projects + // to configure Kargo warehouses and stages for the project. + let STAGES = #ProjectClusterComponent & { + _component: "stages" + _project: name + _cluster: CLUSTER.name + _team: team + _stack: Name + } + components: (STAGES.name): STAGES.component - Projects: "\(ENV.name)-bank-backend": #ProjectBuilder & { - team: "backend" - stack: BankOfHolos.Name - environment: ENV.name - - _components: { - // Configuration - "config": path: "projects/bank-backend/components/bank-backend-config" - // Databases - "accounts-db": path: "projects/bank-backend/components/bank-accounts-db" - "ledger-db": path: "projects/bank-backend/components/bank-ledger-db" - // Services - "contacts": path: "projects/bank-backend/components/bank-contacts" - "balance-reader": path: "projects/bank-backend/components/bank-balance-reader" - "userservice": path: "projects/bank-backend/components/bank-userservice" - "ledger-writer": path: "projects/bank-backend/components/bank-ledger-writer" - "transaction-history": path: "projects/bank-backend/components/bank-transaction-history" + for ENV in Environments { + namespaces: BankOfHolos.configuration.environments[ENV.name].namespaces + + let BUILDER = #ProjectClusterComponent & { + _project: name + _cluster: CLUSTER.name + _environment: ENV.name + _team: team + _stack: Name + } + let SECRETS = BUILDER & { + _component: "\(ENV.name)-secrets" + component: path: "projects/security/components/bank-secrets" + } + components: (SECRETS.name): SECRETS.component + } + } } - } - Projects: "\(ENV.name)-bank-web": #ProjectBuilder & { - team: "frontend" - stack: BankOfHolos.Name - environment: ENV.name + (BankBackend): { + name: _ + clusters: ClusterSets.workload.clusters + team: "backend" + + for CLUSTER in clusters { + for ENV in Environments { + let BUILDER = #ProjectClusterComponent & { + _project: name + _cluster: CLUSTER.name + _environment: ENV.name + _team: team + _stack: Name + } + + // Configuration + let CONFIG = BUILDER & { + _component: "\(ENV.name)-bank-backend-config" + component: path: "projects/bank-backend/components/bank-backend-config" + } + components: (CONFIG.name): CONFIG.component + + // Databases + let ACCOUNTS_DB = BUILDER & { + _component: "\(ENV.name)-accounts-db" + component: path: "projects/bank-backend/components/bank-accounts-db" + } + components: (ACCOUNTS_DB.name): ACCOUNTS_DB.component + + let LEDGER_DB = BUILDER & { + _component: "\(ENV.name)-ledger-db" + component: path: "projects/bank-backend/components/bank-ledger-db" + } + components: (LEDGER_DB.name): LEDGER_DB.component + + // Services + let CONTACTS = BUILDER & { + _component: "\(ENV.name)-contacts" + component: path: "projects/bank-backend/components/bank-contacts" + } + components: (CONTACTS.name): CONTACTS.component - _components: { - frontend: path: "projects/bank-frontend/components/bank-frontend" + let BALANCE_READER = BUILDER & { + _component: "\(ENV.name)-balance-reader" + component: path: "projects/bank-backend/components/bank-balance-reader" + } + components: (BALANCE_READER.name): BALANCE_READER.component + + let USERSERVICE = BUILDER & { + _component: "\(ENV.name)-userservice" + component: path: "projects/bank-backend/components/bank-userservice" + } + components: (USERSERVICE.name): USERSERVICE.component + + let LEDGER_WRITER = BUILDER & { + _component: "\(ENV.name)-ledger-writer" + component: path: "projects/bank-backend/components/bank-ledger-writer" + } + components: (LEDGER_WRITER.name): LEDGER_WRITER.component + + let TRANSACTION_HISTORY = BUILDER & { + _component: "\(ENV.name)-transaction-history" + component: path: "projects/bank-backend/components/bank-transaction-history" + } + components: (TRANSACTION_HISTORY.name): TRANSACTION_HISTORY.component + } + } } - } - // Register the HTTPRoute to the backend Service - if ENV.name == "prod" { - HTTPRoutes: bank: _backendRefs: frontend: namespace: ENV.frontend.namespace - } - if ENV.name != "prod" { - HTTPRoutes: "\(ENV.name)-bank": _backendRefs: frontend: namespace: ENV.frontend.namespace + (BankWeb): { + name: _ + clusters: ClusterSets.workload.clusters + team: "frontend" + + for CLUSTER in clusters { + for ENV in Environments { + let BUILDER = #ProjectClusterComponent & { + _project: name + _cluster: CLUSTER.name + _environment: ENV.name + _team: team + _stack: Name + } + + // Web Frontend + let FRONTEND = BUILDER & { + _component: "\(ENV.name)-frontend" + component: path: "projects/bank-frontend/components/bank-frontend" + } + components: (FRONTEND.name): FRONTEND.component + } + } + } } } +// Register the bank projects with the platform. +Projects: BankOfHolos.Projects + +// prod httproutes +HTTPRoutes: bank: _backendRefs: frontend: namespace: BankOfHolos.configuration.environments.prod.frontend.namespace +// nonprod httproutes +HTTPRoutes: "dev-bank": _backendRefs: frontend: namespace: BankOfHolos.configuration.environments.dev.frontend.namespace +HTTPRoutes: "test-bank": _backendRefs: frontend: namespace: BankOfHolos.configuration.environments.test.frontend.namespace +HTTPRoutes: "stage-bank": _backendRefs: frontend: namespace: BankOfHolos.configuration.environments.test.frontend.namespace + // Platform wide schema definition. #BankOfHolos: { Name: string + // Holos Projects, oriented to Kargo Projects + Projects: #Projects - // Environments to manage. + // Environments to manage in each project. Environments: #Environments - // Namespaces to manage in each environment. - EnvironmentNamespaces: #NamedObjects // Configuration constructed from the above fields. configuration: { environments: [NAME=string]: { - name: NAME - namespaces: #Namespaces + name: NAME frontend: namespace: "\(NAME)-bank-frontend" backend: namespace: "\(NAME)-bank-backend" security: namespace: "\(NAME)-bank-security" + namespaces: #Namespaces & { + (frontend.namespace): _ + (backend.namespace): _ + (security.namespace): _ + } } - for ENV in Environments { - for NS in EnvironmentNamespaces { - // Adopts the namespace into a Kargo Project. Manages a Kargo Project - // cluster resources via the label. - // https://docs.kargo.io/how-to-guides/working-with-projects#namespace-adoption - environments: (ENV.name): namespaces: "\(ENV.name)-\(NS.metadata.name)": metadata: labels: "kargo.akuity.io/project": "true" - } + environments: (ENV.name): _ } } } diff --git a/deploy/clusters/management/projects/argocd/components/app-projects/app-projects.gen.yaml b/deploy/clusters/management/projects/argocd/components/app-projects/app-projects.gen.yaml index 448a8691..d2f7435b 100644 --- a/deploy/clusters/management/projects/argocd/components/app-projects/app-projects.gen.yaml +++ b/deploy/clusters/management/projects/argocd/components/app-projects/app-projects.gen.yaml @@ -29,7 +29,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-backend + name: bank-backend namespace: argocd spec: clusterResourceWhitelist: @@ -51,7 +51,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-security + name: bank-security namespace: argocd spec: clusterResourceWhitelist: @@ -73,7 +73,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-web + name: bank-web namespace: argocd spec: clusterResourceWhitelist: @@ -110,72 +110,6 @@ spec: --- apiVersion: argoproj.io/v1alpha1 kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject metadata: labels: app.holos.run/cluster.name: management @@ -195,135 +129,3 @@ spec: server: '*' sourceRepos: - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml deleted file mode 100644 index 18407097..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - ACCOUNTS_DB_URI: postgresql://accounts-admin:accounts-pwd@accounts-db:5432/accounts-db - POSTGRES_DB: accounts-db - POSTGRES_PASSWORD: accounts-pwd - POSTGRES_USER: accounts-admin -kind: ConfigMap -metadata: - labels: - app: accounts-db - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db-config - namespace: dev-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: dev-bank-backend -spec: - ports: - - name: tcp - port: 5432 - protocol: TCP - targetPort: 5432 - selector: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: dev-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - serviceName: accounts-db - template: - metadata: - labels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/accounts-db:v0.6.5@sha256:abb955756a82b115e0fd9c5fa1527ae1a744b398b357fd6d7a26348feccad181 - name: accounts-db - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 512Mi - requests: - cpu: 100m - memory: 128Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccount: bank-of-holos - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml deleted file mode 100644 index 87b746d6..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-balance-reader - environment: dev - team: ledger - tier: backend - name: balancereader - namespace: dev-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: balancereader - application: bank-of-holos - environment: dev - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-balance-reader - environment: dev - team: ledger - tier: backend - name: balancereader - namespace: dev-bank-backend -spec: - selector: - matchLabels: - app: balancereader - application: bank-of-holos - environment: dev - team: ledger - tier: backend - template: - metadata: - labels: - app: balancereader - application: bank-of-holos - environment: dev - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000000" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/balancereader:v0.6.5@sha256:de01f16554ae2d0b49ac85116e6307da8c0f8a35f50a0cf25e1e4a4fe18dca83 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: balancereader - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/config/config.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/config/config.gen.yaml deleted file mode 100644 index 68d05f25..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/config/config.gen.yaml +++ /dev/null @@ -1,162 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: bank-of-holos - namespace: dev-bank-backend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: demo-data-config - namespace: dev-bank-backend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: environment-config - namespace: dev-bank-backend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.dev-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.dev-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.dev-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.dev-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.dev-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: service-api-config - namespace: dev-bank-backend ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: jwt-key - namespace: dev-bank-backend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: dev-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: dev-bank-security - namespace: dev-bank-backend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: dev-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config - environment: dev - tier: backend - name: istio-ingress - namespace: dev-bank-backend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/contacts/contacts.gen.yaml deleted file mode 100644 index ea63ab08..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/contacts/contacts.gen.yaml +++ /dev/null @@ -1,126 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-contacts - environment: dev - team: accounts - tier: backend - name: contacts - namespace: dev-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: contacts - application: bank-of-holos - environment: dev - team: accounts - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-contacts - environment: dev - team: accounts - tier: backend - name: contacts - namespace: dev-bank-backend -spec: - selector: - matchLabels: - app: contacts - application: bank-of-holos - environment: dev - team: accounts - tier: backend - template: - metadata: - labels: - app: contacts - application: bank-of-holos - environment: dev - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/contacts:v0.6.5@sha256:e451dcac7d34a7bde979c7f02d4c7ebd83a77aff373e1131ce3a2bba2f7fdc1a - name: contacts - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - ephemeral-storage: 0.25Gi - memory: 128Mi - requests: - cpu: 100m - ephemeral-storage: 0.25Gi - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml deleted file mode 100644 index f67ca145..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - POSTGRES_DB: postgresdb - POSTGRES_PASSWORD: password - POSTGRES_USER: admin - SPRING_DATASOURCE_PASSWORD: password - SPRING_DATASOURCE_URL: jdbc:postgresql://ledger-db:5432/postgresdb - SPRING_DATASOURCE_USERNAME: admin -kind: ConfigMap -metadata: - labels: - app: ledger-db - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db-config - namespace: dev-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: dev-bank-backend -spec: - ports: - - name: tcp - port: 5432 - targetPort: 5432 - selector: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: dev-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - serviceName: ledger-db - template: - metadata: - labels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledger-db:v0.6.5@sha256:cc4fd25f301ab6d46b1312244d6931babc4c6cb66c5cb6d31d4a1adfa318a321 - name: postgres - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 1Gi - requests: - cpu: 100m - memory: 512Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml deleted file mode 100644 index 65301f8d..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ /dev/null @@ -1,143 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-writer - environment: dev - team: ledger - tier: backend - name: ledgerwriter - namespace: dev-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: ledgerwriter - application: bank-of-holos - environment: dev - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-writer - environment: dev - team: ledger - tier: backend - name: ledgerwriter - namespace: dev-bank-backend -spec: - selector: - matchLabels: - app: ledgerwriter - application: bank-of-holos - environment: dev - team: ledger - tier: backend - template: - metadata: - labels: - app: ledgerwriter - application: bank-of-holos - environment: dev - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledgerwriter:v0.6.5@sha256:5b66d6888b87993c8ebe260fe33005c4e4bc2bdae4b5682874e1a078d37ff3b2 - name: ledgerwriter - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /ready - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml deleted file mode 100644 index 7625d3a3..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ /dev/null @@ -1,156 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-transaction-history - environment: dev - team: ledger - tier: backend - name: transactionhistory - namespace: dev-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: transactionhistory - application: bank-of-holos - environment: dev - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-transaction-history - environment: dev - team: ledger - tier: backend - name: transactionhistory - namespace: dev-bank-backend -spec: - selector: - matchLabels: - app: transactionhistory - application: bank-of-holos - environment: dev - team: ledger - tier: backend - template: - metadata: - labels: - app: transactionhistory - application: bank-of-holos - environment: dev - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000" - - name: CACHE_MINUTES - value: "60" - - name: HISTORY_LIMIT - value: "100" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/transactionhistory:v0.6.5@sha256:54a2b0866df44a50832e71b130f3e069fe8bbce71309fb6cf390b19f64d92c09 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: transactionhistory - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/dev-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/components/userservice/userservice.gen.yaml deleted file mode 100644 index 4bea2edc..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/components/userservice/userservice.gen.yaml +++ /dev/null @@ -1,137 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-userservice - environment: dev - team: accounts - tier: backend - name: userservice - namespace: dev-bank-backend -spec: - ports: - - name: http - port: 8080 - protocol: TCP - targetPort: 8080 - selector: - app: userservice - application: bank-of-holos - environment: dev - team: accounts - tier: backend ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-userservice - environment: dev - team: accounts - tier: backend - name: userservice - namespace: dev-bank-backend -spec: - selector: - matchLabels: - app: userservice - application: bank-of-holos - environment: dev - team: accounts - tier: backend - template: - metadata: - labels: - app: userservice - application: bank-of-holos - environment: dev - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - - name: TOKEN_EXPIRY_SECONDS - value: "3600" - - name: PRIV_KEY_PATH - value: /tmp/.ssh/privatekey - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/userservice:v0.6.5@sha256:f91e0e5bd6cdb16f6b867b2e3e874b23dd01f11592de006776f1dfb136702941 - name: userservice - ports: - - containerPort: 8080 - name: http-server - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.25Gi - memory: 256Mi - requests: - cpu: 260m - ephemeral-storage: 0.25Gi - memory: 128Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: keys - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: keys - secret: - items: - - key: jwtRS256.key - path: privatekey - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml deleted file mode 100644 index 665a306c..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-accounts-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml deleted file mode 100644 index c2b04089..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-balance-reader - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml deleted file mode 100644 index 13737fff..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/config.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-config - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/config - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml deleted file mode 100644 index 76cfa0cd..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/contacts.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-contacts - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml deleted file mode 100644 index 8c303834..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-ledger-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index 3e34841b..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index f31cdfef..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index a3c30122..00000000 --- a/deploy/clusters/management/projects/dev-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/management/projects/dev-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index d267184e..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-backend - name: dev-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-frontend - name: dev-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-security - name: dev-bank-security diff --git a/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index d11b08de..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-security -spec: {} diff --git a/deploy/clusters/management/projects/dev-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/components/secrets/secrets.gen.yaml deleted file mode 100644 index 1a62fe33..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/components/secrets/secrets.gen.yaml +++ /dev/null @@ -1,202 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-writer - namespace: dev-bank-security ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-reader - namespace: dev-bank-security -rules: -- apiGroups: - - "" - resourceNames: - - jwt-key - resources: - - secrets - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-writer - namespace: dev-bank-security -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - update - - patch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-reader - namespace: dev-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-reader -subjects: -- kind: ServiceAccount - name: bank-of-holos - namespace: dev-bank-frontend -- kind: ServiceAccount - name: bank-of-holos - namespace: dev-bank-backend ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-writer - namespace: dev-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-writer -subjects: -- kind: ServiceAccount - name: jwt-key-writer - namespace: dev-bank-security ---- -apiVersion: v1 -data: - entrypoint: |- - #! /bin/bash - # - - tmpdir="$(mktemp -d)" - finish() { - status=$? - rm -rf "${tmpdir}" - return $status - } - trap finish EXIT - - set -euo pipefail - - cd "$tmpdir" - mkdir secret - cd secret - - echo "generating private key" >&2 - ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key -q -N "" -C bank-of-holos - echo "generating public key" >&2 - ssh-keygen -e -m PKCS8 -f jwtRS256.key > jwtRS256.key.pub - cd .. - - echo "copying secret into kubernetes manifest secret.yaml" >&2 - kubectl create secret generic jwt-key --from-file=secret --dry-run=client -o yaml > secret.yaml - - echo "applying secret.yaml" >&2 - kubectl apply --server-side=true -f secret.yaml - - echo "cleaning up" >&2 - rm -rf secret secret.yaml - - echo "ok done" >&2 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-writer - namespace: dev-bank-security ---- -apiVersion: batch/v1 -kind: Job -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets - name: jwt-key-writer - namespace: dev-bank-security -spec: - template: - spec: - containers: - - args: - - /config/entrypoint - command: - - /bin/bash - env: - - name: HOME - value: /tmp - image: quay.io/holos-run/toolkit:2024-09-16 - name: toolkit - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - volumeMounts: - - mountPath: /config - name: config - readOnly: true - restartPolicy: OnFailure - securityContext: - runAsNonRoot: true - runAsUser: 8192 - seccompProfile: - type: RuntimeDefault - serviceAccountName: jwt-key-writer - volumes: - - configMap: - name: jwt-key-writer - name: config diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 93a69a54..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: dev-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-security - source: - path: deploy/clusters/management/projects/dev-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index cd33729e..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: dev-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-security - source: - path: deploy/clusters/management/projects/dev-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml deleted file mode 100644 index 05035753..00000000 --- a/deploy/clusters/management/projects/dev-bank-security/gitops/secrets.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: dev-bank-security-secrets - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-security - source: - path: deploy/clusters/management/projects/dev-bank-security/components/secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml deleted file mode 100644 index 3d6f2754..00000000 --- a/deploy/clusters/management/projects/dev-bank-web/gitops/frontend.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - name: dev-bank-web-frontend - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-web - source: - path: deploy/clusters/management/projects/dev-bank-web/components/frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/network/components/httproutes/httproutes.gen.yaml b/deploy/clusters/management/projects/network/components/httproutes/httproutes.gen.yaml index 5812e19e..a47afdc9 100644 --- a/deploy/clusters/management/projects/network/components/httproutes/httproutes.gen.yaml +++ b/deploy/clusters/management/projects/network/components/httproutes/httproutes.gen.yaml @@ -131,7 +131,7 @@ spec: rules: - backendRefs: - name: frontend - namespace: stage-bank-frontend + namespace: test-bank-frontend port: 80 matches: - path: diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml deleted file mode 100644 index 0a08a4ed..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - ACCOUNTS_DB_URI: postgresql://accounts-admin:accounts-pwd@accounts-db:5432/accounts-db - POSTGRES_DB: accounts-db - POSTGRES_PASSWORD: accounts-pwd - POSTGRES_USER: accounts-admin -kind: ConfigMap -metadata: - labels: - app: accounts-db - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db-config - namespace: prod-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: prod-bank-backend -spec: - ports: - - name: tcp - port: 5432 - protocol: TCP - targetPort: 5432 - selector: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: prod-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - serviceName: accounts-db - template: - metadata: - labels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/accounts-db:v0.6.5@sha256:abb955756a82b115e0fd9c5fa1527ae1a744b398b357fd6d7a26348feccad181 - name: accounts-db - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 512Mi - requests: - cpu: 100m - memory: 128Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccount: bank-of-holos - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml deleted file mode 100644 index 5cb54ff2..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-balance-reader - environment: prod - team: ledger - tier: backend - name: balancereader - namespace: prod-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: balancereader - application: bank-of-holos - environment: prod - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-balance-reader - environment: prod - team: ledger - tier: backend - name: balancereader - namespace: prod-bank-backend -spec: - selector: - matchLabels: - app: balancereader - application: bank-of-holos - environment: prod - team: ledger - tier: backend - template: - metadata: - labels: - app: balancereader - application: bank-of-holos - environment: prod - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000000" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/balancereader:v0.6.5@sha256:de01f16554ae2d0b49ac85116e6307da8c0f8a35f50a0cf25e1e4a4fe18dca83 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: balancereader - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/config/config.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/config/config.gen.yaml deleted file mode 100644 index fa99b495..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/config/config.gen.yaml +++ /dev/null @@ -1,162 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: bank-of-holos - namespace: prod-bank-backend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: demo-data-config - namespace: prod-bank-backend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: environment-config - namespace: prod-bank-backend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.prod-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.prod-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.prod-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.prod-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.prod-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: service-api-config - namespace: prod-bank-backend ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: jwt-key - namespace: prod-bank-backend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: prod-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: prod-bank-security - namespace: prod-bank-backend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: prod-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config - environment: prod - tier: backend - name: istio-ingress - namespace: prod-bank-backend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/contacts/contacts.gen.yaml deleted file mode 100644 index f0f7af3c..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/contacts/contacts.gen.yaml +++ /dev/null @@ -1,126 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-contacts - environment: prod - team: accounts - tier: backend - name: contacts - namespace: prod-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: contacts - application: bank-of-holos - environment: prod - team: accounts - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-contacts - environment: prod - team: accounts - tier: backend - name: contacts - namespace: prod-bank-backend -spec: - selector: - matchLabels: - app: contacts - application: bank-of-holos - environment: prod - team: accounts - tier: backend - template: - metadata: - labels: - app: contacts - application: bank-of-holos - environment: prod - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/contacts:v0.6.5@sha256:e451dcac7d34a7bde979c7f02d4c7ebd83a77aff373e1131ce3a2bba2f7fdc1a - name: contacts - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - ephemeral-storage: 0.25Gi - memory: 128Mi - requests: - cpu: 100m - ephemeral-storage: 0.25Gi - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml deleted file mode 100644 index 8f6c5971..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - POSTGRES_DB: postgresdb - POSTGRES_PASSWORD: password - POSTGRES_USER: admin - SPRING_DATASOURCE_PASSWORD: password - SPRING_DATASOURCE_URL: jdbc:postgresql://ledger-db:5432/postgresdb - SPRING_DATASOURCE_USERNAME: admin -kind: ConfigMap -metadata: - labels: - app: ledger-db - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db-config - namespace: prod-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: prod-bank-backend -spec: - ports: - - name: tcp - port: 5432 - targetPort: 5432 - selector: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: prod-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - serviceName: ledger-db - template: - metadata: - labels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledger-db:v0.6.5@sha256:cc4fd25f301ab6d46b1312244d6931babc4c6cb66c5cb6d31d4a1adfa318a321 - name: postgres - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 1Gi - requests: - cpu: 100m - memory: 512Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml deleted file mode 100644 index 4d007857..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ /dev/null @@ -1,143 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-writer - environment: prod - team: ledger - tier: backend - name: ledgerwriter - namespace: prod-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: ledgerwriter - application: bank-of-holos - environment: prod - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-writer - environment: prod - team: ledger - tier: backend - name: ledgerwriter - namespace: prod-bank-backend -spec: - selector: - matchLabels: - app: ledgerwriter - application: bank-of-holos - environment: prod - team: ledger - tier: backend - template: - metadata: - labels: - app: ledgerwriter - application: bank-of-holos - environment: prod - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledgerwriter:v0.6.5@sha256:5b66d6888b87993c8ebe260fe33005c4e4bc2bdae4b5682874e1a078d37ff3b2 - name: ledgerwriter - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /ready - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml deleted file mode 100644 index 1d1f8693..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ /dev/null @@ -1,156 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-transaction-history - environment: prod - team: ledger - tier: backend - name: transactionhistory - namespace: prod-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: transactionhistory - application: bank-of-holos - environment: prod - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-transaction-history - environment: prod - team: ledger - tier: backend - name: transactionhistory - namespace: prod-bank-backend -spec: - selector: - matchLabels: - app: transactionhistory - application: bank-of-holos - environment: prod - team: ledger - tier: backend - template: - metadata: - labels: - app: transactionhistory - application: bank-of-holos - environment: prod - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000" - - name: CACHE_MINUTES - value: "60" - - name: HISTORY_LIMIT - value: "100" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/transactionhistory:v0.6.5@sha256:54a2b0866df44a50832e71b130f3e069fe8bbce71309fb6cf390b19f64d92c09 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: transactionhistory - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/prod-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/components/userservice/userservice.gen.yaml deleted file mode 100644 index 1534f2c2..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/components/userservice/userservice.gen.yaml +++ /dev/null @@ -1,137 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-userservice - environment: prod - team: accounts - tier: backend - name: userservice - namespace: prod-bank-backend -spec: - ports: - - name: http - port: 8080 - protocol: TCP - targetPort: 8080 - selector: - app: userservice - application: bank-of-holos - environment: prod - team: accounts - tier: backend ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-userservice - environment: prod - team: accounts - tier: backend - name: userservice - namespace: prod-bank-backend -spec: - selector: - matchLabels: - app: userservice - application: bank-of-holos - environment: prod - team: accounts - tier: backend - template: - metadata: - labels: - app: userservice - application: bank-of-holos - environment: prod - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - - name: TOKEN_EXPIRY_SECONDS - value: "3600" - - name: PRIV_KEY_PATH - value: /tmp/.ssh/privatekey - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/userservice:v0.6.5@sha256:f91e0e5bd6cdb16f6b867b2e3e874b23dd01f11592de006776f1dfb136702941 - name: userservice - ports: - - containerPort: 8080 - name: http-server - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.25Gi - memory: 256Mi - requests: - cpu: 260m - ephemeral-storage: 0.25Gi - memory: 128Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: keys - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: keys - secret: - items: - - key: jwtRS256.key - path: privatekey - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml deleted file mode 100644 index 60a42f72..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-accounts-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml deleted file mode 100644 index 2c8ff3ae..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-balance-reader - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml deleted file mode 100644 index 44a16d6b..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/config.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-config - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/config - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml deleted file mode 100644 index bd139ae0..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/contacts.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-contacts - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml deleted file mode 100644 index d2d31ed9..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-ledger-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index fb4b3ab7..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index a8cbe15f..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 59dc2154..00000000 --- a/deploy/clusters/management/projects/prod-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/management/projects/prod-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index e0b459e7..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-backend - name: prod-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-frontend - name: prod-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-security - name: prod-bank-security diff --git a/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index f4658c64..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-security -spec: {} diff --git a/deploy/clusters/management/projects/prod-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/components/secrets/secrets.gen.yaml deleted file mode 100644 index 8b663693..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/components/secrets/secrets.gen.yaml +++ /dev/null @@ -1,202 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-writer - namespace: prod-bank-security ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-reader - namespace: prod-bank-security -rules: -- apiGroups: - - "" - resourceNames: - - jwt-key - resources: - - secrets - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-writer - namespace: prod-bank-security -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - update - - patch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-reader - namespace: prod-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-reader -subjects: -- kind: ServiceAccount - name: bank-of-holos - namespace: prod-bank-frontend -- kind: ServiceAccount - name: bank-of-holos - namespace: prod-bank-backend ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-writer - namespace: prod-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-writer -subjects: -- kind: ServiceAccount - name: jwt-key-writer - namespace: prod-bank-security ---- -apiVersion: v1 -data: - entrypoint: |- - #! /bin/bash - # - - tmpdir="$(mktemp -d)" - finish() { - status=$? - rm -rf "${tmpdir}" - return $status - } - trap finish EXIT - - set -euo pipefail - - cd "$tmpdir" - mkdir secret - cd secret - - echo "generating private key" >&2 - ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key -q -N "" -C bank-of-holos - echo "generating public key" >&2 - ssh-keygen -e -m PKCS8 -f jwtRS256.key > jwtRS256.key.pub - cd .. - - echo "copying secret into kubernetes manifest secret.yaml" >&2 - kubectl create secret generic jwt-key --from-file=secret --dry-run=client -o yaml > secret.yaml - - echo "applying secret.yaml" >&2 - kubectl apply --server-side=true -f secret.yaml - - echo "cleaning up" >&2 - rm -rf secret secret.yaml - - echo "ok done" >&2 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-writer - namespace: prod-bank-security ---- -apiVersion: batch/v1 -kind: Job -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets - name: jwt-key-writer - namespace: prod-bank-security -spec: - template: - spec: - containers: - - args: - - /config/entrypoint - command: - - /bin/bash - env: - - name: HOME - value: /tmp - image: quay.io/holos-run/toolkit:2024-09-16 - name: toolkit - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - volumeMounts: - - mountPath: /config - name: config - readOnly: true - restartPolicy: OnFailure - securityContext: - runAsNonRoot: true - runAsUser: 8192 - seccompProfile: - type: RuntimeDefault - serviceAccountName: jwt-key-writer - volumes: - - configMap: - name: jwt-key-writer - name: config diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 5d9f769e..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: prod-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-security - source: - path: deploy/clusters/management/projects/prod-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index 0114e8f2..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: prod-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-security - source: - path: deploy/clusters/management/projects/prod-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml deleted file mode 100644 index 5c08b4bc..00000000 --- a/deploy/clusters/management/projects/prod-bank-security/gitops/secrets.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: prod-bank-security-secrets - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-security - source: - path: deploy/clusters/management/projects/prod-bank-security/components/secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml deleted file mode 100644 index f6f5e3fe..00000000 --- a/deploy/clusters/management/projects/prod-bank-web/gitops/frontend.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - name: prod-bank-web-frontend - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-web - source: - path: deploy/clusters/management/projects/prod-bank-web/components/frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml deleted file mode 100644 index 528a01ba..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - ACCOUNTS_DB_URI: postgresql://accounts-admin:accounts-pwd@accounts-db:5432/accounts-db - POSTGRES_DB: accounts-db - POSTGRES_PASSWORD: accounts-pwd - POSTGRES_USER: accounts-admin -kind: ConfigMap -metadata: - labels: - app: accounts-db - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db-config - namespace: stage-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: stage-bank-backend -spec: - ports: - - name: tcp - port: 5432 - protocol: TCP - targetPort: 5432 - selector: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: stage-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - serviceName: accounts-db - template: - metadata: - labels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/accounts-db:v0.6.5@sha256:abb955756a82b115e0fd9c5fa1527ae1a744b398b357fd6d7a26348feccad181 - name: accounts-db - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 512Mi - requests: - cpu: 100m - memory: 128Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccount: bank-of-holos - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml deleted file mode 100644 index 97ff9db2..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-balance-reader - environment: stage - team: ledger - tier: backend - name: balancereader - namespace: stage-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: balancereader - application: bank-of-holos - environment: stage - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-balance-reader - environment: stage - team: ledger - tier: backend - name: balancereader - namespace: stage-bank-backend -spec: - selector: - matchLabels: - app: balancereader - application: bank-of-holos - environment: stage - team: ledger - tier: backend - template: - metadata: - labels: - app: balancereader - application: bank-of-holos - environment: stage - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000000" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/balancereader:v0.6.5@sha256:de01f16554ae2d0b49ac85116e6307da8c0f8a35f50a0cf25e1e4a4fe18dca83 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: balancereader - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/config/config.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/config/config.gen.yaml deleted file mode 100644 index 9fa83c39..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/config/config.gen.yaml +++ /dev/null @@ -1,162 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: bank-of-holos - namespace: stage-bank-backend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: demo-data-config - namespace: stage-bank-backend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: environment-config - namespace: stage-bank-backend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.stage-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.stage-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.stage-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.stage-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.stage-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: service-api-config - namespace: stage-bank-backend ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: jwt-key - namespace: stage-bank-backend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: stage-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: stage-bank-security - namespace: stage-bank-backend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: stage-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config - environment: stage - tier: backend - name: istio-ingress - namespace: stage-bank-backend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/contacts/contacts.gen.yaml deleted file mode 100644 index 2d22dc80..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/contacts/contacts.gen.yaml +++ /dev/null @@ -1,126 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-contacts - environment: stage - team: accounts - tier: backend - name: contacts - namespace: stage-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: contacts - application: bank-of-holos - environment: stage - team: accounts - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-contacts - environment: stage - team: accounts - tier: backend - name: contacts - namespace: stage-bank-backend -spec: - selector: - matchLabels: - app: contacts - application: bank-of-holos - environment: stage - team: accounts - tier: backend - template: - metadata: - labels: - app: contacts - application: bank-of-holos - environment: stage - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/contacts:v0.6.5@sha256:e451dcac7d34a7bde979c7f02d4c7ebd83a77aff373e1131ce3a2bba2f7fdc1a - name: contacts - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - ephemeral-storage: 0.25Gi - memory: 128Mi - requests: - cpu: 100m - ephemeral-storage: 0.25Gi - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml deleted file mode 100644 index 37eb614e..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - POSTGRES_DB: postgresdb - POSTGRES_PASSWORD: password - POSTGRES_USER: admin - SPRING_DATASOURCE_PASSWORD: password - SPRING_DATASOURCE_URL: jdbc:postgresql://ledger-db:5432/postgresdb - SPRING_DATASOURCE_USERNAME: admin -kind: ConfigMap -metadata: - labels: - app: ledger-db - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db-config - namespace: stage-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: stage-bank-backend -spec: - ports: - - name: tcp - port: 5432 - targetPort: 5432 - selector: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: stage-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - serviceName: ledger-db - template: - metadata: - labels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledger-db:v0.6.5@sha256:cc4fd25f301ab6d46b1312244d6931babc4c6cb66c5cb6d31d4a1adfa318a321 - name: postgres - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 1Gi - requests: - cpu: 100m - memory: 512Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml deleted file mode 100644 index 317658bd..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ /dev/null @@ -1,143 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-writer - environment: stage - team: ledger - tier: backend - name: ledgerwriter - namespace: stage-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: ledgerwriter - application: bank-of-holos - environment: stage - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-writer - environment: stage - team: ledger - tier: backend - name: ledgerwriter - namespace: stage-bank-backend -spec: - selector: - matchLabels: - app: ledgerwriter - application: bank-of-holos - environment: stage - team: ledger - tier: backend - template: - metadata: - labels: - app: ledgerwriter - application: bank-of-holos - environment: stage - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledgerwriter:v0.6.5@sha256:5b66d6888b87993c8ebe260fe33005c4e4bc2bdae4b5682874e1a078d37ff3b2 - name: ledgerwriter - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /ready - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml deleted file mode 100644 index a0855528..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ /dev/null @@ -1,156 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-transaction-history - environment: stage - team: ledger - tier: backend - name: transactionhistory - namespace: stage-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: transactionhistory - application: bank-of-holos - environment: stage - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-transaction-history - environment: stage - team: ledger - tier: backend - name: transactionhistory - namespace: stage-bank-backend -spec: - selector: - matchLabels: - app: transactionhistory - application: bank-of-holos - environment: stage - team: ledger - tier: backend - template: - metadata: - labels: - app: transactionhistory - application: bank-of-holos - environment: stage - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000" - - name: CACHE_MINUTES - value: "60" - - name: HISTORY_LIMIT - value: "100" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/transactionhistory:v0.6.5@sha256:54a2b0866df44a50832e71b130f3e069fe8bbce71309fb6cf390b19f64d92c09 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: transactionhistory - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/stage-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/components/userservice/userservice.gen.yaml deleted file mode 100644 index 6ecc7438..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/components/userservice/userservice.gen.yaml +++ /dev/null @@ -1,137 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-userservice - environment: stage - team: accounts - tier: backend - name: userservice - namespace: stage-bank-backend -spec: - ports: - - name: http - port: 8080 - protocol: TCP - targetPort: 8080 - selector: - app: userservice - application: bank-of-holos - environment: stage - team: accounts - tier: backend ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-userservice - environment: stage - team: accounts - tier: backend - name: userservice - namespace: stage-bank-backend -spec: - selector: - matchLabels: - app: userservice - application: bank-of-holos - environment: stage - team: accounts - tier: backend - template: - metadata: - labels: - app: userservice - application: bank-of-holos - environment: stage - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - - name: TOKEN_EXPIRY_SECONDS - value: "3600" - - name: PRIV_KEY_PATH - value: /tmp/.ssh/privatekey - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/userservice:v0.6.5@sha256:f91e0e5bd6cdb16f6b867b2e3e874b23dd01f11592de006776f1dfb136702941 - name: userservice - ports: - - containerPort: 8080 - name: http-server - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.25Gi - memory: 256Mi - requests: - cpu: 260m - ephemeral-storage: 0.25Gi - memory: 128Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: keys - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: keys - secret: - items: - - key: jwtRS256.key - path: privatekey - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml deleted file mode 100644 index 45b0ac21..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-accounts-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml deleted file mode 100644 index 6f220bb5..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-balance-reader - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml deleted file mode 100644 index 87d3b952..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/config.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-config - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/config - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml deleted file mode 100644 index be2ea2a0..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/contacts.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-contacts - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml deleted file mode 100644 index 46a9fbb9..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-ledger-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index 378c9985..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index 59f56b36..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 45cb0ffe..00000000 --- a/deploy/clusters/management/projects/stage-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/management/projects/stage-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index 18a8b84e..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-backend - name: stage-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-frontend - name: stage-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-security - name: stage-bank-security diff --git a/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index 3896d925..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-security -spec: {} diff --git a/deploy/clusters/management/projects/stage-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/components/secrets/secrets.gen.yaml deleted file mode 100644 index 24a97062..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/components/secrets/secrets.gen.yaml +++ /dev/null @@ -1,202 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-writer - namespace: stage-bank-security ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-reader - namespace: stage-bank-security -rules: -- apiGroups: - - "" - resourceNames: - - jwt-key - resources: - - secrets - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-writer - namespace: stage-bank-security -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - update - - patch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-reader - namespace: stage-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-reader -subjects: -- kind: ServiceAccount - name: bank-of-holos - namespace: stage-bank-frontend -- kind: ServiceAccount - name: bank-of-holos - namespace: stage-bank-backend ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-writer - namespace: stage-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-writer -subjects: -- kind: ServiceAccount - name: jwt-key-writer - namespace: stage-bank-security ---- -apiVersion: v1 -data: - entrypoint: |- - #! /bin/bash - # - - tmpdir="$(mktemp -d)" - finish() { - status=$? - rm -rf "${tmpdir}" - return $status - } - trap finish EXIT - - set -euo pipefail - - cd "$tmpdir" - mkdir secret - cd secret - - echo "generating private key" >&2 - ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key -q -N "" -C bank-of-holos - echo "generating public key" >&2 - ssh-keygen -e -m PKCS8 -f jwtRS256.key > jwtRS256.key.pub - cd .. - - echo "copying secret into kubernetes manifest secret.yaml" >&2 - kubectl create secret generic jwt-key --from-file=secret --dry-run=client -o yaml > secret.yaml - - echo "applying secret.yaml" >&2 - kubectl apply --server-side=true -f secret.yaml - - echo "cleaning up" >&2 - rm -rf secret secret.yaml - - echo "ok done" >&2 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-writer - namespace: stage-bank-security ---- -apiVersion: batch/v1 -kind: Job -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets - name: jwt-key-writer - namespace: stage-bank-security -spec: - template: - spec: - containers: - - args: - - /config/entrypoint - command: - - /bin/bash - env: - - name: HOME - value: /tmp - image: quay.io/holos-run/toolkit:2024-09-16 - name: toolkit - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - volumeMounts: - - mountPath: /config - name: config - readOnly: true - restartPolicy: OnFailure - securityContext: - runAsNonRoot: true - runAsUser: 8192 - seccompProfile: - type: RuntimeDefault - serviceAccountName: jwt-key-writer - volumes: - - configMap: - name: jwt-key-writer - name: config diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 388c19b7..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: stage-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-security - source: - path: deploy/clusters/management/projects/stage-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index 305d5b35..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: stage-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-security - source: - path: deploy/clusters/management/projects/stage-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml deleted file mode 100644 index 11b36f3f..00000000 --- a/deploy/clusters/management/projects/stage-bank-security/gitops/secrets.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: stage-bank-security-secrets - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-security - source: - path: deploy/clusters/management/projects/stage-bank-security/components/secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml deleted file mode 100644 index 926c0bd1..00000000 --- a/deploy/clusters/management/projects/stage-bank-web/gitops/frontend.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - name: stage-bank-web-frontend - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-web - source: - path: deploy/clusters/management/projects/stage-bank-web/components/frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml deleted file mode 100644 index e6f53a41..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - ACCOUNTS_DB_URI: postgresql://accounts-admin:accounts-pwd@accounts-db:5432/accounts-db - POSTGRES_DB: accounts-db - POSTGRES_PASSWORD: accounts-pwd - POSTGRES_USER: accounts-admin -kind: ConfigMap -metadata: - labels: - app: accounts-db - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db-config - namespace: test-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: test-bank-backend -spec: - ports: - - name: tcp - port: 5432 - protocol: TCP - targetPort: 5432 - selector: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development - team: accounts - tier: db - name: accounts-db - namespace: test-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - serviceName: accounts-db - template: - metadata: - labels: - app: accounts-db - application: bank-of-holos - environment: development - team: accounts - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/accounts-db:v0.6.5@sha256:abb955756a82b115e0fd9c5fa1527ae1a744b398b357fd6d7a26348feccad181 - name: accounts-db - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 512Mi - requests: - cpu: 100m - memory: 128Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccount: bank-of-holos - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml deleted file mode 100644 index 44b69e7b..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-balance-reader - environment: test - team: ledger - tier: backend - name: balancereader - namespace: test-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: balancereader - application: bank-of-holos - environment: test - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-balance-reader - environment: test - team: ledger - tier: backend - name: balancereader - namespace: test-bank-backend -spec: - selector: - matchLabels: - app: balancereader - application: bank-of-holos - environment: test - team: ledger - tier: backend - template: - metadata: - labels: - app: balancereader - application: bank-of-holos - environment: test - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000000" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/balancereader:v0.6.5@sha256:de01f16554ae2d0b49ac85116e6307da8c0f8a35f50a0cf25e1e4a4fe18dca83 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: balancereader - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/test-bank-backend/components/config/config.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/config/config.gen.yaml deleted file mode 100644 index 79cb8b87..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/config/config.gen.yaml +++ /dev/null @@ -1,162 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: bank-of-holos - namespace: test-bank-backend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: demo-data-config - namespace: test-bank-backend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: environment-config - namespace: test-bank-backend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.test-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.test-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.test-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.test-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.test-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: service-api-config - namespace: test-bank-backend ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: jwt-key - namespace: test-bank-backend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: test-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: test-bank-security - namespace: test-bank-backend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: test-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config - environment: test - tier: backend - name: istio-ingress - namespace: test-bank-backend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service diff --git a/deploy/clusters/management/projects/test-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/contacts/contacts.gen.yaml deleted file mode 100644 index 851b9d17..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/contacts/contacts.gen.yaml +++ /dev/null @@ -1,126 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-contacts - environment: test - team: accounts - tier: backend - name: contacts - namespace: test-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: contacts - application: bank-of-holos - environment: test - team: accounts - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-contacts - environment: test - team: accounts - tier: backend - name: contacts - namespace: test-bank-backend -spec: - selector: - matchLabels: - app: contacts - application: bank-of-holos - environment: test - team: accounts - tier: backend - template: - metadata: - labels: - app: contacts - application: bank-of-holos - environment: test - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/contacts:v0.6.5@sha256:e451dcac7d34a7bde979c7f02d4c7ebd83a77aff373e1131ce3a2bba2f7fdc1a - name: contacts - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - ephemeral-storage: 0.25Gi - memory: 128Mi - requests: - cpu: 100m - ephemeral-storage: 0.25Gi - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml deleted file mode 100644 index 17cf6da3..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: v1 -data: - POSTGRES_DB: postgresdb - POSTGRES_PASSWORD: password - POSTGRES_USER: admin - SPRING_DATASOURCE_PASSWORD: password - SPRING_DATASOURCE_URL: jdbc:postgresql://ledger-db:5432/postgresdb - SPRING_DATASOURCE_USERNAME: admin -kind: ConfigMap -metadata: - labels: - app: ledger-db - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db-config - namespace: test-bank-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: test-bank-backend -spec: - ports: - - name: tcp - port: 5432 - targetPort: 5432 - selector: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - type: ClusterIP ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db - environment: development - team: ledger - tier: db - name: ledger-db - namespace: test-bank-backend -spec: - replicas: 1 - selector: - matchLabels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - serviceName: ledger-db - template: - metadata: - labels: - app: ledger-db - application: bank-of-holos - environment: development - team: ledger - tier: db - spec: - containers: - - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - - configMapRef: - name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledger-db:v0.6.5@sha256:cc4fd25f301ab6d46b1312244d6931babc4c6cb66c5cb6d31d4a1adfa318a321 - name: postgres - ports: - - containerPort: 5432 - resources: - limits: - cpu: 250m - memory: 1Gi - requests: - cpu: 100m - memory: 512Mi - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: postgresdb - subPath: postgres - serviceAccountName: bank-of-holos - volumes: - - emptyDir: {} - name: postgresdb diff --git a/deploy/clusters/management/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml deleted file mode 100644 index 5da98161..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ /dev/null @@ -1,143 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-writer - environment: test - team: ledger - tier: backend - name: ledgerwriter - namespace: test-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: ledgerwriter - application: bank-of-holos - environment: test - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-writer - environment: test - team: ledger - tier: backend - name: ledgerwriter - namespace: test-bank-backend -spec: - selector: - matchLabels: - app: ledgerwriter - application: bank-of-holos - environment: test - team: ledger - tier: backend - template: - metadata: - labels: - app: ledgerwriter - application: bank-of-holos - environment: test - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledgerwriter:v0.6.5@sha256:5b66d6888b87993c8ebe260fe33005c4e4bc2bdae4b5682874e1a078d37ff3b2 - name: ledgerwriter - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /ready - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml deleted file mode 100644 index bdf96346..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ /dev/null @@ -1,156 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-transaction-history - environment: test - team: ledger - tier: backend - name: transactionhistory - namespace: test-bank-backend -spec: - ports: - - name: http - port: 8080 - targetPort: 8080 - selector: - app: transactionhistory - application: bank-of-holos - environment: test - team: ledger - tier: backend - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-transaction-history - environment: test - team: ledger - tier: backend - name: transactionhistory - namespace: test-bank-backend -spec: - selector: - matchLabels: - app: transactionhistory - application: bank-of-holos - environment: test - team: ledger - tier: backend - template: - metadata: - labels: - app: transactionhistory - application: bank-of-holos - environment: test - team: ledger - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: ENABLE_METRICS - value: "false" - - name: POLL_MS - value: "100" - - name: CACHE_SIZE - value: "1000" - - name: CACHE_MINUTES - value: "60" - - name: HISTORY_LIMIT - value: "100" - - name: JVM_OPTS - value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -Xms256m -Xmx512m - - name: LOG_LEVEL - value: info - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/transactionhistory:v0.6.5@sha256:54a2b0866df44a50832e71b130f3e069fe8bbce71309fb6cf390b19f64d92c09 - livenessProbe: - httpGet: - path: /healthy - port: 8080 - initialDelaySeconds: 120 - periodSeconds: 5 - timeoutSeconds: 10 - name: transactionhistory - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.5Gi - memory: 512Mi - requests: - cpu: 100m - ephemeral-storage: 0.5Gi - memory: 256Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - startupProbe: - failureThreshold: 30 - httpGet: - path: /healthy - port: 8080 - periodSeconds: 10 - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/test-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/components/userservice/userservice.gen.yaml deleted file mode 100644 index 4beceeaf..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/components/userservice/userservice.gen.yaml +++ /dev/null @@ -1,137 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-userservice - environment: test - team: accounts - tier: backend - name: userservice - namespace: test-bank-backend -spec: - ports: - - name: http - port: 8080 - protocol: TCP - targetPort: 8080 - selector: - app: userservice - application: bank-of-holos - environment: test - team: accounts - tier: backend ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-userservice - environment: test - team: accounts - tier: backend - name: userservice - namespace: test-bank-backend -spec: - selector: - matchLabels: - app: userservice - application: bank-of-holos - environment: test - team: accounts - tier: backend - template: - metadata: - labels: - app: userservice - application: bank-of-holos - environment: test - team: accounts - tier: backend - spec: - containers: - - env: - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: LOG_LEVEL - value: info - - name: TOKEN_EXPIRY_SECONDS - value: "3600" - - name: PRIV_KEY_PATH - value: /tmp/.ssh/privatekey - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/userservice:v0.6.5@sha256:f91e0e5bd6cdb16f6b867b2e3e874b23dd01f11592de006776f1dfb136702941 - name: userservice - ports: - - containerPort: 8080 - name: http-server - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 500m - ephemeral-storage: 0.25Gi - memory: 256Mi - requests: - cpu: 260m - ephemeral-storage: 0.25Gi - memory: 128Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: keys - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: keys - secret: - items: - - key: jwtRS256.key - path: privatekey - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml deleted file mode 100644 index db62320c..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: accounts-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-accounts-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml deleted file mode 100644 index aa54a999..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: balance-reader - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-balance-reader - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml deleted file mode 100644 index f02ca8a0..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/config.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: config - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-config - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/config - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml deleted file mode 100644 index 2a66867f..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/contacts.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: contacts - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-contacts - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml deleted file mode 100644 index 99dd36fc..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-db - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-ledger-db - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index b3636de8..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index ecccf073..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 4e2f2574..00000000 --- a/deploy/clusters/management/projects/test-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: userservice - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/management/projects/test-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index e7fe65a7..00000000 --- a/deploy/clusters/management/projects/test-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-backend - name: test-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-frontend - name: test-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-security - name: test-bank-security diff --git a/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index ffcbb350..00000000 --- a/deploy/clusters/management/projects/test-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-security -spec: {} diff --git a/deploy/clusters/management/projects/test-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/management/projects/test-bank-security/components/secrets/secrets.gen.yaml deleted file mode 100644 index 14378b29..00000000 --- a/deploy/clusters/management/projects/test-bank-security/components/secrets/secrets.gen.yaml +++ /dev/null @@ -1,202 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-writer - namespace: test-bank-security ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-reader - namespace: test-bank-security -rules: -- apiGroups: - - "" - resourceNames: - - jwt-key - resources: - - secrets - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-writer - namespace: test-bank-security -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - update - - patch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-reader - namespace: test-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-reader -subjects: -- kind: ServiceAccount - name: bank-of-holos - namespace: test-bank-frontend -- kind: ServiceAccount - name: bank-of-holos - namespace: test-bank-backend ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-writer - namespace: test-bank-security -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: jwt-key-writer -subjects: -- kind: ServiceAccount - name: jwt-key-writer - namespace: test-bank-security ---- -apiVersion: v1 -data: - entrypoint: |- - #! /bin/bash - # - - tmpdir="$(mktemp -d)" - finish() { - status=$? - rm -rf "${tmpdir}" - return $status - } - trap finish EXIT - - set -euo pipefail - - cd "$tmpdir" - mkdir secret - cd secret - - echo "generating private key" >&2 - ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key -q -N "" -C bank-of-holos - echo "generating public key" >&2 - ssh-keygen -e -m PKCS8 -f jwtRS256.key > jwtRS256.key.pub - cd .. - - echo "copying secret into kubernetes manifest secret.yaml" >&2 - kubectl create secret generic jwt-key --from-file=secret --dry-run=client -o yaml > secret.yaml - - echo "applying secret.yaml" >&2 - kubectl apply --server-side=true -f secret.yaml - - echo "cleaning up" >&2 - rm -rf secret secret.yaml - - echo "ok done" >&2 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-writer - namespace: test-bank-security ---- -apiVersion: batch/v1 -kind: Job -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets - name: jwt-key-writer - namespace: test-bank-security -spec: - template: - spec: - containers: - - args: - - /config/entrypoint - command: - - /bin/bash - env: - - name: HOME - value: /tmp - image: quay.io/holos-run/toolkit:2024-09-16 - name: toolkit - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - volumeMounts: - - mountPath: /config - name: config - readOnly: true - restartPolicy: OnFailure - securityContext: - runAsNonRoot: true - runAsUser: 8192 - seccompProfile: - type: RuntimeDefault - serviceAccountName: jwt-key-writer - volumes: - - configMap: - name: jwt-key-writer - name: config diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 6b3e0b3c..00000000 --- a/deploy/clusters/management/projects/test-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: test-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-security - source: - path: deploy/clusters/management/projects/test-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index 382c1a54..00000000 --- a/deploy/clusters/management/projects/test-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: test-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-security - source: - path: deploy/clusters/management/projects/test-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml deleted file mode 100644 index 752dd510..00000000 --- a/deploy/clusters/management/projects/test-bank-security/gitops/secrets.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: secrets - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: test-bank-security-secrets - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-security - source: - path: deploy/clusters/management/projects/test-bank-security/components/secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml deleted file mode 100644 index 9331c4bf..00000000 --- a/deploy/clusters/management/projects/test-bank-web/gitops/frontend.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - name: test-bank-web-frontend - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-web - source: - path: deploy/clusters/management/projects/test-bank-web/components/frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/components/app-projects/app-projects.gen.yaml b/deploy/clusters/workload/projects/argocd/components/app-projects/app-projects.gen.yaml index d3fe65b5..b018f2fa 100644 --- a/deploy/clusters/workload/projects/argocd/components/app-projects/app-projects.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/components/app-projects/app-projects.gen.yaml @@ -29,7 +29,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-backend + name: bank-backend namespace: argocd spec: clusterResourceWhitelist: @@ -51,7 +51,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-security + name: bank-security namespace: argocd spec: clusterResourceWhitelist: @@ -73,7 +73,7 @@ metadata: app.holos.run/project.name: argocd app.holos.run/team.name: platform argocd.argoproj.io/instance: argocd-app-projects - name: dev-bank-web + name: bank-web namespace: argocd spec: clusterResourceWhitelist: @@ -110,72 +110,6 @@ spec: --- apiVersion: argoproj.io/v1alpha1 kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: prod-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject metadata: labels: app.holos.run/cluster.name: workload @@ -195,135 +129,3 @@ spec: server: '*' sourceRepos: - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: stage-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-backend - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-security - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: app-projects - app.holos.run/project.name: argocd - app.holos.run/team.name: platform - argocd.argoproj.io/instance: argocd-app-projects - name: test-bank-web - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: Holos managed AppProject - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-accounts-db/dev-accounts-db.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-accounts-db/dev-accounts-db.gen.yaml index 259926b6..5c282d2f 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-accounts-db/dev-accounts-db.gen.yaml @@ -9,14 +9,14 @@ metadata: labels: app: accounts-db app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: dev-accounts-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-dev-accounts-db + environment: dev team: accounts tier: db name: accounts-db-config @@ -27,14 +27,14 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: dev-accounts-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-dev-accounts-db + environment: dev team: accounts tier: db name: accounts-db @@ -48,7 +48,7 @@ spec: selector: app: accounts-db application: bank-of-holos - environment: development + environment: dev team: accounts tier: db type: ClusterIP @@ -58,14 +58,14 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: dev-accounts-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-dev-accounts-db + environment: dev team: accounts tier: db name: accounts-db @@ -76,7 +76,7 @@ spec: matchLabels: app: accounts-db application: bank-of-holos - environment: development + environment: dev team: accounts tier: db serviceName: accounts-db @@ -85,7 +85,7 @@ spec: labels: app: accounts-db application: bank-of-holos - environment: development + environment: dev team: accounts tier: db spec: diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-balance-reader/dev-balance-reader.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-balance-reader/dev-balance-reader.gen.yaml index 8454517f..e360fdbf 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-balance-reader/dev-balance-reader.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: dev-balance-reader app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-dev-balance-reader environment: dev team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: dev-balance-reader app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-dev-balance-reader environment: dev team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/config/config.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-bank-backend-config/dev-bank-backend-config.gen.yaml similarity index 74% rename from deploy/clusters/workload/projects/dev-bank-backend/components/config/config.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-bank-backend-config/dev-bank-backend-config.gen.yaml index e7ca4b91..31775153 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/config/config.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-bank-backend-config/dev-bank-backend-config.gen.yaml @@ -3,13 +3,13 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: bank-of-holos @@ -24,13 +24,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: demo-data-config @@ -44,13 +44,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: environment-config @@ -67,13 +67,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: service-api-config @@ -84,13 +84,13 @@ kind: ExternalSecret metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: jwt-key @@ -111,13 +111,13 @@ kind: SecretStore metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: dev-bank-security @@ -141,13 +141,13 @@ kind: ReferenceGrant metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-config + argocd.argoproj.io/instance: bank-backend-dev-bank-backend-config environment: dev tier: backend name: istio-ingress diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-contacts/dev-contacts.gen.yaml similarity index 90% rename from deploy/clusters/workload/projects/dev-bank-backend/components/contacts/contacts.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-contacts/dev-contacts.gen.yaml index fb1bb9ab..ffe2e8e3 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/contacts/contacts.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-contacts/dev-contacts.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: dev-contacts app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-dev-contacts environment: dev team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: dev-contacts app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-dev-contacts environment: dev team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-ledger-db/dev-ledger-db.gen.yaml similarity index 85% rename from deploy/clusters/workload/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-ledger-db/dev-ledger-db.gen.yaml index 2e164818..f0eea0b6 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-ledger-db/dev-ledger-db.gen.yaml @@ -11,13 +11,13 @@ metadata: labels: app: ledger-db app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: dev-ledger-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-dev-ledger-db environment: development team: ledger tier: db @@ -29,13 +29,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: dev-ledger-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-dev-ledger-db environment: development team: ledger tier: db @@ -59,13 +59,13 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: dev-ledger-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-dev-ledger-db environment: development team: ledger tier: db diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-ledger-writer/dev-ledger-writer.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-ledger-writer/dev-ledger-writer.gen.yaml index 6771d882..e36e618f 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-ledger-writer/dev-ledger-writer.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: dev-ledger-writer app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-dev-ledger-writer environment: dev team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: dev-ledger-writer app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-dev-ledger-writer environment: dev team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-transaction-history/dev-transaction-history.gen.yaml similarity index 92% rename from deploy/clusters/workload/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-transaction-history/dev-transaction-history.gen.yaml index 6f340793..6737719a 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-transaction-history/dev-transaction-history.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: dev-transaction-history app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-dev-transaction-history environment: dev team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: dev-transaction-history app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-dev-transaction-history environment: dev team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/dev-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/dev-userservice/dev-userservice.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/dev-bank-backend/components/userservice/userservice.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/dev-userservice/dev-userservice.gen.yaml index 7ac55062..d2f598e0 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/components/userservice/userservice.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/dev-userservice/dev-userservice.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: dev-userservice app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-dev-userservice environment: dev team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: dev-userservice app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-dev-userservice environment: dev team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-accounts-db/prod-accounts-db.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-accounts-db/prod-accounts-db.gen.yaml index 7fd787b2..696a5828 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-accounts-db/prod-accounts-db.gen.yaml @@ -9,14 +9,14 @@ metadata: labels: app: accounts-db app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: prod-accounts-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-prod-accounts-db + environment: prod team: accounts tier: db name: accounts-db-config @@ -27,14 +27,14 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: prod-accounts-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-prod-accounts-db + environment: prod team: accounts tier: db name: accounts-db @@ -48,7 +48,7 @@ spec: selector: app: accounts-db application: bank-of-holos - environment: development + environment: prod team: accounts tier: db type: ClusterIP @@ -58,14 +58,14 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: prod-accounts-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-prod-accounts-db + environment: prod team: accounts tier: db name: accounts-db @@ -76,7 +76,7 @@ spec: matchLabels: app: accounts-db application: bank-of-holos - environment: development + environment: prod team: accounts tier: db serviceName: accounts-db @@ -85,7 +85,7 @@ spec: labels: app: accounts-db application: bank-of-holos - environment: development + environment: prod team: accounts tier: db spec: diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-balance-reader/prod-balance-reader.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-balance-reader/prod-balance-reader.gen.yaml index 84b50c10..b4da7149 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-balance-reader/prod-balance-reader.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: prod-balance-reader app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-prod-balance-reader environment: prod team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: prod-balance-reader app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-prod-balance-reader environment: prod team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/config/config.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-bank-backend-config/prod-bank-backend-config.gen.yaml similarity index 74% rename from deploy/clusters/workload/projects/prod-bank-backend/components/config/config.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-bank-backend-config/prod-bank-backend-config.gen.yaml index 21049d91..d7b330f7 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/config/config.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-bank-backend-config/prod-bank-backend-config.gen.yaml @@ -3,13 +3,13 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: bank-of-holos @@ -24,13 +24,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: demo-data-config @@ -44,13 +44,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: environment-config @@ -67,13 +67,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: service-api-config @@ -84,13 +84,13 @@ kind: ExternalSecret metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: jwt-key @@ -111,13 +111,13 @@ kind: SecretStore metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: prod-bank-security @@ -141,13 +141,13 @@ kind: ReferenceGrant metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-config + argocd.argoproj.io/instance: bank-backend-prod-bank-backend-config environment: prod tier: backend name: istio-ingress diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-contacts/prod-contacts.gen.yaml similarity index 90% rename from deploy/clusters/workload/projects/prod-bank-backend/components/contacts/contacts.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-contacts/prod-contacts.gen.yaml index b79122f3..c13a97db 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/contacts/contacts.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-contacts/prod-contacts.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: prod-contacts app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-prod-contacts environment: prod team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: prod-contacts app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-prod-contacts environment: prod team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-ledger-db/prod-ledger-db.gen.yaml similarity index 85% rename from deploy/clusters/workload/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-ledger-db/prod-ledger-db.gen.yaml index d02b2b91..ac06a535 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-ledger-db/prod-ledger-db.gen.yaml @@ -11,13 +11,13 @@ metadata: labels: app: ledger-db app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: prod-ledger-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-prod-ledger-db environment: development team: ledger tier: db @@ -29,13 +29,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: prod-ledger-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-prod-ledger-db environment: development team: ledger tier: db @@ -59,13 +59,13 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: prod-ledger-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-prod-ledger-db environment: development team: ledger tier: db diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-ledger-writer/prod-ledger-writer.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-ledger-writer/prod-ledger-writer.gen.yaml index 15b8d7ff..f89c1f87 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-ledger-writer/prod-ledger-writer.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: prod-ledger-writer app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-prod-ledger-writer environment: prod team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: prod-ledger-writer app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-prod-ledger-writer environment: prod team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-transaction-history/prod-transaction-history.gen.yaml similarity index 92% rename from deploy/clusters/workload/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-transaction-history/prod-transaction-history.gen.yaml index baa88c9a..1738c736 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-transaction-history/prod-transaction-history.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: prod-transaction-history app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-prod-transaction-history environment: prod team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: prod-transaction-history app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-prod-transaction-history environment: prod team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/prod-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/prod-userservice/prod-userservice.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/prod-bank-backend/components/userservice/userservice.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/prod-userservice/prod-userservice.gen.yaml index a2a24ae8..52dc79e7 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/components/userservice/userservice.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/prod-userservice/prod-userservice.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: prod-userservice app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-prod-userservice environment: prod team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: prod-userservice app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-prod-userservice environment: prod team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-accounts-db/stage-accounts-db.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-accounts-db/stage-accounts-db.gen.yaml index 130f41ff..dd63dc67 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-accounts-db/stage-accounts-db.gen.yaml @@ -9,14 +9,14 @@ metadata: labels: app: accounts-db app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: stage-accounts-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-stage-accounts-db + environment: stage team: accounts tier: db name: accounts-db-config @@ -27,14 +27,14 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: stage-accounts-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-stage-accounts-db + environment: stage team: accounts tier: db name: accounts-db @@ -48,7 +48,7 @@ spec: selector: app: accounts-db application: bank-of-holos - environment: development + environment: stage team: accounts tier: db type: ClusterIP @@ -58,14 +58,14 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: stage-accounts-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-stage-accounts-db + environment: stage team: accounts tier: db name: accounts-db @@ -76,7 +76,7 @@ spec: matchLabels: app: accounts-db application: bank-of-holos - environment: development + environment: stage team: accounts tier: db serviceName: accounts-db @@ -85,7 +85,7 @@ spec: labels: app: accounts-db application: bank-of-holos - environment: development + environment: stage team: accounts tier: db spec: diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-balance-reader/stage-balance-reader.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-balance-reader/stage-balance-reader.gen.yaml index c0e1624c..f72ab70a 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-balance-reader/stage-balance-reader.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: stage-balance-reader app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-stage-balance-reader environment: stage team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: stage-balance-reader app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-stage-balance-reader environment: stage team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/config/config.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-bank-backend-config/stage-bank-backend-config.gen.yaml similarity index 74% rename from deploy/clusters/workload/projects/stage-bank-backend/components/config/config.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-bank-backend-config/stage-bank-backend-config.gen.yaml index 09cde0ea..8f8ca3c1 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/config/config.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-bank-backend-config/stage-bank-backend-config.gen.yaml @@ -3,13 +3,13 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: bank-of-holos @@ -24,13 +24,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: demo-data-config @@ -44,13 +44,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: environment-config @@ -67,13 +67,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: service-api-config @@ -84,13 +84,13 @@ kind: ExternalSecret metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: jwt-key @@ -111,13 +111,13 @@ kind: SecretStore metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: stage-bank-security @@ -141,13 +141,13 @@ kind: ReferenceGrant metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-config + argocd.argoproj.io/instance: bank-backend-stage-bank-backend-config environment: stage tier: backend name: istio-ingress diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-contacts/stage-contacts.gen.yaml similarity index 90% rename from deploy/clusters/workload/projects/stage-bank-backend/components/contacts/contacts.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-contacts/stage-contacts.gen.yaml index c9a11627..83d97fea 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/contacts/contacts.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-contacts/stage-contacts.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: stage-contacts app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-stage-contacts environment: stage team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: stage-contacts app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-stage-contacts environment: stage team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-ledger-db/stage-ledger-db.gen.yaml similarity index 85% rename from deploy/clusters/workload/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-ledger-db/stage-ledger-db.gen.yaml index 04f6943d..9074211f 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-ledger-db/stage-ledger-db.gen.yaml @@ -11,13 +11,13 @@ metadata: labels: app: ledger-db app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: stage-ledger-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-stage-ledger-db environment: development team: ledger tier: db @@ -29,13 +29,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: stage-ledger-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-stage-ledger-db environment: development team: ledger tier: db @@ -59,13 +59,13 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: stage-ledger-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-stage-ledger-db environment: development team: ledger tier: db diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-ledger-writer/stage-ledger-writer.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-ledger-writer/stage-ledger-writer.gen.yaml index 74901819..a1b0af0e 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-ledger-writer/stage-ledger-writer.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: stage-ledger-writer app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-stage-ledger-writer environment: stage team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: stage-ledger-writer app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-stage-ledger-writer environment: stage team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-transaction-history/stage-transaction-history.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-transaction-history/stage-transaction-history.gen.yaml index e7e661d3..77693e2e 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-transaction-history/stage-transaction-history.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: stage-transaction-history app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-stage-transaction-history environment: stage team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: stage-transaction-history app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-stage-transaction-history environment: stage team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/stage-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/stage-userservice/stage-userservice.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/stage-bank-backend/components/userservice/userservice.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/stage-userservice/stage-userservice.gen.yaml index 837788a2..0e83c311 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/components/userservice/userservice.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/stage-userservice/stage-userservice.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: stage-userservice app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-stage-userservice environment: stage team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: stage-userservice app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-stage-userservice environment: stage team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-accounts-db/test-accounts-db.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-accounts-db/test-accounts-db.gen.yaml index e5d20414..50ad0ac0 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/accounts-db/accounts-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-accounts-db/test-accounts-db.gen.yaml @@ -9,14 +9,14 @@ metadata: labels: app: accounts-db app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: test-accounts-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-test-accounts-db + environment: test team: accounts tier: db name: accounts-db-config @@ -27,14 +27,14 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: test-accounts-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-test-accounts-db + environment: test team: accounts tier: db name: accounts-db @@ -48,7 +48,7 @@ spec: selector: app: accounts-db application: bank-of-holos - environment: development + environment: test team: accounts tier: db type: ClusterIP @@ -58,14 +58,14 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: test-accounts-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-accounts-db - environment: development + argocd.argoproj.io/instance: bank-backend-test-accounts-db + environment: test team: accounts tier: db name: accounts-db @@ -76,7 +76,7 @@ spec: matchLabels: app: accounts-db application: bank-of-holos - environment: development + environment: test team: accounts tier: db serviceName: accounts-db @@ -85,7 +85,7 @@ spec: labels: app: accounts-db application: bank-of-holos - environment: development + environment: test team: accounts tier: db spec: diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-balance-reader/test-balance-reader.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-balance-reader/test-balance-reader.gen.yaml index 9ae0989e..142aa260 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/balance-reader/balance-reader.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-balance-reader/test-balance-reader.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: test-balance-reader app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-test-balance-reader environment: test team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: test-balance-reader app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-balance-reader + argocd.argoproj.io/instance: bank-backend-test-balance-reader environment: test team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/config/config.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-bank-backend-config/test-bank-backend-config.gen.yaml similarity index 74% rename from deploy/clusters/workload/projects/test-bank-backend/components/config/config.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-bank-backend-config/test-bank-backend-config.gen.yaml index 873cf0e5..35088b47 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/config/config.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-bank-backend-config/test-bank-backend-config.gen.yaml @@ -3,13 +3,13 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: bank-of-holos @@ -24,13 +24,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: demo-data-config @@ -44,13 +44,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: environment-config @@ -67,13 +67,13 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: service-api-config @@ -84,13 +84,13 @@ kind: ExternalSecret metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: jwt-key @@ -111,13 +111,13 @@ kind: SecretStore metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: test-bank-security @@ -141,13 +141,13 @@ kind: ReferenceGrant metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-config + argocd.argoproj.io/instance: bank-backend-test-bank-backend-config environment: test tier: backend name: istio-ingress diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/contacts/contacts.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-contacts/test-contacts.gen.yaml similarity index 90% rename from deploy/clusters/workload/projects/test-bank-backend/components/contacts/contacts.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-contacts/test-contacts.gen.yaml index 47e46a45..feae9453 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/contacts/contacts.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-contacts/test-contacts.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: test-contacts app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-test-contacts environment: test team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: test-contacts app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-contacts + argocd.argoproj.io/instance: bank-backend-test-contacts environment: test team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-ledger-db/test-ledger-db.gen.yaml similarity index 85% rename from deploy/clusters/workload/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-ledger-db/test-ledger-db.gen.yaml index 0f377052..5e08f9bc 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/ledger-db/ledger-db.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-ledger-db/test-ledger-db.gen.yaml @@ -11,13 +11,13 @@ metadata: labels: app: ledger-db app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: test-ledger-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-test-ledger-db environment: development team: ledger tier: db @@ -29,13 +29,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: test-ledger-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-test-ledger-db environment: development team: ledger tier: db @@ -59,13 +59,13 @@ kind: StatefulSet metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: test-ledger-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-db + argocd.argoproj.io/instance: bank-backend-test-ledger-db environment: development team: ledger tier: db diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-ledger-writer/test-ledger-writer.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-ledger-writer/test-ledger-writer.gen.yaml index 5ea06dab..767abae3 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/ledger-writer/ledger-writer.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-ledger-writer/test-ledger-writer.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: test-ledger-writer app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-test-ledger-writer environment: test team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer + app.holos.run/component.name: test-ledger-writer app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-ledger-writer + argocd.argoproj.io/instance: bank-backend-test-ledger-writer environment: test team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-transaction-history/test-transaction-history.gen.yaml similarity index 92% rename from deploy/clusters/workload/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-transaction-history/test-transaction-history.gen.yaml index 111efbfa..ee089d1e 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/transaction-history/transaction-history.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-transaction-history/test-transaction-history.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: test-transaction-history app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-test-transaction-history environment: test team: ledger tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history + app.holos.run/component.name: test-transaction-history app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-transaction-history + argocd.argoproj.io/instance: bank-backend-test-transaction-history environment: test team: ledger tier: backend diff --git a/deploy/clusters/workload/projects/test-bank-backend/components/userservice/userservice.gen.yaml b/deploy/clusters/workload/projects/bank-backend/components/test-userservice/test-userservice.gen.yaml similarity index 91% rename from deploy/clusters/workload/projects/test-bank-backend/components/userservice/userservice.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/components/test-userservice/test-userservice.gen.yaml index dc2b5395..0339e758 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/components/userservice/userservice.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/components/test-userservice/test-userservice.gen.yaml @@ -3,13 +3,13 @@ kind: Service metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: test-userservice app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-test-userservice environment: test team: accounts tier: backend @@ -33,13 +33,13 @@ kind: Deployment metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice + app.holos.run/component.name: test-userservice app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-backend-userservice + argocd.argoproj.io/instance: bank-backend-test-userservice environment: test team: accounts tier: backend diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml index 207537b0..f730771f 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: dev-accounts-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: dev-bank-backend-ledger-db + name: bank-backend-dev-accounts-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/ledger-db + path: deploy/clusters/workload/projects/bank-backend/components/dev-accounts-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml new file mode 100644 index 00000000..c067beb1 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-balance-reader + app.holos.run/environment.name: dev + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-dev-balance-reader + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/dev-balance-reader + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml similarity index 61% rename from deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml index ec5ba3a5..32bcc8f5 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: dev-bank-backend-config app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: dev-bank-backend-balance-reader + name: bank-backend-dev-bank-backend-config namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/balance-reader + path: deploy/clusters/workload/projects/bank-backend/components/dev-bank-backend-config repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml index 082cd8ad..7adfc507 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: dev-contacts app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: dev-bank-backend-config + name: bank-backend-dev-contacts namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/config + path: deploy/clusters/workload/projects/bank-backend/components/dev-contacts repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml index 93633051..56092189 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: dev-ledger-db app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: dev-bank-backend-contacts + name: bank-backend-dev-ledger-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/contacts + path: deploy/clusters/workload/projects/bank-backend/components/dev-ledger-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml new file mode 100644 index 00000000..a2723489 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-ledger-writer + app.holos.run/environment.name: dev + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-dev-ledger-writer + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/dev-ledger-writer + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml new file mode 100644 index 00000000..d215d0e4 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-transaction-history + app.holos.run/environment.name: dev + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-dev-transaction-history + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/dev-transaction-history + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml index d8e11a8e..4551d6dc 100644 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: dev-userservice app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: dev-bank-backend-accounts-db + name: bank-backend-dev-userservice namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/accounts-db + path: deploy/clusters/workload/projects/bank-backend/components/dev-userservice repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml index 60e450e9..a7a01ce8 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: prod-accounts-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: prod-bank-backend-ledger-db + name: bank-backend-prod-accounts-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/ledger-db + path: deploy/clusters/workload/projects/bank-backend/components/prod-accounts-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml new file mode 100644 index 00000000..e04ab238 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-balance-reader + app.holos.run/environment.name: prod + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-prod-balance-reader + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/prod-balance-reader + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml similarity index 61% rename from deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml index 357a8642..f2c2e653 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: prod-bank-backend-config app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: prod-bank-backend-balance-reader + name: bank-backend-prod-bank-backend-config namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/balance-reader + path: deploy/clusters/workload/projects/bank-backend/components/prod-bank-backend-config repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml index c6e6dfbe..780ae92e 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: prod-contacts app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: prod-bank-backend-config + name: bank-backend-prod-contacts namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/config + path: deploy/clusters/workload/projects/bank-backend/components/prod-contacts repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml index d13bc4cf..d6028618 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: prod-ledger-db app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: prod-bank-backend-contacts + name: bank-backend-prod-ledger-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/contacts + path: deploy/clusters/workload/projects/bank-backend/components/prod-ledger-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml new file mode 100644 index 00000000..0bc4bbcf --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-ledger-writer + app.holos.run/environment.name: prod + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-prod-ledger-writer + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/prod-ledger-writer + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml new file mode 100644 index 00000000..6e54b8c1 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-transaction-history + app.holos.run/environment.name: prod + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-prod-transaction-history + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/prod-transaction-history + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml index aaf67d40..dca43cb1 100644 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: prod-userservice app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: prod-bank-backend-accounts-db + name: bank-backend-prod-userservice namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/accounts-db + path: deploy/clusters/workload/projects/bank-backend/components/prod-userservice repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml index b140519f..db6cce0c 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: stage-accounts-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: stage-bank-backend-ledger-db + name: bank-backend-stage-accounts-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/ledger-db + path: deploy/clusters/workload/projects/bank-backend/components/stage-accounts-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml new file mode 100644 index 00000000..2ca1b761 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-balance-reader + app.holos.run/environment.name: stage + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-stage-balance-reader + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/stage-balance-reader + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml similarity index 61% rename from deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml index 61221181..5b5009dd 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: stage-bank-backend-config app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: stage-bank-backend-balance-reader + name: bank-backend-stage-bank-backend-config namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/balance-reader + path: deploy/clusters/workload/projects/bank-backend/components/stage-bank-backend-config repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml index e8352ae2..6400718f 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: stage-contacts app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: stage-bank-backend-config + name: bank-backend-stage-contacts namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/config + path: deploy/clusters/workload/projects/bank-backend/components/stage-contacts repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml index 4ca71b2d..d0302a46 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: stage-ledger-db app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: stage-bank-backend-contacts + name: bank-backend-stage-ledger-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/contacts + path: deploy/clusters/workload/projects/bank-backend/components/stage-ledger-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml similarity index 62% rename from deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml index ca2e8d18..e62a969b 100644 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: stage-ledger-writer app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: stage-bank-backend-accounts-db + name: bank-backend-stage-ledger-writer namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/accounts-db + path: deploy/clusters/workload/projects/bank-backend/components/stage-ledger-writer repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml new file mode 100644 index 00000000..55f7ef86 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-transaction-history + app.holos.run/environment.name: stage + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-stage-transaction-history + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/stage-transaction-history + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml new file mode 100644 index 00000000..eff998d4 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-userservice + app.holos.run/environment.name: stage + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-stage-userservice + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/stage-userservice + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml index 3faf718c..c9bed6df 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-db + app.holos.run/component.name: test-accounts-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: test-bank-backend-ledger-db + name: bank-backend-test-accounts-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/test-bank-backend/components/ledger-db + path: deploy/clusters/workload/projects/bank-backend/components/test-accounts-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml new file mode 100644 index 00000000..8d5e0fa4 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-balance-reader + app.holos.run/environment.name: test + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-test-balance-reader + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/test-balance-reader + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml similarity index 61% rename from deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml index 02b24e61..b27a3da3 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: balance-reader + app.holos.run/component.name: test-bank-backend-config app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: test-bank-backend-balance-reader + name: bank-backend-test-bank-backend-config namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/test-bank-backend/components/balance-reader + path: deploy/clusters/workload/projects/bank-backend/components/test-bank-backend-config repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml index 6e9505f9..506542f5 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: config + app.holos.run/component.name: test-contacts app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: test-bank-backend-config + name: bank-backend-test-contacts namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/test-bank-backend/components/config + path: deploy/clusters/workload/projects/bank-backend/components/test-contacts repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml index 77e07542..e61a757d 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: contacts + app.holos.run/component.name: test-ledger-db app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: test-bank-backend-contacts + name: bank-backend-test-ledger-db namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/test-bank-backend/components/contacts + path: deploy/clusters/workload/projects/bank-backend/components/test-ledger-db repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml new file mode 100644 index 00000000..f8e5c5b4 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-ledger-writer + app.holos.run/environment.name: test + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-test-ledger-writer + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/test-ledger-writer + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml new file mode 100644 index 00000000..ec0a0e20 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-transaction-history + app.holos.run/environment.name: test + app.holos.run/project.name: bank-backend + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: backend + name: bank-backend-test-transaction-history + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-backend + source: + path: deploy/clusters/workload/projects/bank-backend/components/test-transaction-history + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml rename to deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml index e8fa92d9..ce88ad5d 100644 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: accounts-db + app.holos.run/component.name: test-userservice app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend + app.holos.run/project.name: bank-backend app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: backend - name: test-bank-backend-accounts-db + name: bank-backend-test-userservice namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-backend + project: bank-backend source: - path: deploy/clusters/workload/projects/test-bank-backend/components/accounts-db + path: deploy/clusters/workload/projects/bank-backend/components/test-userservice repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/dev-secrets/dev-secrets.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/dev-bank-security/components/secrets/secrets.gen.yaml rename to deploy/clusters/workload/projects/bank-security/components/dev-secrets/dev-secrets.gen.yaml index f104bf13..f381272d 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/components/secrets/secrets.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/dev-secrets/dev-secrets.gen.yaml @@ -3,12 +3,12 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-writer namespace: dev-bank-security --- @@ -17,12 +17,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-reader namespace: dev-bank-security rules: @@ -40,12 +40,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-writer namespace: dev-bank-security rules: @@ -63,12 +63,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-reader namespace: dev-bank-security roleRef: @@ -88,12 +88,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-writer namespace: dev-bank-security roleRef: @@ -145,12 +145,12 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-writer namespace: dev-bank-security --- @@ -159,12 +159,12 @@ kind: Job metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-secrets + argocd.argoproj.io/instance: bank-security-dev-secrets name: jwt-key-writer namespace: dev-bank-security spec: diff --git a/deploy/clusters/workload/projects/bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/namespaces/namespaces.gen.yaml new file mode 100644 index 00000000..4ec9bb63 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-security/components/namespaces/namespaces.gen.yaml @@ -0,0 +1,197 @@ +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kargo.akuity.io/project: "true" + kubernetes.io/metadata.name: bank-backend + name: bank-backend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kargo.akuity.io/project: "true" + kubernetes.io/metadata.name: bank-security + name: bank-security +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kargo.akuity.io/project: "true" + kubernetes.io/metadata.name: bank-web + name: bank-web +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: dev-bank-backend + name: dev-bank-backend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: dev-bank-frontend + name: dev-bank-frontend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: dev-bank-security + name: dev-bank-security +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: prod-bank-backend + name: prod-bank-backend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: prod-bank-frontend + name: prod-bank-frontend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: prod-bank-security + name: prod-bank-security +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: stage-bank-backend + name: stage-bank-backend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: stage-bank-frontend + name: stage-bank-frontend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: stage-bank-security + name: stage-bank-security +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: test-bank-backend + name: test-bank-backend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: test-bank-frontend + name: test-bank-frontend +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: namespaces + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-namespaces + kubernetes.io/metadata.name: test-bank-security + name: test-bank-security diff --git a/deploy/clusters/workload/projects/prod-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/prod-secrets/prod-secrets.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/prod-bank-security/components/secrets/secrets.gen.yaml rename to deploy/clusters/workload/projects/bank-security/components/prod-secrets/prod-secrets.gen.yaml index 2d85f47c..c0fcee67 100644 --- a/deploy/clusters/workload/projects/prod-bank-security/components/secrets/secrets.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/prod-secrets/prod-secrets.gen.yaml @@ -3,12 +3,12 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-writer namespace: prod-bank-security --- @@ -17,12 +17,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-reader namespace: prod-bank-security rules: @@ -40,12 +40,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-writer namespace: prod-bank-security rules: @@ -63,12 +63,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-reader namespace: prod-bank-security roleRef: @@ -88,12 +88,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-writer namespace: prod-bank-security roleRef: @@ -145,12 +145,12 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-writer namespace: prod-bank-security --- @@ -159,12 +159,12 @@ kind: Job metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-secrets + argocd.argoproj.io/instance: bank-security-prod-secrets name: jwt-key-writer namespace: prod-bank-security spec: diff --git a/deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/projects/projects.gen.yaml similarity index 58% rename from deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml rename to deploy/clusters/workload/projects/bank-security/components/projects/projects.gen.yaml index c1f75148..a03f4b7a 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/components/projects/projects.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/projects/projects.gen.yaml @@ -4,12 +4,11 @@ metadata: labels: app.holos.run/cluster.name: workload app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-backend + argocd.argoproj.io/instance: bank-security-projects + name: bank-backend spec: {} --- apiVersion: kargo.akuity.io/v1alpha1 @@ -18,12 +17,11 @@ metadata: labels: app.holos.run/cluster.name: workload app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-frontend + argocd.argoproj.io/instance: bank-security-projects + name: bank-security spec: {} --- apiVersion: kargo.akuity.io/v1alpha1 @@ -32,10 +30,9 @@ metadata: labels: app.holos.run/cluster.name: workload app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-projects - name: dev-bank-security + argocd.argoproj.io/instance: bank-security-projects + name: bank-web spec: {} diff --git a/deploy/clusters/workload/projects/stage-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/stage-secrets/stage-secrets.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/stage-bank-security/components/secrets/secrets.gen.yaml rename to deploy/clusters/workload/projects/bank-security/components/stage-secrets/stage-secrets.gen.yaml index b4ea84b4..c28bb15a 100644 --- a/deploy/clusters/workload/projects/stage-bank-security/components/secrets/secrets.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/stage-secrets/stage-secrets.gen.yaml @@ -3,12 +3,12 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-writer namespace: stage-bank-security --- @@ -17,12 +17,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-reader namespace: stage-bank-security rules: @@ -40,12 +40,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-writer namespace: stage-bank-security rules: @@ -63,12 +63,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-reader namespace: stage-bank-security roleRef: @@ -88,12 +88,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-writer namespace: stage-bank-security roleRef: @@ -145,12 +145,12 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-writer namespace: stage-bank-security --- @@ -159,12 +159,12 @@ kind: Job metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-secrets + argocd.argoproj.io/instance: bank-security-stage-secrets name: jwt-key-writer namespace: stage-bank-security spec: diff --git a/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml new file mode 100644 index 00000000..5595525b --- /dev/null +++ b/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml @@ -0,0 +1,264 @@ +apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-stages + name: dev-frontend + namespace: bank-security +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/dev + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/bank-web/components/dev-frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/bank-web/components/dev-frontend/dev-frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/bank-web/components/dev-frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/dev + uses: git-push + - config: + apps: + - name: bank-web-dev-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-stages + name: prod-frontend + namespace: bank-security +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/prod + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/bank-web/components/prod-frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/bank-web/components/prod-frontend/prod-frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/bank-web/components/prod-frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/prod + uses: git-push + - config: + apps: + - name: bank-web-prod-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-stages + name: stage-frontend + namespace: bank-security +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/stage + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/bank-web/components/stage-frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/bank-web/components/stage-frontend/stage-frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/bank-web/components/stage-frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/stage + uses: git-push + - config: + apps: + - name: bank-web-stage-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Stage +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-stages + name: test-frontend + namespace: bank-security +spec: + promotionTemplate: + spec: + steps: + - config: + checkout: + - branch: main + path: ./src + - branch: stage/test + path: ./out + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: git-clone + - config: + path: ./out + uses: git-clear + - as: update-image + config: + images: + - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + path: ./src/deploy/clusters/workload/projects/bank-web/components/test-frontend + uses: kustomize-set-image + - config: + outPath: ./out/deploy/clusters/workload/projects/bank-web/components/test-frontend/test-frontend.gen.yaml + path: ./src/deploy/clusters/workload/projects/bank-web/components/test-frontend + uses: kustomize-build + - as: commit + config: + messageFromSteps: + - update-image + path: ./out + uses: git-commit + - config: + path: ./out + targetBranch: stage/test + uses: git-push + - config: + apps: + - name: bank-web-test-frontend + sources: + - desiredCommitFromStep: commit + repoURL: https://github.com/jeffmccune/bank-of-holos.git + uses: argocd-update + requestedFreight: + - origin: + kind: Warehouse + name: frontend + sources: + direct: true +--- +apiVersion: kargo.akuity.io/v1alpha1 +kind: Warehouse +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + argocd.argoproj.io/instance: bank-security-stages + name: frontend + namespace: bank-security +spec: + interval: 5m0s + subscriptions: + - image: + discoveryLimit: 5 + repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend + semverConstraint: ^v0.6.5 + strictSemvers: true diff --git a/deploy/clusters/workload/projects/test-bank-security/components/secrets/secrets.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/test-secrets/test-secrets.gen.yaml similarity index 79% rename from deploy/clusters/workload/projects/test-bank-security/components/secrets/secrets.gen.yaml rename to deploy/clusters/workload/projects/bank-security/components/test-secrets/test-secrets.gen.yaml index bbdc49d1..6b09df37 100644 --- a/deploy/clusters/workload/projects/test-bank-security/components/secrets/secrets.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/test-secrets/test-secrets.gen.yaml @@ -3,12 +3,12 @@ kind: ServiceAccount metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-writer namespace: test-bank-security --- @@ -17,12 +17,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-reader namespace: test-bank-security rules: @@ -40,12 +40,12 @@ kind: Role metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-writer namespace: test-bank-security rules: @@ -63,12 +63,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-reader namespace: test-bank-security roleRef: @@ -88,12 +88,12 @@ kind: RoleBinding metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-writer namespace: test-bank-security roleRef: @@ -145,12 +145,12 @@ kind: ConfigMap metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-writer namespace: test-bank-security --- @@ -159,12 +159,12 @@ kind: Job metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-secrets + argocd.argoproj.io/instance: bank-security-test-secrets name: jwt-key-writer namespace: test-bank-security spec: diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml index a464518b..22f4d000 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: dev-secrets app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: dev-bank-security-secrets + name: bank-security-dev-secrets namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/dev-bank-security/components/secrets + path: deploy/clusters/workload/projects/bank-security/components/dev-secrets repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml index 7802305e..dc89b90f 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml @@ -4,17 +4,16 @@ metadata: labels: app.holos.run/cluster.name: workload app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: dev-bank-security-namespaces + name: bank-security-namespaces namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/dev-bank-security/components/namespaces + path: deploy/clusters/workload/projects/bank-security/components/namespaces repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml index e4519601..a4e469eb 100644 --- a/deploy/clusters/workload/projects/prod-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: prod-secrets app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: prod-bank-security-secrets + name: bank-security-prod-secrets namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/prod-bank-security/components/secrets + path: deploy/clusters/workload/projects/bank-security/components/prod-secrets repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml similarity index 64% rename from deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml index d3871110..118ba6f1 100644 --- a/deploy/clusters/workload/projects/dev-bank-security/gitops/projects.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml @@ -4,17 +4,16 @@ metadata: labels: app.holos.run/cluster.name: workload app.holos.run/component.name: projects - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: dev-bank-security-projects + name: bank-security-projects namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/dev-bank-security/components/projects + path: deploy/clusters/workload/projects/bank-security/components/projects repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml index 0a2d1fb3..3c70fc57 100644 --- a/deploy/clusters/workload/projects/stage-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: stage-secrets app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: stage-bank-security-secrets + name: bank-security-stage-secrets namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/stage-bank-security/components/secrets + path: deploy/clusters/workload/projects/bank-security/components/stage-secrets repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml new file mode 100644 index 00000000..c30d5c32 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml @@ -0,0 +1,19 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + labels: + app.holos.run/cluster.name: workload + app.holos.run/component.name: stages + app.holos.run/project.name: bank-security + app.holos.run/stack.name: bank-of-holos + app.holos.run/team.name: security + name: bank-security-stages + namespace: argocd +spec: + destination: + server: https://kubernetes.default.svc + project: bank-security + source: + path: deploy/clusters/workload/projects/bank-security/components/stages + repoURL: https://github.com/jeffmccune/bank-of-holos.git + targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml similarity index 63% rename from deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml rename to deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml index 368a1d11..f3990f89 100644 --- a/deploy/clusters/workload/projects/test-bank-security/gitops/secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml @@ -3,18 +3,18 @@ kind: Application metadata: labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: secrets + app.holos.run/component.name: test-secrets app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security + app.holos.run/project.name: bank-security app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: security - name: test-bank-security-secrets + name: bank-security-test-secrets namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-security + project: bank-security source: - path: deploy/clusters/workload/projects/test-bank-security/components/secrets + path: deploy/clusters/workload/projects/bank-security/components/test-secrets repoURL: https://github.com/jeffmccune/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/bank-web/components/dev-frontend/dev-frontend.gen.yaml similarity index 74% rename from deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml rename to deploy/clusters/workload/projects/bank-web/components/dev-frontend/dev-frontend.gen.yaml index 1390cf2f..0a97faba 100644 --- a/deploy/clusters/management/projects/dev-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/components/dev-frontend/dev-frontend.gen.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: bank-of-holos namespace: dev-bank-frontend --- @@ -20,13 +20,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: demo-data-config namespace: dev-bank-frontend --- @@ -37,13 +37,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: environment-config namespace: dev-bank-frontend --- @@ -57,13 +57,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: service-api-config namespace: dev-bank-frontend --- @@ -71,14 +71,14 @@ apiVersion: v1 kind: Service metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend environment: dev team: frontend tier: web @@ -100,14 +100,14 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend environment: dev team: frontend tier: web @@ -230,13 +230,13 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: jwt-key namespace: dev-bank-frontend spec: @@ -254,13 +254,13 @@ apiVersion: external-secrets.io/v1beta1 kind: SecretStore metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: dev-bank-security namespace: dev-bank-frontend spec: @@ -281,13 +281,13 @@ apiVersion: gateway.networking.k8s.io/v1beta1 kind: ReferenceGrant metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend + argocd.argoproj.io/instance: bank-web-dev-frontend name: istio-ingress namespace: dev-bank-frontend spec: @@ -298,25 +298,3 @@ spec: to: - group: "" kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: frontend - namespace: dev-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/bank-web/components/dev-frontend/kustomization.yaml b/deploy/clusters/workload/projects/bank-web/components/dev-frontend/kustomization.yaml new file mode 100644 index 00000000..6c361ba2 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-web/components/dev-frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - dev-frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/bank-web/components/prod-frontend/kustomization.yaml b/deploy/clusters/workload/projects/bank-web/components/prod-frontend/kustomization.yaml new file mode 100644 index 00000000..7aae36ae --- /dev/null +++ b/deploy/clusters/workload/projects/bank-web/components/prod-frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - prod-frontend.gen.yaml diff --git a/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/bank-web/components/prod-frontend/prod-frontend.gen.yaml similarity index 73% rename from deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml rename to deploy/clusters/workload/projects/bank-web/components/prod-frontend/prod-frontend.gen.yaml index 2c38aead..bb3a1b8f 100644 --- a/deploy/clusters/management/projects/prod-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/components/prod-frontend/prod-frontend.gen.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: bank-of-holos namespace: prod-bank-frontend --- @@ -20,13 +20,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: demo-data-config namespace: prod-bank-frontend --- @@ -37,13 +37,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: environment-config namespace: prod-bank-frontend --- @@ -57,13 +57,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: service-api-config namespace: prod-bank-frontend --- @@ -71,14 +71,14 @@ apiVersion: v1 kind: Service metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend environment: prod team: frontend tier: web @@ -100,14 +100,14 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend environment: prod team: frontend tier: web @@ -230,13 +230,13 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: jwt-key namespace: prod-bank-frontend spec: @@ -254,13 +254,13 @@ apiVersion: external-secrets.io/v1beta1 kind: SecretStore metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: prod-bank-security namespace: prod-bank-frontend spec: @@ -281,13 +281,13 @@ apiVersion: gateway.networking.k8s.io/v1beta1 kind: ReferenceGrant metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend + argocd.argoproj.io/instance: bank-web-prod-frontend name: istio-ingress namespace: prod-bank-frontend spec: @@ -298,25 +298,3 @@ spec: to: - group: "" kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: frontend - namespace: prod-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/bank-web/components/stage-frontend/kustomization.yaml b/deploy/clusters/workload/projects/bank-web/components/stage-frontend/kustomization.yaml new file mode 100644 index 00000000..4411b94a --- /dev/null +++ b/deploy/clusters/workload/projects/bank-web/components/stage-frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - stage-frontend.gen.yaml diff --git a/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/bank-web/components/stage-frontend/stage-frontend.gen.yaml similarity index 73% rename from deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml rename to deploy/clusters/workload/projects/bank-web/components/stage-frontend/stage-frontend.gen.yaml index 0823676d..83c61d4b 100644 --- a/deploy/clusters/management/projects/stage-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/components/stage-frontend/stage-frontend.gen.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: bank-of-holos namespace: stage-bank-frontend --- @@ -20,13 +20,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: demo-data-config namespace: stage-bank-frontend --- @@ -37,13 +37,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: environment-config namespace: stage-bank-frontend --- @@ -57,13 +57,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: service-api-config namespace: stage-bank-frontend --- @@ -71,14 +71,14 @@ apiVersion: v1 kind: Service metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend environment: stage team: frontend tier: web @@ -100,14 +100,14 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend environment: stage team: frontend tier: web @@ -230,13 +230,13 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: jwt-key namespace: stage-bank-frontend spec: @@ -254,13 +254,13 @@ apiVersion: external-secrets.io/v1beta1 kind: SecretStore metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: stage-bank-security namespace: stage-bank-frontend spec: @@ -281,13 +281,13 @@ apiVersion: gateway.networking.k8s.io/v1beta1 kind: ReferenceGrant metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend + argocd.argoproj.io/instance: bank-web-stage-frontend name: istio-ingress namespace: stage-bank-frontend spec: @@ -298,25 +298,3 @@ spec: to: - group: "" kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: frontend - namespace: stage-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/bank-web/components/test-frontend/kustomization.yaml b/deploy/clusters/workload/projects/bank-web/components/test-frontend/kustomization.yaml new file mode 100644 index 00000000..85348da9 --- /dev/null +++ b/deploy/clusters/workload/projects/bank-web/components/test-frontend/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - test-frontend.gen.yaml diff --git a/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/bank-web/components/test-frontend/test-frontend.gen.yaml similarity index 73% rename from deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml rename to deploy/clusters/workload/projects/bank-web/components/test-frontend/test-frontend.gen.yaml index 29090742..0acacd05 100644 --- a/deploy/clusters/management/projects/test-bank-web/components/frontend/frontend.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/components/test-frontend/test-frontend.gen.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: bank-of-holos namespace: test-bank-frontend --- @@ -20,13 +20,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: demo-data-config namespace: test-bank-frontend --- @@ -37,13 +37,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: environment-config namespace: test-bank-frontend --- @@ -57,13 +57,13 @@ data: kind: ConfigMap metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: service-api-config namespace: test-bank-frontend --- @@ -71,14 +71,14 @@ apiVersion: v1 kind: Service metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend environment: test team: frontend tier: web @@ -100,14 +100,14 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend application: bank-of-holos - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend environment: test team: frontend tier: web @@ -230,13 +230,13 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: jwt-key namespace: test-bank-frontend spec: @@ -254,13 +254,13 @@ apiVersion: external-secrets.io/v1beta1 kind: SecretStore metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: test-bank-security namespace: test-bank-frontend spec: @@ -281,13 +281,13 @@ apiVersion: gateway.networking.k8s.io/v1beta1 kind: ReferenceGrant metadata: labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend + app.holos.run/cluster.name: workload + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend + argocd.argoproj.io/instance: bank-web-test-frontend name: istio-ingress namespace: test-bank-frontend spec: @@ -298,25 +298,3 @@ spec: to: - group: "" kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: management - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: frontend - namespace: test-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml similarity index 54% rename from deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml rename to deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml index e89184bc..acb7c158 100644 --- a/deploy/clusters/workload/projects/dev-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml @@ -1,20 +1,22 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: + annotations: + kargo.akuity.io/authorized-stage: bank-security:dev-frontend labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend + app.holos.run/component.name: dev-frontend app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - name: dev-bank-web-frontend + name: bank-web-dev-frontend namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: dev-bank-web + project: bank-web source: - path: deploy/clusters/workload/projects/dev-bank-web/components/frontend + path: deploy/clusters/workload/projects/bank-web/components/dev-frontend repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main + targetRevision: stage/dev diff --git a/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml similarity index 54% rename from deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml rename to deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml index a86d5d5f..067ec2d6 100644 --- a/deploy/clusters/workload/projects/prod-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml @@ -1,20 +1,22 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: + annotations: + kargo.akuity.io/authorized-stage: bank-security:prod-frontend labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend + app.holos.run/component.name: prod-frontend app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - name: prod-bank-web-frontend + name: bank-web-prod-frontend namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: prod-bank-web + project: bank-web source: - path: deploy/clusters/workload/projects/prod-bank-web/components/frontend + path: deploy/clusters/workload/projects/bank-web/components/prod-frontend repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main + targetRevision: stage/prod diff --git a/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml similarity index 53% rename from deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml rename to deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml index 430bbe14..2ed35f82 100644 --- a/deploy/clusters/workload/projects/stage-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml @@ -1,20 +1,22 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: + annotations: + kargo.akuity.io/authorized-stage: bank-security:stage-frontend labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend + app.holos.run/component.name: stage-frontend app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - name: stage-bank-web-frontend + name: bank-web-stage-frontend namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: stage-bank-web + project: bank-web source: - path: deploy/clusters/workload/projects/stage-bank-web/components/frontend + path: deploy/clusters/workload/projects/bank-web/components/stage-frontend repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main + targetRevision: stage/stage diff --git a/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml similarity index 54% rename from deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml rename to deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml index 6e49bfcc..ceebbada 100644 --- a/deploy/clusters/workload/projects/test-bank-web/gitops/frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml @@ -1,20 +1,22 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: + annotations: + kargo.akuity.io/authorized-stage: bank-security:test-frontend labels: app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend + app.holos.run/component.name: test-frontend app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web + app.holos.run/project.name: bank-web app.holos.run/stack.name: bank-of-holos app.holos.run/team.name: frontend - name: test-bank-web-frontend + name: bank-web-test-frontend namespace: argocd spec: destination: server: https://kubernetes.default.svc - project: test-bank-web + project: bank-web source: - path: deploy/clusters/workload/projects/test-bank-web/components/frontend + path: deploy/clusters/workload/projects/bank-web/components/test-frontend repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main + targetRevision: stage/test diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index 32e9bef0..00000000 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index 72d64df5..00000000 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 9987cf11..00000000 --- a/deploy/clusters/workload/projects/dev-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: dev-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: dev-bank-backend - source: - path: deploy/clusters/workload/projects/dev-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index 7d596a10..00000000 --- a/deploy/clusters/workload/projects/dev-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-backend - name: dev-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-frontend - name: dev-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: dev-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: dev-bank-security - name: dev-bank-security diff --git a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml deleted file mode 100644 index 4daaff62..00000000 --- a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml +++ /dev/null @@ -1,384 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: bank-of-holos - namespace: dev-bank-frontend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: demo-data-config - namespace: dev-bank-frontend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: environment-config - namespace: dev-bank-frontend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.dev-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.dev-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.dev-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.dev-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.dev-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: service-api-config - namespace: dev-bank-frontend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-web-frontend - environment: dev - team: frontend - tier: web - name: frontend - namespace: dev-bank-frontend -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - selector: - app: frontend - application: bank-of-holos - environment: dev - tier: web ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: dev-bank-web-frontend - environment: dev - team: frontend - tier: web - name: frontend - namespace: dev-bank-frontend -spec: - selector: - matchLabels: - app: frontend - application: bank-of-holos - environment: dev - template: - metadata: - labels: - app: frontend - application: bank-of-holos - environment: dev - team: frontend - tier: web - spec: - containers: - - env: - - name: BANK_NAME - value: Bank of Holos - - name: ENV_PLATFORM - value: local - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: SCHEME - value: https - - name: LOG_LEVEL - value: info - - name: DEFAULT_USERNAME - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_USERNAME - name: demo-data-config - - name: DEFAULT_PASSWORD - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_PASSWORD - name: demo-data-config - - name: REGISTERED_OAUTH_CLIENT_ID - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_CLIENT_ID - name: oauth-config - optional: true - - name: ALLOWED_OAUTH_REDIRECT_URI - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_REDIRECT_URI - name: oauth-config - optional: true - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend:v0.6.5@sha256:d72050f70d12383e4434ad04d189b681dc625f696087ddf0b5df641645c9dafa - livenessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 15 - timeoutSeconds: 30 - name: front - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - memory: 128Mi - requests: - cpu: 100m - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: jwt-key - namespace: dev-bank-frontend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: dev-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: dev-bank-security - namespace: dev-bank-frontend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: dev-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: istio-ingress - namespace: dev-bank-frontend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Stage -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: dev - namespace: dev-bank-frontend -spec: - promotionTemplate: - spec: - steps: - - config: - checkout: - - branch: main - path: ./src - - branch: stage/dev - path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: git-clone - - config: - path: ./out - uses: git-clear - - as: update-image - config: - images: - - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - path: ./src/deploy/clusters/workload/projects/dev-bank-web/components/frontend - uses: kustomize-set-image - - config: - outPath: ./out/deploy/clusters/workload/projects/dev-bank-web/components/frontend/frontend.gen.yaml - path: ./src/deploy/clusters/workload/projects/dev-bank-web/components/frontend - uses: kustomize-build - - as: commit - config: - messageFromSteps: - - update-image - path: ./out - uses: git-commit - - config: - path: ./out - targetBranch: stage/dev - uses: git-push - - config: - apps: - - name: dev-bank-web-frontend - sources: - - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: argocd-update - requestedFreight: - - origin: - kind: Warehouse - name: frontend - sources: - direct: true ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: dev - app.holos.run/project.name: dev-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: dev-bank-web-frontend - name: frontend - namespace: dev-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml deleted file mode 100644 index 5c5f0a17..00000000 --- a/deploy/clusters/workload/projects/dev-bank-web/components/frontend/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: - - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/network/components/httproutes/httproutes.gen.yaml b/deploy/clusters/workload/projects/network/components/httproutes/httproutes.gen.yaml index 4aff9256..7dfe98cb 100644 --- a/deploy/clusters/workload/projects/network/components/httproutes/httproutes.gen.yaml +++ b/deploy/clusters/workload/projects/network/components/httproutes/httproutes.gen.yaml @@ -131,7 +131,7 @@ spec: rules: - backendRefs: - name: frontend - namespace: stage-bank-frontend + namespace: test-bank-frontend port: 80 matches: - path: diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index a10b5cb1..00000000 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index c6ffc942..00000000 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 06575cec..00000000 --- a/deploy/clusters/workload/projects/prod-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: prod-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-backend - source: - path: deploy/clusters/workload/projects/prod-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index f9eb5185..00000000 --- a/deploy/clusters/workload/projects/prod-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-backend - name: prod-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-frontend - name: prod-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: prod-bank-security - name: prod-bank-security diff --git a/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index f3f3288e..00000000 --- a/deploy/clusters/workload/projects/prod-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: prod-bank-security-projects - name: prod-bank-security -spec: {} diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 9d59acca..00000000 --- a/deploy/clusters/workload/projects/prod-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: prod-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-security - source: - path: deploy/clusters/workload/projects/prod-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index 8923e65b..00000000 --- a/deploy/clusters/workload/projects/prod-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: prod-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: prod-bank-security - source: - path: deploy/clusters/workload/projects/prod-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml deleted file mode 100644 index cc38489f..00000000 --- a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml +++ /dev/null @@ -1,384 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: bank-of-holos - namespace: prod-bank-frontend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: demo-data-config - namespace: prod-bank-frontend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: environment-config - namespace: prod-bank-frontend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.prod-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.prod-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.prod-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.prod-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.prod-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: service-api-config - namespace: prod-bank-frontend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-web-frontend - environment: prod - team: frontend - tier: web - name: frontend - namespace: prod-bank-frontend -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - selector: - app: frontend - application: bank-of-holos - environment: prod - tier: web ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: prod-bank-web-frontend - environment: prod - team: frontend - tier: web - name: frontend - namespace: prod-bank-frontend -spec: - selector: - matchLabels: - app: frontend - application: bank-of-holos - environment: prod - template: - metadata: - labels: - app: frontend - application: bank-of-holos - environment: prod - team: frontend - tier: web - spec: - containers: - - env: - - name: BANK_NAME - value: Bank of Holos - - name: ENV_PLATFORM - value: local - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: SCHEME - value: https - - name: LOG_LEVEL - value: info - - name: DEFAULT_USERNAME - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_USERNAME - name: demo-data-config - - name: DEFAULT_PASSWORD - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_PASSWORD - name: demo-data-config - - name: REGISTERED_OAUTH_CLIENT_ID - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_CLIENT_ID - name: oauth-config - optional: true - - name: ALLOWED_OAUTH_REDIRECT_URI - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_REDIRECT_URI - name: oauth-config - optional: true - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend:v0.6.5@sha256:d72050f70d12383e4434ad04d189b681dc625f696087ddf0b5df641645c9dafa - livenessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 15 - timeoutSeconds: 30 - name: front - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - memory: 128Mi - requests: - cpu: 100m - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: jwt-key - namespace: prod-bank-frontend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: prod-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: prod-bank-security - namespace: prod-bank-frontend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: prod-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: istio-ingress - namespace: prod-bank-frontend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Stage -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: prod - namespace: prod-bank-frontend -spec: - promotionTemplate: - spec: - steps: - - config: - checkout: - - branch: main - path: ./src - - branch: stage/prod - path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: git-clone - - config: - path: ./out - uses: git-clear - - as: update-image - config: - images: - - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - path: ./src/deploy/clusters/workload/projects/prod-bank-web/components/frontend - uses: kustomize-set-image - - config: - outPath: ./out/deploy/clusters/workload/projects/prod-bank-web/components/frontend/frontend.gen.yaml - path: ./src/deploy/clusters/workload/projects/prod-bank-web/components/frontend - uses: kustomize-build - - as: commit - config: - messageFromSteps: - - update-image - path: ./out - uses: git-commit - - config: - path: ./out - targetBranch: stage/prod - uses: git-push - - config: - apps: - - name: prod-bank-web-frontend - sources: - - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: argocd-update - requestedFreight: - - origin: - kind: Warehouse - name: frontend - sources: - direct: true ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: prod - app.holos.run/project.name: prod-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: prod-bank-web-frontend - name: frontend - namespace: prod-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml deleted file mode 100644 index 5c5f0a17..00000000 --- a/deploy/clusters/workload/projects/prod-bank-web/components/frontend/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: - - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index 388fe5a2..00000000 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index 077e0cdd..00000000 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index ecd97267..00000000 --- a/deploy/clusters/workload/projects/stage-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: stage-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-backend - source: - path: deploy/clusters/workload/projects/stage-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index f5cab53e..00000000 --- a/deploy/clusters/workload/projects/stage-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-backend - name: stage-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-frontend - name: stage-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: stage-bank-security - name: stage-bank-security diff --git a/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index a068ec27..00000000 --- a/deploy/clusters/workload/projects/stage-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: stage-bank-security-projects - name: stage-bank-security -spec: {} diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index 7b641aed..00000000 --- a/deploy/clusters/workload/projects/stage-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: stage-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-security - source: - path: deploy/clusters/workload/projects/stage-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index f6669518..00000000 --- a/deploy/clusters/workload/projects/stage-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: stage-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: stage-bank-security - source: - path: deploy/clusters/workload/projects/stage-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml deleted file mode 100644 index c8d487d9..00000000 --- a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml +++ /dev/null @@ -1,384 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: bank-of-holos - namespace: stage-bank-frontend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: demo-data-config - namespace: stage-bank-frontend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: environment-config - namespace: stage-bank-frontend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.stage-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.stage-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.stage-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.stage-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.stage-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: service-api-config - namespace: stage-bank-frontend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-web-frontend - environment: stage - team: frontend - tier: web - name: frontend - namespace: stage-bank-frontend -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - selector: - app: frontend - application: bank-of-holos - environment: stage - tier: web ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: stage-bank-web-frontend - environment: stage - team: frontend - tier: web - name: frontend - namespace: stage-bank-frontend -spec: - selector: - matchLabels: - app: frontend - application: bank-of-holos - environment: stage - template: - metadata: - labels: - app: frontend - application: bank-of-holos - environment: stage - team: frontend - tier: web - spec: - containers: - - env: - - name: BANK_NAME - value: Bank of Holos - - name: ENV_PLATFORM - value: local - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: SCHEME - value: https - - name: LOG_LEVEL - value: info - - name: DEFAULT_USERNAME - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_USERNAME - name: demo-data-config - - name: DEFAULT_PASSWORD - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_PASSWORD - name: demo-data-config - - name: REGISTERED_OAUTH_CLIENT_ID - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_CLIENT_ID - name: oauth-config - optional: true - - name: ALLOWED_OAUTH_REDIRECT_URI - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_REDIRECT_URI - name: oauth-config - optional: true - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend:v0.6.5@sha256:d72050f70d12383e4434ad04d189b681dc625f696087ddf0b5df641645c9dafa - livenessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 15 - timeoutSeconds: 30 - name: front - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - memory: 128Mi - requests: - cpu: 100m - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: jwt-key - namespace: stage-bank-frontend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: stage-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: stage-bank-security - namespace: stage-bank-frontend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: stage-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: istio-ingress - namespace: stage-bank-frontend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Stage -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: stage - namespace: stage-bank-frontend -spec: - promotionTemplate: - spec: - steps: - - config: - checkout: - - branch: main - path: ./src - - branch: stage/stage - path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: git-clone - - config: - path: ./out - uses: git-clear - - as: update-image - config: - images: - - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - path: ./src/deploy/clusters/workload/projects/stage-bank-web/components/frontend - uses: kustomize-set-image - - config: - outPath: ./out/deploy/clusters/workload/projects/stage-bank-web/components/frontend/frontend.gen.yaml - path: ./src/deploy/clusters/workload/projects/stage-bank-web/components/frontend - uses: kustomize-build - - as: commit - config: - messageFromSteps: - - update-image - path: ./out - uses: git-commit - - config: - path: ./out - targetBranch: stage/stage - uses: git-push - - config: - apps: - - name: stage-bank-web-frontend - sources: - - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: argocd-update - requestedFreight: - - origin: - kind: Warehouse - name: frontend - sources: - direct: true ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: stage - app.holos.run/project.name: stage-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: stage-bank-web-frontend - name: frontend - namespace: stage-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml deleted file mode 100644 index 5c5f0a17..00000000 --- a/deploy/clusters/workload/projects/stage-bank-web/components/frontend/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: - - frontend.gen.yaml diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml deleted file mode 100644 index 0e4594bc..00000000 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/ledger-writer.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: ledger-writer - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-ledger-writer - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/workload/projects/test-bank-backend/components/ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml deleted file mode 100644 index 45cdfa81..00000000 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/transaction-history.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: transaction-history - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-transaction-history - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/workload/projects/test-bank-backend/components/transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml deleted file mode 100644 index 3f69c05d..00000000 --- a/deploy/clusters/workload/projects/test-bank-backend/gitops/userservice.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: userservice - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-backend - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: backend - name: test-bank-backend-userservice - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-backend - source: - path: deploy/clusters/workload/projects/test-bank-backend/components/userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml deleted file mode 100644 index 941b454a..00000000 --- a/deploy/clusters/workload/projects/test-bank-security/components/namespaces/namespaces.gen.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-backend - name: test-bank-backend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-frontend - name: test-bank-frontend ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-namespaces - kargo.akuity.io/project: "true" - kubernetes.io/metadata.name: test-bank-security - name: test-bank-security diff --git a/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml deleted file mode 100644 index 54aad895..00000000 --- a/deploy/clusters/workload/projects/test-bank-security/components/projects/projects.gen.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-backend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-frontend -spec: {} ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Project -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - argocd.argoproj.io/instance: test-bank-security-projects - name: test-bank-security -spec: {} diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml deleted file mode 100644 index cb141e7c..00000000 --- a/deploy/clusters/workload/projects/test-bank-security/gitops/namespaces.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: namespaces - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: test-bank-security-namespaces - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-security - source: - path: deploy/clusters/workload/projects/test-bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml deleted file mode 100644 index 11f16a9f..00000000 --- a/deploy/clusters/workload/projects/test-bank-security/gitops/projects.application.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: projects - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-security - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: security - name: test-bank-security-projects - namespace: argocd -spec: - destination: - server: https://kubernetes.default.svc - project: test-bank-security - source: - path: deploy/clusters/workload/projects/test-bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git - targetRevision: main diff --git a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml b/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml deleted file mode 100644 index e62f581f..00000000 --- a/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml +++ /dev/null @@ -1,384 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: bank-of-holos - namespace: test-bank-frontend ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: demo-data-config - namespace: test-bank-frontend ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: environment-config - namespace: test-bank-frontend ---- -apiVersion: v1 -data: - BALANCES_API_ADDR: balancereader.test-bank-backend.svc:8080 - CONTACTS_API_ADDR: contacts.test-bank-backend.svc:8080 - HISTORY_API_ADDR: transactionhistory.test-bank-backend.svc:8080 - TRANSACTIONS_API_ADDR: ledgerwriter.test-bank-backend.svc:8080 - USERSERVICE_API_ADDR: userservice.test-bank-backend.svc:8080 -kind: ConfigMap -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: service-api-config - namespace: test-bank-frontend ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-web-frontend - environment: test - team: frontend - tier: web - name: frontend - namespace: test-bank-frontend -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - selector: - app: frontend - application: bank-of-holos - environment: test - tier: web ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - application: bank-of-holos - argocd.argoproj.io/instance: test-bank-web-frontend - environment: test - team: frontend - tier: web - name: frontend - namespace: test-bank-frontend -spec: - selector: - matchLabels: - app: frontend - application: bank-of-holos - environment: test - template: - metadata: - labels: - app: frontend - application: bank-of-holos - environment: test - team: frontend - tier: web - spec: - containers: - - env: - - name: BANK_NAME - value: Bank of Holos - - name: ENV_PLATFORM - value: local - - name: VERSION - value: v0.6.5 - - name: PORT - value: "8080" - - name: ENABLE_TRACING - value: "false" - - name: SCHEME - value: https - - name: LOG_LEVEL - value: info - - name: DEFAULT_USERNAME - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_USERNAME - name: demo-data-config - - name: DEFAULT_PASSWORD - valueFrom: - configMapKeyRef: - key: DEMO_LOGIN_PASSWORD - name: demo-data-config - - name: REGISTERED_OAUTH_CLIENT_ID - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_CLIENT_ID - name: oauth-config - optional: true - - name: ALLOWED_OAUTH_REDIRECT_URI - valueFrom: - configMapKeyRef: - key: DEMO_OAUTH_REDIRECT_URI - name: oauth-config - optional: true - envFrom: - - configMapRef: - name: environment-config - - configMapRef: - name: service-api-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend:v0.6.5@sha256:d72050f70d12383e4434ad04d189b681dc625f696087ddf0b5df641645c9dafa - livenessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 60 - periodSeconds: 15 - timeoutSeconds: 30 - name: front - readinessProbe: - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 10 - resources: - limits: - cpu: 250m - memory: 128Mi - requests: - cpu: 100m - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - privileged: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp - name: tmp - - mountPath: /tmp/.ssh - name: publickey - readOnly: true - securityContext: - fsGroup: 1000 - runAsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - seccompProfile: - type: RuntimeDefault - serviceAccountName: bank-of-holos - terminationGracePeriodSeconds: 5 - volumes: - - emptyDir: {} - name: tmp - - name: publickey - secret: - items: - - key: jwtRS256.key.pub - path: publickey - secretName: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: jwt-key - namespace: test-bank-frontend -spec: - dataFrom: - - extract: - key: jwt-key - refreshInterval: 5s - secretStoreRef: - kind: SecretStore - name: test-bank-security - target: - name: jwt-key ---- -apiVersion: external-secrets.io/v1beta1 -kind: SecretStore -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: test-bank-security - namespace: test-bank-frontend -spec: - provider: - kubernetes: - auth: - serviceAccount: - name: bank-of-holos - remoteNamespace: test-bank-security - server: - caProvider: - key: ca.crt - name: kube-root-ca.crt - type: ConfigMap - url: https://kubernetes.default.svc ---- -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: ReferenceGrant -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: istio-ingress - namespace: test-bank-frontend -spec: - from: - - group: gateway.networking.k8s.io - kind: HTTPRoute - namespace: istio-ingress - to: - - group: "" - kind: Service ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Stage -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: test - namespace: test-bank-frontend -spec: - promotionTemplate: - spec: - steps: - - config: - checkout: - - branch: main - path: ./src - - branch: stage/test - path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: git-clone - - config: - path: ./out - uses: git-clear - - as: update-image - config: - images: - - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - path: ./src/deploy/clusters/workload/projects/test-bank-web/components/frontend - uses: kustomize-set-image - - config: - outPath: ./out/deploy/clusters/workload/projects/test-bank-web/components/frontend/frontend.gen.yaml - path: ./src/deploy/clusters/workload/projects/test-bank-web/components/frontend - uses: kustomize-build - - as: commit - config: - messageFromSteps: - - update-image - path: ./out - uses: git-commit - - config: - path: ./out - targetBranch: stage/test - uses: git-push - - config: - apps: - - name: test-bank-web-frontend - sources: - - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git - uses: argocd-update - requestedFreight: - - origin: - kind: Warehouse - name: frontend - sources: - direct: true ---- -apiVersion: kargo.akuity.io/v1alpha1 -kind: Warehouse -metadata: - labels: - app.holos.run/cluster.name: workload - app.holos.run/component.name: frontend - app.holos.run/environment.name: test - app.holos.run/project.name: test-bank-web - app.holos.run/stack.name: bank-of-holos - app.holos.run/team.name: frontend - argocd.argoproj.io/instance: test-bank-web-frontend - name: frontend - namespace: test-bank-frontend -spec: - interval: 5m0s - subscriptions: - - image: - discoveryLimit: 5 - repoURL: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend - semverConstraint: ^v0.6.5 - strictSemvers: true diff --git a/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml b/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml deleted file mode 100644 index 5c5f0a17..00000000 --- a/deploy/clusters/workload/projects/test-bank-web/components/frontend/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: - - frontend.gen.yaml diff --git a/environments.schema.cue b/environments.schema.cue index a3264768..d17567a7 100644 --- a/environments.schema.cue +++ b/environments.schema.cue @@ -2,9 +2,9 @@ package holos #Environment: { name: string - tier: "prod" | "nonprod" - jurisdiction: "us" | "eu" | "uk" | "global" - state: "oregon" | "ohio" | "germany" | "netherlands" | "england" | "global" + tier: string | "prod" | *"nonprod" + jurisdiction: string | *"us" | "eu" | "uk" | "global" + state: string | *"oregon" | "ohio" | "germany" | "netherlands" | "england" | "global" // Prod environment names must be prefixed with prod for clarity. if tier == "prod" { diff --git a/kargo.cue b/kargo.cue index 856d9c7a..cb683813 100644 --- a/kargo.cue +++ b/kargo.cue @@ -95,3 +95,4 @@ HTTPRoutes: kargo: _backendRefs: "kargo-api": namespace: Kargo.Namespace } } } +projects: {[CLUSTER=string]: [NAME=string]: metadata: name: NAME} diff --git a/projects.schema.cue b/projects.schema.cue index 5068da1d..b5f669b1 100644 --- a/projects.schema.cue +++ b/projects.schema.cue @@ -6,10 +6,12 @@ import "github.com/holos-run/holos/api/core/v1alpha5:core" // #Project represents a security boundary. #Project: { - name: string - team: string + name: string + team: string + // TODO: deprecate the singular environment, use environments instead. environment?: string stack?: string + environments: #Environments namespaces: #Namespaces components: #Components clusters: #Clusters diff --git a/projects/bank-backend/components/bank-accounts-db/bank-accounts-db.cue b/projects/bank-backend/components/bank-accounts-db/bank-accounts-db.cue index b89af43d..9dd6a395 100644 --- a/projects/bank-backend/components/bank-accounts-db/bank-accounts-db.cue +++ b/projects/bank-backend/components/bank-accounts-db/bank-accounts-db.cue @@ -8,7 +8,7 @@ let BackendNamespace = BankOfHolos.configuration.environments[EnvironmentName].b let CommonLabels = { application: BankName - environment: "development" + environment: EnvironmentName team: "accounts" tier: "db" } diff --git a/projects/bank-frontend/components/bank-frontend/kargo.cue b/projects/bank-frontend/components/bank-frontend/kargo.cue index 0192e016..13f8237c 100644 --- a/projects/bank-frontend/components/bank-frontend/kargo.cue +++ b/projects/bank-frontend/components/bank-frontend/kargo.cue @@ -3,13 +3,17 @@ package holos import ks "sigs.k8s.io/kustomize/api/types" -let IMAGE = "us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend" - Component: { Name: _ OutputBaseDir: _ _OutPath: "\(OutputBaseDir)/components/\(Name)" + _ArgoApplication: { + // metadata: annotations: "kargo.akuity.io/authorized-stage": "\(ProjectName):\(Name)" + metadata: annotations: "kargo.akuity.io/authorized-stage": "bank-security:\(Name)" + spec: source: targetRevision: "stage/\(EnvironmentName)" + } + // Write a kustomization.yaml to the deploy directory for Kargo to edit. Artifacts: kargoKustomization: { artifact: "\(_OutPath)/kustomization.yaml" @@ -22,92 +26,3 @@ Component: { }] } } - -Component: Resources: { - Warehouse: frontend: spec: { - subscriptions: [{ - image: { - repoURL: IMAGE - semverConstraint: "^v0.6.5" - discoveryLimit: 5 - } - }] - } - Stage: (EnvironmentName): spec: { - requestedFreight: [{ - origin: { - kind: "Warehouse" - name: Warehouse.frontend.metadata.name - } - sources: direct: true - }] - promotionTemplate: spec: { - let SRC = "./src" - let OUT = "./out" - steps: [ - { - uses: "git-clone" - config: { - repoURL: Organization.RepoURL - checkout: [ - { - branch: "main" - path: SRC - }, - { - branch: "stage/\(EnvironmentName)" - path: OUT - }, - ] - } - }, - { - uses: "git-clear" - config: path: OUT - }, - { - uses: "kustomize-set-image" - as: "update-image" - config: { - path: "\(SRC)/deploy/\(Component._OutPath)" - images: [{image: IMAGE}] - } - }, - { - uses: "kustomize-build" - config: { - path: "\(SRC)/deploy/\(Component._OutPath)" - outPath: "\(OUT)/deploy/\(Component._OutPath)/\(Component.Name).gen.yaml" - } - }, - { - uses: "git-commit" - as: "commit" - config: { - path: OUT - messageFromSteps: ["update-image"] - } - }, - { - uses: "git-push" - config: { - path: OUT - targetBranch: "stage/\(EnvironmentName)" - } - }, - { - uses: "argocd-update" - config: { - apps: [{ - name: Component._ArgoAppName - sources: [{ - repoURL: Organization.RepoURL - desiredCommitFromStep: "commit" - }] - }] - } - }, - ] - } - } -} diff --git a/projects/bank-frontend/components/stages/stages.cue b/projects/bank-frontend/components/stages/stages.cue deleted file mode 100644 index 9f5f7493..00000000 --- a/projects/bank-frontend/components/stages/stages.cue +++ /dev/null @@ -1,15 +0,0 @@ -package holos - -holos: Component.BuildPlan - -Component: #Kubernetes & { - // Look up the frontend namespace. - Namespace: BankOfHolos.configuration.environments[EnvironmentName].frontend.namespace - - // Ensure resources go in the correct namespace. - Resources: [_]: [_]: metadata: namespace: Namespace - - Resources: { - Project: - } -} diff --git a/projects/bank-security/components/stages/stages.cue b/projects/bank-security/components/stages/stages.cue new file mode 100644 index 00000000..cc543904 --- /dev/null +++ b/projects/bank-security/components/stages/stages.cue @@ -0,0 +1,117 @@ +@if(!NoKargo && !NoArgoRollouts && !NoArgoCD) +package holos + +let IMAGE = "us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend" + +holos: Component.BuildPlan + +Component: #Kubernetes & { + Name: _ + OutputBaseDir: _ + _OutPath: "\(OutputBaseDir)/components/\(Name)" + + Resources: { + [_]: [_]: metadata: namespace: ProjectName + + Warehouse: frontend: { + spec: { + subscriptions: [{ + image: { + repoURL: IMAGE + semverConstraint: "^v0.6.5" + discoveryLimit: 5 + } + }] + } + } + + for ENV in BankOfHolos.Environments { + // TODO: Ideally this would be unified with the bank-frontend component + // parameters. + let FrontendName = "\(ENV.name)-frontend" + let OutPath = "deploy/clusters/\(ClusterName)/projects/bank-web/components/\(FrontendName)" + + Stage: (FrontendName): { + spec: { + requestedFreight: [{ + origin: { + kind: "Warehouse" + name: Warehouse.frontend.metadata.name + } + sources: direct: true + }] + promotionTemplate: spec: { + let SRC = "./src" + let OUT = "./out" + steps: [ + { + uses: "git-clone" + config: { + repoURL: Organization.RepoURL + checkout: [ + { + branch: "main" + path: SRC + }, + { + branch: "stage/\(ENV.name)" + path: OUT + }, + ] + } + }, + { + uses: "git-clear" + config: path: OUT + }, + { + uses: "kustomize-set-image" + as: "update-image" + config: { + // TODO: Pick up replacing component name in the path with the + // path to the frontend artifact. + path: "\(SRC)/\(OutPath)" + images: [{image: IMAGE}] + } + }, + { + uses: "kustomize-build" + config: { + path: "\(SRC)/\(OutPath)" + outPath: "\(OUT)/\(OutPath)/\(FrontendName).gen.yaml" + } + }, + { + uses: "git-commit" + as: "commit" + config: { + path: OUT + messageFromSteps: ["update-image"] + } + }, + { + uses: "git-push" + config: { + path: OUT + targetBranch: "stage/\(ENV.name)" + } + }, + { + uses: "argocd-update" + config: { + apps: [{ + name: "bank-web-\(FrontendName)" + sources: [{ + repoURL: Organization.RepoURL + desiredCommitFromStep: "commit" + }] + }] + } + }, + ] + } + } + } + } + } +} diff --git a/scripts/apply b/scripts/apply index bca27495..8ddd6163 100755 --- a/scripts/apply +++ b/scripts/apply @@ -12,7 +12,7 @@ apply() { find "deploy/clusters/${cluster}" -name "${file}" \ | xargs -S1024 -I% -n1 bash -c 'test -s % && echo % || true' \ - | xargs -S1024 -I% -n1 kubectl apply --server-side=true -f % + | xargs -S1024 -I% -n1 kubectl apply --force-conflicts --server-side=true -f % } applyDir() { @@ -20,7 +20,7 @@ applyDir() { local cluster="${2:-workload}" find "deploy/clusters/${cluster}" -type d -name "${dir}" \ - | xargs -I% -n1 kubectl apply --server-side=true -f % + | xargs -I% -n1 kubectl apply --force-conflicts --server-side=true -f % } # Namespaces first @@ -51,22 +51,23 @@ fi apply argocd apply app-projects apply rollouts + # Kargo kubectl wait --for=condition=Available deployment/external-secrets-webhook -n external-secrets --timeout=300s apply kargo-secrets apply kargo # includes crds -apply projects # Istio apply istio-base apply istiod apply istio-cni +apply istio-ztunnel +apply istio-gateway + if ! kubectl wait --for=condition=Ready pod -l k8s-app=istio-cni-node --timeout=300s -n istio-system; then echo 'istio-cni-node not ready' >&2 exit 1 fi -apply istio-ztunnel -apply istio-gateway # Routes should be accepted, but all backends aren't valid yet. apply httproutes @@ -75,24 +76,47 @@ applyDir gitops ## Bank of Holos # Generate the private-key in-cluster. -apply "secrets" +for env in dev test stage prod; do + apply "${env}-secrets" +done for env in dev test stage prod; do kubectl wait --for=condition=complete job.batch/jwt-key-writer -n "${env}-bank-security" --timeout=300s done -# Bank Config -apply config -# Bank Databases -apply accounts-db -apply ledger-db - -# Bank Backend Services -apply contacts -apply balance-reader -apply userservice -apply ledger-writer -apply transaction-history - -# Bank Web Frontend -apply frontend + +for env in dev test stage prod; do + # Bank Config + apply "${env}-bank-backend-config" + + # Bank Databases + apply "${env}-accounts-db" + apply "${env}-ledger-db" + + # Bank Backend Services + apply "${env}-contacts" + apply "${env}-balance-reader" + apply "${env}-userservice" + apply "${env}-ledger-writer" + apply "${env}-transaction-history" + + # Bank Web Frontend + apply "${env}-frontend" +done + +# Kargo Projects. They need the webhook but we don't need them until later. +kubectl wait --for=condition=Available deployment/kargo-webhooks-server -n kargo --timeout=300s +apply projects +apply stages + +set +x +echo +echo "httproutes:" +echo " - https://kargo.holos.localhost" +echo " - https://argocd.holos.localhost" +echo " - https://bank.holos.localhost" +echo +echo "Kargo admin password:" +echo " run: kubectl get secret -n kargo admin-credentials -o json | jq --exit-status -r '.data.password | @base64d'" +echo +set -x exit 0 diff --git a/scripts/full-reset b/scripts/full-reset new file mode 100755 index 00000000..bb8efc87 --- /dev/null +++ b/scripts/full-reset @@ -0,0 +1,17 @@ +#! /bin/bash + +# Reset the cluster as described at +# https://holos.run/docs/guides/local-cluster/#reset-the-cluster + +# cd to the repository root +TOPLEVEL="$(cd $(dirname "$0") && git rev-parse --show-toplevel)" +cd "$TOPLEVEL" + +set -xeuo pipefail + +git rm -rf deploy +rm -rf deploy +time holos render platform -t $USER +git add deploy +./scripts/reset-cluster +./scripts/apply From 9ee2fe156d618649b462c08ee6508579822360db Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Thu, 5 Dec 2024 08:45:54 -0800 Subject: [PATCH 8/8] switch to holos-run --- .../gitops/app-projects.application.gen.yaml | 2 +- .../gitops/argocd-crds.application.gen.yaml | 2 +- .../argocd/gitops/argocd.application.gen.yaml | 2 +- .../gitops/kargo-secrets.application.gen.yaml | 2 +- .../argocd/gitops/kargo.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/rollouts-crds.application.gen.yaml | 2 +- .../argocd/gitops/rollouts.application.gen.yaml | 2 +- .../gitops/gateway-api.application.gen.yaml | 2 +- .../gitops/httproutes.application.gen.yaml | 2 +- .../gitops/istio-base.application.gen.yaml | 2 +- .../gitops/istio-cni.application.gen.yaml | 2 +- .../gitops/istio-gateway.application.gen.yaml | 2 +- .../gitops/istio-ztunnel.application.gen.yaml | 2 +- .../network/gitops/istiod.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/cert-manager.application.gen.yaml | 2 +- .../external-secrets-crds.application.gen.yaml | 2 +- .../gitops/external-secrets.application.gen.yaml | 2 +- .../gitops/local-ca.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/app-projects.application.gen.yaml | 2 +- .../gitops/argocd-crds.application.gen.yaml | 2 +- .../argocd/gitops/argocd.application.gen.yaml | 2 +- .../gitops/kargo-secrets.application.gen.yaml | 2 +- .../argocd/gitops/kargo.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/rollouts-crds.application.gen.yaml | 2 +- .../argocd/gitops/rollouts.application.gen.yaml | 2 +- .../gitops/dev-accounts-db.application.gen.yaml | 2 +- .../dev-balance-reader.application.gen.yaml | 2 +- .../dev-bank-backend-config.application.gen.yaml | 2 +- .../gitops/dev-contacts.application.gen.yaml | 2 +- .../gitops/dev-ledger-db.application.gen.yaml | 2 +- .../dev-ledger-writer.application.gen.yaml | 2 +- .../dev-transaction-history.application.gen.yaml | 2 +- .../gitops/dev-userservice.application.gen.yaml | 2 +- .../gitops/prod-accounts-db.application.gen.yaml | 2 +- .../prod-balance-reader.application.gen.yaml | 2 +- ...prod-bank-backend-config.application.gen.yaml | 2 +- .../gitops/prod-contacts.application.gen.yaml | 2 +- .../gitops/prod-ledger-db.application.gen.yaml | 2 +- .../prod-ledger-writer.application.gen.yaml | 2 +- ...prod-transaction-history.application.gen.yaml | 2 +- .../gitops/prod-userservice.application.gen.yaml | 2 +- .../stage-accounts-db.application.gen.yaml | 2 +- .../stage-balance-reader.application.gen.yaml | 2 +- ...tage-bank-backend-config.application.gen.yaml | 2 +- .../gitops/stage-contacts.application.gen.yaml | 2 +- .../gitops/stage-ledger-db.application.gen.yaml | 2 +- .../stage-ledger-writer.application.gen.yaml | 2 +- ...tage-transaction-history.application.gen.yaml | 2 +- .../stage-userservice.application.gen.yaml | 2 +- .../gitops/test-accounts-db.application.gen.yaml | 2 +- .../test-balance-reader.application.gen.yaml | 2 +- ...test-bank-backend-config.application.gen.yaml | 2 +- .../gitops/test-contacts.application.gen.yaml | 2 +- .../gitops/test-ledger-db.application.gen.yaml | 2 +- .../test-ledger-writer.application.gen.yaml | 2 +- ...test-transaction-history.application.gen.yaml | 2 +- .../gitops/test-userservice.application.gen.yaml | 2 +- .../components/stages/stages.gen.yaml | 16 ++++++++-------- .../gitops/dev-secrets.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/prod-secrets.application.gen.yaml | 2 +- .../gitops/projects.application.gen.yaml | 2 +- .../gitops/stage-secrets.application.gen.yaml | 2 +- .../gitops/stages.application.gen.yaml | 2 +- .../gitops/test-secrets.application.gen.yaml | 2 +- .../gitops/dev-frontend.application.gen.yaml | 2 +- .../gitops/prod-frontend.application.gen.yaml | 2 +- .../gitops/stage-frontend.application.gen.yaml | 2 +- .../gitops/test-frontend.application.gen.yaml | 2 +- .../gitops/gateway-api.application.gen.yaml | 2 +- .../gitops/httproutes.application.gen.yaml | 2 +- .../gitops/istio-base.application.gen.yaml | 2 +- .../gitops/istio-cni.application.gen.yaml | 2 +- .../gitops/istio-gateway.application.gen.yaml | 2 +- .../gitops/istio-ztunnel.application.gen.yaml | 2 +- .../network/gitops/istiod.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- .../gitops/cert-manager.application.gen.yaml | 2 +- .../external-secrets-crds.application.gen.yaml | 2 +- .../gitops/external-secrets.application.gen.yaml | 2 +- .../gitops/local-ca.application.gen.yaml | 2 +- .../gitops/namespaces.application.gen.yaml | 2 +- 86 files changed, 93 insertions(+), 93 deletions(-) diff --git a/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml index 514f08ff..e2caab69 100644 --- a/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/app-projects.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/app-projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml index 87baf56c..02c07d6f 100644 --- a/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/argocd-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/argocd-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml index 7cafad7f..4894ca4c 100644 --- a/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/argocd.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/argocd - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml index 207a5f07..e26258c0 100644 --- a/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/kargo-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/kargo-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml index 9e98f30d..adcbbe14 100644 --- a/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/kargo.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/kargo - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml index d892e6fe..d961c623 100644 --- a/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml index f193dda4..92a00eed 100644 --- a/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/rollouts-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/rollouts-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml b/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml index ca398ffc..2f8602e8 100644 --- a/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml +++ b/deploy/clusters/management/projects/argocd/gitops/rollouts.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/management/projects/argocd/components/rollouts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml index 857a9f36..4fd83e1b 100644 --- a/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/gateway-api.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/gateway-api - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml index 78455d5e..4d00a67f 100644 --- a/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/httproutes.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/httproutes - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml index 6ff693db..f332e722 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-base.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-base - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml index 7661b77f..2bf4270e 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-cni.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-cni - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml index b5af5b67..d9203774 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-gateway.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-gateway - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml index 4a90151c..a629c8c7 100644 --- a/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istio-ztunnel.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istio-ztunnel - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml index 0cd0e75a..941c89ba 100644 --- a/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/istiod.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/istiod - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml index 1ee7d18b..e91357a3 100644 --- a/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/network/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/management/projects/network/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml index 3116588c..f5efb528 100644 --- a/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/cert-manager.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/cert-manager - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml index a7038807..a252e305 100644 --- a/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/external-secrets-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/external-secrets-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml index eaa8c491..4c920fcd 100644 --- a/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/external-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/external-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml index 732e895a..1bd1e3c2 100644 --- a/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/local-ca.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/local-ca - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml b/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml index 70623923..ed842c81 100644 --- a/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/management/projects/security/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/management/projects/security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml index 6e2cfbf3..9dc6ae78 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/app-projects.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/app-projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml index edc38c40..5f527731 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/argocd-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/argocd-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml index 9b67c100..ca220787 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/argocd.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/argocd - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml index 10e56c14..d3ae8ff6 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/kargo-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/kargo-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml index 880c261f..ef484a93 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/kargo.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/kargo - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml index 85af80d5..5a034ba0 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml index 7c73e079..54909e6e 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/rollouts-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/rollouts-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml b/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml index e05e86d6..9b92ff08 100644 --- a/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml +++ b/deploy/clusters/workload/projects/argocd/gitops/rollouts.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: argocd source: path: deploy/clusters/workload/projects/argocd/components/rollouts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml index f730771f..b7b99d58 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml index c067beb1..b42c2526 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml index 32bcc8f5..099e4584 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-bank-backend-config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-bank-backend-config - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml index 7adfc507..87b054d0 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml index 56092189..a5ecc20a 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml index a2723489..29d13316 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml index d215d0e4..6afc6a51 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml index 4551d6dc..72419289 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/dev-userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/dev-userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml index a7a01ce8..8d13e00a 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml index e04ab238..659dc3a9 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml index f2c2e653..60914016 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-bank-backend-config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-bank-backend-config - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml index 780ae92e..3c2332fb 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml index d6028618..616d770d 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml index 0bc4bbcf..e6e17458 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml index 6e54b8c1..11682740 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml index dca43cb1..b1e0362c 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/prod-userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/prod-userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml index db6cce0c..90f378b5 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml index 2ca1b761..dbf1ffb8 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml index 5b5009dd..7c142219 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-bank-backend-config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-bank-backend-config - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml index 6400718f..894882d6 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml index d0302a46..f728af6c 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml index e62a969b..9aec93e0 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml index 55f7ef86..630a30c1 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml index eff998d4..b9bf48f8 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/stage-userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/stage-userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml index c9bed6df..5187c0e3 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-accounts-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-accounts-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml index 8d5e0fa4..685ae157 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-balance-reader.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-balance-reader - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml index b27a3da3..bfeb577f 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-bank-backend-config.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-bank-backend-config - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml index 506542f5..61cf2ff1 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-contacts.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-contacts - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml index e61a757d..1179ec10 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-db.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-ledger-db - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml index f8e5c5b4..f5c0b48c 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-ledger-writer.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-ledger-writer - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml index ec0a0e20..8d27dfd2 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-transaction-history.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-transaction-history - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml b/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml index ce88ad5d..fec3c2b0 100644 --- a/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-backend/gitops/test-userservice.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-backend source: path: deploy/clusters/workload/projects/bank-backend/components/test-userservice - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml b/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml index 5595525b..e9a3e185 100644 --- a/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/components/stages/stages.gen.yaml @@ -20,7 +20,7 @@ spec: path: ./src - branch: stage/dev path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: git-clone - config: path: ./out @@ -50,7 +50,7 @@ spec: - name: bank-web-dev-frontend sources: - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: argocd-update requestedFreight: - origin: @@ -81,7 +81,7 @@ spec: path: ./src - branch: stage/prod path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: git-clone - config: path: ./out @@ -111,7 +111,7 @@ spec: - name: bank-web-prod-frontend sources: - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: argocd-update requestedFreight: - origin: @@ -142,7 +142,7 @@ spec: path: ./src - branch: stage/stage path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: git-clone - config: path: ./out @@ -172,7 +172,7 @@ spec: - name: bank-web-stage-frontend sources: - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: argocd-update requestedFreight: - origin: @@ -203,7 +203,7 @@ spec: path: ./src - branch: stage/test path: ./out - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: git-clone - config: path: ./out @@ -233,7 +233,7 @@ spec: - name: bank-web-test-frontend sources: - desiredCommitFromStep: commit - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git uses: argocd-update requestedFreight: - origin: diff --git a/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml index 22f4d000..e8d50f2b 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/dev-secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/dev-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml index dc89b90f..b327548c 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/namespaces.application.gen.yaml @@ -15,5 +15,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml index a4e469eb..eb24d86d 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/prod-secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/prod-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml index 118ba6f1..b9d87367 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/projects.application.gen.yaml @@ -15,5 +15,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/projects - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml index 3c70fc57..ea01f01f 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/stage-secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/stage-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml index c30d5c32..2124f600 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/stages.application.gen.yaml @@ -15,5 +15,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/stages - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml b/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml index f3990f89..71153d4c 100644 --- a/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-security/gitops/test-secrets.application.gen.yaml @@ -16,5 +16,5 @@ spec: project: bank-security source: path: deploy/clusters/workload/projects/bank-security/components/test-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml index acb7c158..adf64970 100644 --- a/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/dev-frontend.application.gen.yaml @@ -18,5 +18,5 @@ spec: project: bank-web source: path: deploy/clusters/workload/projects/bank-web/components/dev-frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: stage/dev diff --git a/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml index 067ec2d6..85197e4a 100644 --- a/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/prod-frontend.application.gen.yaml @@ -18,5 +18,5 @@ spec: project: bank-web source: path: deploy/clusters/workload/projects/bank-web/components/prod-frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: stage/prod diff --git a/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml index 2ed35f82..2352c8b2 100644 --- a/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/stage-frontend.application.gen.yaml @@ -18,5 +18,5 @@ spec: project: bank-web source: path: deploy/clusters/workload/projects/bank-web/components/stage-frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: stage/stage diff --git a/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml b/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml index ceebbada..23c0e13b 100644 --- a/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml +++ b/deploy/clusters/workload/projects/bank-web/gitops/test-frontend.application.gen.yaml @@ -18,5 +18,5 @@ spec: project: bank-web source: path: deploy/clusters/workload/projects/bank-web/components/test-frontend - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: stage/test diff --git a/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml index 4d5ae972..e2baa2cb 100644 --- a/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/gateway-api.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/gateway-api - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml index 0912f1a7..e99bd935 100644 --- a/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/httproutes.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/httproutes - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml index 0aff0ecf..6ae980be 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-base.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-base - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml index 720553cd..77792b54 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-cni.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-cni - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml index 2aa8d112..99a4a8fc 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-gateway.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-gateway - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml index cace5c26..c4db282f 100644 --- a/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istio-ztunnel.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istio-ztunnel - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml index be6e7c9e..6ad507c1 100644 --- a/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/istiod.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/istiod - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml index 050f9e06..6c334d05 100644 --- a/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/network/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: network source: path: deploy/clusters/workload/projects/network/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml index 2562b12a..54dbb840 100644 --- a/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/cert-manager.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/cert-manager - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml index 194c828a..af5e357a 100644 --- a/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/external-secrets-crds.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/external-secrets-crds - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml index 7c43d03a..4ed95041 100644 --- a/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/external-secrets.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/external-secrets - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml index 87dde5c9..d5978b80 100644 --- a/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/local-ca.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/local-ca - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main diff --git a/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml b/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml index 0cabded3..98a85434 100644 --- a/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml +++ b/deploy/clusters/workload/projects/security/gitops/namespaces.application.gen.yaml @@ -14,5 +14,5 @@ spec: project: security source: path: deploy/clusters/workload/projects/security/components/namespaces - repoURL: https://github.com/jeffmccune/bank-of-holos.git + repoURL: https://github.com/holos-run/bank-of-holos.git targetRevision: main