I do not like multi-document yaml, not at all.

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2024-10-08 15:37:38 +00:00
parent 5e681f24c9
commit ed42a65408
3 changed files with 5 additions and 25 deletions

View File

@ -1,26 +1,3 @@
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: zigbee2mqtt
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: zigbee2mqtt
app.kubernetes.io/version: 1.19.1
helm.sh/chart: zigbee2mqtt-9.4.2
name: zigbee2mqtt
namespace: zigbee2mqtt
spec:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/instance: zigbee2mqtt
app.kubernetes.io/name: zigbee2mqtt
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@ -5,5 +5,6 @@ namespace: zigbee2mqtt
resources:
- namespace.yaml
- configmap.yaml
- zigbee2mqtt.yaml
- deploy.yaml
- pvc.yaml
- svc.yaml

View File

@ -12,7 +12,9 @@ metadata:
name: zigbee2mqtt
spec:
ports:
- port: 8080
- port: 80
targetPort: 8080
selector:
app.kubernetes.io/instance: zigbee2mqtt
app.kubernetes.io/name: zigbee2mqtt
type: LoadBalancer