Skip to content

Commit 1ff6248

Browse files
committed
addition of the null bot
- moved null web to own directory - added null bot app - created null bot deployment files
1 parent 33e2c17 commit 1ff6248

16 files changed

+67
-3
lines changed

apps/null-bot-app.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: null-bot
5+
namespace: argocd
6+
spec:
7+
destination:
8+
name: in-cluster
9+
namespace: null-bot
10+
project: null-cloud
11+
source:
12+
path: deployments/null-bot/overlays/prod
13+
repoURL: https://github.com/null-channel/nullcloud-deployments/
14+
targetRevision: HEAD
15+
syncPolicy:
16+
automated:
17+
prune: true
18+
allowEmpty: true
19+
selfHeal: true

apps/null-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
namespace: web
1010
project: null-cloud
1111
source:
12-
path: deployments/null-web/overlays/production
12+
path: deployments/null-web/overlays/prod
1313
repoURL: https://github.com/null-channel/nullcloud-deployments/
1414
targetRevision: HEAD
1515
syncPolicy:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
kind: Namespace
3+
apiVersion: v1
4+
metadata:
5+
name: null-bot
6+
labels:
7+
name: null-bot
8+
---
9+
apiVersion: apps/v1
10+
kind: Deployment
11+
metadata:
12+
name: null-bot
13+
namespace: null-bot
14+
spec:
15+
selector:
16+
matchLabels:
17+
app: null-bot
18+
template:
19+
metadata:
20+
labels:
21+
app: null-bot
22+
spec:
23+
containers:
24+
- name: null-bot
25+
image: nullchannel/null-bot:f2a21af21bb788422884119ee57f2a3f27bdc3c6
26+
resources:
27+
limits:
28+
memory: "128Mi"
29+
cpu: "500m"
30+
ports:
31+
- containerPort: 3000
32+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- deployment.yaml
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ../../base/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ../../base/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ../../null-web
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
resources:
2+
- ../../null-web
3+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ../../base/overlays/dev/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ../../base/overlays/prod/

deployments/null-web/overlays/production/kustomization.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)