Skip to content

Commit

Permalink
argocd: add redis and postgres
Browse files Browse the repository at this point in the history
Signed-off-by: Login Victor <batazor@evrone.com>
  • Loading branch information
batazor committed Sep 15, 2022
1 parent 78f5a0d commit 3a4b725
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 30 deletions.
29 changes: 29 additions & 0 deletions ops/argocd/infrastructure/postgresql/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgresql
namespace: argocd
spec:
project: shortlink
destination:
name: ''
namespace: postgresql
server: 'https://kubernetes.default.svc'
source:
path: ops/Helm/addons/store/postgresql
repoURL: 'https://github.com/batazor/shortlink'
targetRevision: HEAD
helm:
releaseName: postgresql
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 2
backoff:
duration: 10s
maxDuration: 3m0s
factor: 2
29 changes: 29 additions & 0 deletions ops/argocd/infrastructure/redis/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: redis
namespace: argocd
spec:
project: shortlink
destination:
name: ''
namespace: redis
server: 'https://kubernetes.default.svc'
source:
path: ops/Helm/addons/store/redis
repoURL: 'https://github.com/batazor/shortlink'
targetRevision: HEAD
helm:
releaseName: redis
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 2
backoff:
duration: 10s
maxDuration: 3m0s
factor: 2
28 changes: 0 additions & 28 deletions ops/gitlab/pipelines/addons/database.yml

This file was deleted.

2 changes: 0 additions & 2 deletions ops/gitlab/pipelines/helm_additional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ stages:
- monitoring
- gateway
- deploy
- database
- .post

0 comments on commit 3a4b725

Please sign in to comment.