Wolfgang Hottgenroth 02a8f5baa5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add port
2024-11-11 23:00:18 +01:00

46 lines
949 B
YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: zigbee2mqtt
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-client
resources:
requests:
storage: 10Mi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: zigbee2mqtt
annotations:
configmap.reloader.stakater.com/reload: "zigbee2mqtt-config"
spec:
replicas: 1
selector:
matchLabels:
app: zigbee2mqtt
template:
metadata:
labels:
app: zigbee2mqtt
spec:
containers:
- name: zigbee2mqtt
image: koenkk/zigbee2mqtt:1.41.0
volumeMounts:
- mountPath: /app/data
name: zigbee2mqtt
envFrom:
- configMapRef:
name: zigbee2mqtt-config
ports:
- containerPort: 8080
protocol: TCP
volumes:
- name: zigbee2mqtt
persistentVolumeClaim:
claimName: zigbee2mqtt