roozeec/argocd-app-configpublic Fork 0
84bc7be
Commits
Clone
git clone https://git.rickub.com/roozeec/argocd-app-config.git
git clone ssh://git@rickub.com/roozeec/argocd-app-config.git

Initial commit

Nana Janashia committed 2021-10-10T17:41:24+02:00 Browse files
84bc7be parent: bdff5e1
deleted README.md +0 -2
deleted file mode 100644
@@ -1,2 +0,0 @@
1-# argocd-app-config
2-
deleted file mode 100644
@@ -1,2 +0,0 @@
1-# argocd-app-config
2-
added deployment.yaml +19 -0
new file mode 100644
@@ -0,0 +1,19 @@
1+apiVersion: apps/v1
2+kind: Deployment
3+metadata:
4+ name: myapp
5+spec:
6+ selector:
7+ matchLabels:
8+ app: myapp
9+ replicas: 2
10+ template:
11+ metadata:
12+ labels:
13+ app: myapp
14+ spec:
15+ containers:
16+ - name: myapp
17+ image: nanajanashia/argocd-app:1.0
18+ ports:
19+ - containerPort: 8080
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
1+apiVersion: apps/v1
2+kind: Deployment
3+metadata:
4+ name: myapp
5+spec:
6+ selector:
7+ matchLabels:
8+ app: myapp
9+ replicas: 2
10+ template:
11+ metadata:
12+ labels:
13+ app: myapp
14+ spec:
15+ containers:
16+ - name: myapp
17+ image: nanajanashia/argocd-app:1.0
18+ ports:
19+ - containerPort: 8080
\ No newline at end of file\ No newline at end of file
added service.yaml +12 -0
new file mode 100644
@@ -0,0 +1,12 @@
1+apiVersion: v1
2+kind: Service
3+metadata:
4+ name: myapp
5+spec:
6+ selector:
7+ app: myapp
8+ ports:
9+ - port: 8080
10+ protocol: TCP
11+ targetPort: 8080
12+
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,12 @@
1+apiVersion: v1
2+kind: Service
3+metadata:
4+ name: myapp
5+spec:
6+ selector:
7+ app: myapp
8+ ports:
9+ - port: 8080
10+ protocol: TCP
11+ targetPort: 8080
12+
\ No newline at end of file\ No newline at end of file