-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
126 lines (126 loc) · 3.33 KB
/
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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nameless-api
name: nameless-api
namespace: default
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: nameless-api
strategy:
rollingUpdate:
maxSurge: 100%
maxUnavailable: 100%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: nameless-api
spec:
containers:
- name: nameless-api
image: us-east4-docker.pkg.dev/ageless-domain-360522/nameless/nameless-api
env:
- name: DB_URL
valueFrom:
secretKeyRef:
name: dev-secret-map
key: dburl
- name: EVM_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: dev-secret-map
key: EVM_PRIVATE_KEY
- name: EVM_PUBLIC_KEY
valueFrom:
secretKeyRef:
name: dev-secret-map
key: EVM_PUBLIC_KEY
- name: APTOS_PUBLIC_KEY
valueFrom:
secretKeyRef:
name: dev-secret-map
key: APTOS_PUBLIC_KEY
- name: APTOS_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: dev-secret-map
key: APTOS_PRIVATE_KEY
- name: APTOS_CHAIN
valueFrom:
secretKeyRef:
name: dev-secret-map
key: APTOS_CHAIN
- name: THIRDWEB_SECRET_KEY
valueFrom:
secretKeyRef:
name: dev-secret-map
key: thirdwebSecret
- name: THIRDWEB_CLIENT
valueFrom:
secretKeyRef:
name: dev-secret-map
key: thirdwebClient
- name: MAILCHIMP_API
valueFrom:
secretKeyRef:
name: dev-secret-map
key: mailchimpToken
- name: SHOPIFY_PK
valueFrom:
secretKeyRef:
name: dev-secret-map
key: shopify
- name: STRIPE_SK
valueFrom:
secretKeyRef:
name: dev-secret-map
key: stripeSK
- name: TWILIO_AUTH_TOKEN
valueFrom:
secretKeyRef:
name: dev-secret-map
key: twilioAuthKey
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: dev-secret-map
key: jwtSecret
- name: ENV
valueFrom:
secretKeyRef:
name: dev-secret-map
key: env
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
ephemeral-storage: 1Gi
memory: 2Gi
requests:
cpu: 500m
ephemeral-storage: 1Gi
memory: 2Gi
securityContext:
capabilities:
drop:
- NET_RAW
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
seccompProfile:
type: RuntimeDefault
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: kubernetes.io/arch
operator: Equal
value: amd64