-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8s.yaml
87 lines (87 loc) · 2.68 KB
/
k8s.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apiVersion: apps/v1
kind: Deployment
metadata:
name: tg-core-service
namespace: backend-server
spec:
selector:
matchLabels:
app: tg-core-service
replicas: 2
template:
metadata:
labels:
app: tg-core-service
spec:
containers:
- name: tg-core-service
image: dopeteam/tg-core-service
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: KAKAO_CLIENT_ID
valueFrom:
configMapKeyRef:
name: core-service-config
key: KAKAO_CLIENT_ID
- name: KAKAO_REDIRECT_URI
valueFrom:
configMapKeyRef:
name: core-service-config
key: KAKAO_REDIRECT_URI
- name: KAKAO_API_URL_TOKEN
valueFrom:
configMapKeyRef:
name: core-service-config
key: KAKAO_API_URL_TOKEN
- name: KAKAO_API_URL_INFORMATION
valueFrom:
configMapKeyRef:
name: core-service-config
key: KAKAO_API_URL_INFORMATION
- name: S3_ACCESS_KEY
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_ACCESS_KEY
- name: S3_SECRET_KEY
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_SECRET_KEY
- name: S3_REGION_STATIC
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_REGION_STATIC
- name: S3_BUCKET
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_BUCKET
- name: S3_DIRECTORY_IMAGE
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_DIRECTORY_IMAGE
- name: S3_DIRECTORY_PROFILE
valueFrom:
configMapKeyRef:
name: core-service-config
key: S3_DIRECTORY_PROFILE
- name: DB_URL
valueFrom:
configMapKeyRef:
name: core-service-config
key: DB_URL
- name: DB_USERNAME
valueFrom:
configMapKeyRef:
name: core-service-config
key: DB_USERNAME
- name: DB_PASSWORD
valueFrom:
configMapKeyRef:
name: core-service-config
key: DB_PASSWORD