infra4talos/apps-kustomized/cloudtube/deploy.yaml

42 lines
896 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:59266a6
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: {}