Restored by recreating
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

63 lines
1.5 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: kardbot
name: kardbot
namespace: karaokards
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
run: kardbot
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: kardbot
spec:
containers:
- image: imartyn/karaokardbot:0.0.3-linux-amd64
imagePullPolicy: IfNotPresent
name: kardbot
ports:
- name: web
containerPort: 5353
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/twitch/
name: oauth
- mountPath: /app/strings.json
name: extracards
subPath: strings.json
- mountPath: /data
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: oauth
secret:
defaultMode: 420
secretName: twitchoauth
- configMap:
defaultMode: 420
items:
- key: strings.json
path: strings.json
name: extracards
name: extracards
- name: data
persistentVolumeClaim:
claimName: kkard-data