infra4talos/apps-kustomized/cloudtube/deploy.yaml

43 lines
928 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: cloudtube
name: cloudtube
spec:
replicas: 1
selector:
matchLabels:
app: cloudtube
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: cloudtube
spec:
containers:
- image: abeltramo/cloudtube:efcef9b
imagePullPolicy: Always
name: cloudtube
resources: {}
volumeMounts:
- mountPath: /workdir/db
name: db
- mountPath: /workdir/config/config.js
name: config
subPath: cloudtube.config.js
volumes:
- configMap:
defaultMode: 420
items:
- key: cloudtube.config.js
path: cloudtube.config.js
name: cloudtube
name: config
- name: db
persistentVolumeClaim:
claimName: cloudtube-db-data
status: {}