karaokards-broken/deployments/kubernetes/deploy.yaml

73 lines
1.7 KiB
YAML
Raw Normal View History

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:devel
imagePullPolicy: IfNotPresent
name: kardbot
2020-02-14 10:42:38 +00:00
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: /app/config.json
name: config
subPath: config.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: kardconfig
name: extracards
- configMap:
defaultMode: 420
items:
- key: config.json
path: config.json
name: kardconfig
name: config
- name: data
persistentVolumeClaim:
claimName: kkard-data