tekton for the masses
This commit is contained in:
@@ -20,6 +20,7 @@ spec:
|
||||
containers:
|
||||
- name: hassio
|
||||
image: "homeassistant/home-assistant:latest"
|
||||
#image: "homeassistant/aarch64-hassio-supervisor:latest"
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: TZ
|
||||
@@ -46,10 +47,25 @@ spec:
|
||||
# limits:
|
||||
# memory: "1000Mi"
|
||||
# cpu: "500m"
|
||||
- name: configurator
|
||||
image: "causticlab/hass-configurator-docker:arm"
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: adm
|
||||
containerPort: 3218
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: hassio-storage
|
||||
mountPath: /hass-config
|
||||
- name: hassio-conf-storage
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: hassio-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: hassio-storage
|
||||
- name: hassio-conf-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: hassio-configurator
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
@@ -66,6 +82,20 @@ spec:
|
||||
storage: 20Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: hassio-configurator
|
||||
labels:
|
||||
app: hassio
|
||||
spec:
|
||||
storageClassName: nfs-ssd
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hassio
|
||||
@@ -82,6 +112,23 @@ spec:
|
||||
app: hassio
|
||||
release: latest
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hassio-conf
|
||||
labels:
|
||||
app: hassio
|
||||
release: latest
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: adm
|
||||
protocol: TCP
|
||||
name: adm
|
||||
selector:
|
||||
app: hassio
|
||||
release: latest
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
@@ -93,4 +140,10 @@ spec:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: hassio
|
||||
servicePort: http
|
||||
servicePort: http
|
||||
- host: hassio-conf.lan
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: hassio-conf
|
||||
servicePort: adm
|
||||
Reference in New Issue
Block a user