infra4talos/apps-kustomized/newleaf/deploy.yaml

41 lines
859 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
imagePullPolicy: Always
name: newleaf
resources:
requests:
cpu: 25m
memory: 1738144563
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: {}