Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
📦 support thoth production deployment (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Harshad Reddy Nalla <[email protected]>
  • Loading branch information
harshad16 authored Dec 8, 2020
1 parent 50c33ca commit 1cbd649
Show file tree
Hide file tree
Showing 31 changed files with 616 additions and 0 deletions.
1 change: 1 addition & 0 deletions overlays/moc/thoth/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../base/thoth
- prod
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/core-backend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-core-backend
spec:
project: thoth
source:
path: core/overlays/cnv-prod/backend-prod
repoURL: "https://github.com/thoth-station/thoth-application.git"
targetRevision: master
destination:
namespace: thoth-backend-prod
server: "https://api.cnv.massopen.cloud:6443"
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/core-frontend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-core-frontend
spec:
project: thoth
source:
path: core/overlays/cnv-prod/frontend-prod
repoURL: "https://github.com/thoth-station/thoth-application.git"
targetRevision: master
destination:
namespace: thoth-frontend-prod
server: "https://api.cnv.massopen.cloud:6443"
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/core-graph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-core-graph
spec:
project: thoth
source:
path: core/overlays/cnv-prod/graph-prod
repoURL: "https://github.com/thoth-station/thoth-application.git"
targetRevision: master
destination:
namespace: thoth-graph-prod
server: "https://api.cnv.massopen.cloud:6443"
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/core-infra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-core-infra
spec:
project: thoth
source:
path: core/overlays/cnv-prod/infra-prod
repoURL: "https://github.com/thoth-station/thoth-application.git"
targetRevision: master
destination:
namespace: thoth-infra-prod
server: "https://api.cnv.massopen.cloud:6443"
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/core-middletier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-core-middletier
spec:
project: thoth
source:
path: core/overlays/cnv-prod/middletier-prod
repoURL: "https://github.com/thoth-station/thoth-application.git"
targetRevision: master
destination:
namespace: thoth-middletier-prod
server: "https://api.cnv.massopen.cloud:6443"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- Validate=false
23 changes: 23 additions & 0 deletions overlays/moc/thoth/prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- core-backend.yaml
- core-frontend.yaml
- core-graph.yaml
- core-infra.yaml
- core-middletier.yaml
- prod-thoth-adviser.yaml
- prod-thoth-amun-api.yaml
- prod-thoth-amun-inspection.yaml
- prod-thoth-chat-notification.yaml
- prod-thoth-cve-update.yaml
- prod-thoth-graph-refresh.yaml
- prod-thoth-graph-sync-backend.yaml
- prod-thoth-graph-sync-middletier.yaml
- prod-thoth-investigator.yaml
- prod-thoth-management-api.yaml
- prod-thoth-metrics-exporter.yaml
- prod-thoth-package-extract.yaml
- prod-thoth-security-indicators.yaml
- prod-thoth-solver.yaml
- prod-thoth-user-api.yaml
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-advise-reporter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-advise-reporter
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: advise-reporter/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-infra-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-adviser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-adviser
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: adviser/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-backend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-amun-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-amun-api
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: amun/overlays/cnv-prod/amun-api
targetRevision: HEAD
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-amun-api-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-amun-inspection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-amun-inspection
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: amun/overlays/cnv-prod/amun-inspection
targetRevision: HEAD
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-amun-inspection-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-chat-notification.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-chat-notification
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: chat-notification/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-infra-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-cve-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-cve-update
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: cve-update/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-frontend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-graph-backup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-graph-backup
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: graph-backup-job/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-frontend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-graph-refresh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-graph-refresh
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: graph-refresh/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-frontend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
26 changes: 26 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-graph-sync-backend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-graph-sync-backend
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: graph-sync/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-backend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
ignoreDifferences:
- group: template.openshift.io
kind: Template
name: graph-sync-job
jsonPointers:
- /metadata/labels
26 changes: 26 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-graph-sync-middletier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-graph-sync-middletier
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: graph-sync/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-middletier-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
ignoreDifferences:
- group: template.openshift.io
kind: Template
name: graph-sync-job
jsonPointers:
- /metadata/labels
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-investigator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-investigator
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: investigator/overlays/cnv-prod
targetRevision: HEAD
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-infra-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
20 changes: 20 additions & 0 deletions overlays/moc/thoth/prod/prod-thoth-kebechet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-thoth-kebechet
spec:
project: thoth
source:
repoURL: "https://github.com/thoth-station/thoth-application.git"
path: kebechet/overlays/cnv-prod
targetRevision: master
destination:
server: "https://api.cnv.massopen.cloud:6443"
namespace: thoth-backend-prod
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- Validate=false
Loading

0 comments on commit 1cbd649

Please sign in to comment.