-
Notifications
You must be signed in to change notification settings - Fork 2
/
deployment.yaml
41 lines (41 loc) · 913 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apiVersion: apps/v1
kind: Deployment
metadata:
name: myturtle
namespace: app
spec:
replicas: 1
selector:
matchLabels:
app: myturtle
template:
metadata:
labels:
app: myturtle
spec:
containers:
- name: myturtle
image: ghcr.io/bboysoulcn/myturtle:0.0.1
imagePullPolicy: Always
env:
- name: DB_HOST
value: DB_HOST
- name: DB_PASSWORD
value: DB_PASSWORD
- name: DB_USER
value: DB_USER
- name: FEISHU_BOT_URL
value: FEISHU_BOT_URL
- name: FEISHU_SIGN
value: FEISHU_SIGN
- name: QUERY_TIME
value: QUERY_TIME
- name: TIME_RANGE
value: TIME_RANGE
volumeMounts:
- name: localtime
mountPath: /etc/localtime
volumes:
- name: localtime
hostPath:
path: /etc/localtime