Files
pv-controller/deployment/install-yml.tmpl
Wolfgang Hottgenroth 2842b3e4ec
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test ci 4
2025-12-05 13:16:36 +01:00

32 lines
687 B
Cheetah

apiVersion: apps/v1
kind: Deployment
metadata:
name: pv-controller
namespace: homea
labels:
app: pv-controller
spec:
replicas: 1
selector:
matchLabels:
app: pv-controller
template:
metadata:
labels:
app: pv-controller
spec:
containers:
- name: pv-controller
image: %IMAGE%
env:
- name: CFG_FILE
value: /config/config.yaml
volumeMounts:
- name: pv-controller-config
mountPath: /config/config.yaml
subPath: config.yaml
volumes:
- name: pv-controller-config
configMap:
name: pv-controller-config