-
Notifications
You must be signed in to change notification settings - Fork 8
/
deployment.yaml
51 lines (51 loc) · 1.29 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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations: {}
labels:
app: modix-translator-bot
name: modix-translator-bot
namespace: csharp
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 0
selector:
matchLabels:
app: modix-translator-bot
strategy:
type: Recreate
template:
metadata:
labels:
app: modix-translator-bot
spec:
automountServiceAccountToken: false
containers:
- env:
- name: COREHOST_TRACE
value: "0"
- name: BOT_DISCORDTOKEN
valueFrom:
secretKeyRef:
key: discord-bot-token
name: modix
- name: BOT_AZURETRANSLATIONKEY
valueFrom:
secretKeyRef:
key: azure-translation-service-key
name: modix
image: cisien/modix-translator:latest
imagePullPolicy: Always
name: modix-translator
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
nodeSelector:
beta.kubernetes.io/os: linux
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
shareProcessNamespace: true
terminationGracePeriodSeconds: 30