Skip to content

Commit 193e3f6

Browse files
committed
Revert "chore: cleaning up the repository"
This reverts commit c053333.
1 parent c053333 commit 193e3f6

12 files changed

+1539
-18
lines changed

.nodeshift/credentials-secret.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: "v1"
2+
kind: "Secret"
3+
metadata:
4+
name: "my-database-secret"
5+
stringData:
6+
user: "luke"
7+
password: "secret"

.nodeshift/deployment.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
spec:
2+
template:
3+
spec:
4+
containers:
5+
- env:
6+
- name: DB_USERNAME
7+
valueFrom:
8+
secretKeyRef:
9+
name: my-database-secret
10+
key: user
11+
- name: DB_PASSWORD
12+
valueFrom:
13+
secretKeyRef:
14+
name: my-database-secret
15+
key: password
16+
readinessProbe:
17+
httpGet:
18+
path: /ready
19+
port: 8080
20+
scheme: HTTP
21+
failureThreshold: 3
22+
initialDelaySeconds: 10
23+
periodSeconds: 5
24+
successThreshold: 1
25+
timeoutSeconds: 1
26+
livenessProbe:
27+
httpGet:
28+
path: /live
29+
port: 8080
30+
scheme: HTTP
31+
failureThreshold: 2
32+
initialDelaySeconds: 60
33+
periodSeconds: 3
34+
successThreshold: 1
35+
timeoutSeconds: 1

.nodeshift/route.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
spec:
2+
port:
3+
targetPort: 8080
4+
to:
5+
kind: Service

0 commit comments

Comments
 (0)