infra4talos/apps-kustomized/newleaf/deploy.yaml

37 lines
758 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: newleaf
name: newleaf
spec:
replicas: 1
selector:
matchLabels:
app: newleaf
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: newleaf
spec:
containers:
- image: abeltramo/newleaf:97b7661
name: newleaf
resources: {}
volumeMounts:
- mountPath: /workdir/configuration.py
name: config
subPath: newleaf-configuration.py
volumes:
- configMap:
defaultMode: 420
items:
- key: newleaf-configuration.py
path: newleaf-configuration.py
name: newleaf
name: config
status: {}