Initial DO workflow test

This commit is contained in:
Dustin Pianalto
2021-01-13 01:02:53 -09:00
parent b99a915fde
commit 3282d9bd1f
2 changed files with 53 additions and 34 deletions
+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prepbot
namespace: default
labels:
app: prepbot
spec:
replicas: 1
selector:
matchLabels:
app: prepbot
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 120
template:
metadata:
labels:
app: prepbot
spec:
containers:
- name: prepbot
image: <IMAGE>
env:
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: prepbot
key: discord_token