I do not like multi-document yaml, not at all.
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
5e681f24c9
commit
ed42a65408
|
@ -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:
|
|
@ -5,5 +5,6 @@ namespace: zigbee2mqtt
|
|||
resources:
|
||||
- namespace.yaml
|
||||
- configmap.yaml
|
||||
- zigbee2mqtt.yaml
|
||||
- deploy.yaml
|
||||
- pvc.yaml
|
||||
- svc.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue