mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-18 12:06:05 +00:00
home-assistant: deployed (kubernetes)
This commit is contained in:
13
kubernetes/home/home-assisant/kustomization.yaml
Normal file
13
kubernetes/home/home-assisant/kustomization.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: home-assistant
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- repository.yaml
|
||||
- release.yaml
|
||||
secretGenerator:
|
||||
- name: home-assistant-values
|
||||
files:
|
||||
- values.yaml=values.yaml
|
||||
configurations:
|
||||
- kustomizeconfig.yaml
|
||||
6
kubernetes/home/home-assisant/kustomizeconfig.yaml
Normal file
6
kubernetes/home/home-assisant/kustomizeconfig.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
nameReference:
|
||||
- kind: Secret
|
||||
version: v1
|
||||
fieldSpecs:
|
||||
- path: spec/valuesFrom/name
|
||||
kind: HelmRelease
|
||||
4
kubernetes/home/home-assisant/namespace.yaml
Normal file
4
kubernetes/home/home-assisant/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: home-assistant
|
||||
18
kubernetes/home/home-assisant/release.yaml
Normal file
18
kubernetes/home/home-assisant/release.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: home-assistant
|
||||
namespace: home-assistant
|
||||
spec:
|
||||
interval: 1m
|
||||
chart:
|
||||
spec:
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: home-assistant
|
||||
namespace: home-assistant
|
||||
chart: home-assistant
|
||||
interval: 1m
|
||||
valuesFrom:
|
||||
- kind: Secret
|
||||
name: home-assistant-values
|
||||
8
kubernetes/home/home-assisant/repository.yaml
Normal file
8
kubernetes/home/home-assisant/repository.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: home-assistant
|
||||
namespace: home-assistant
|
||||
spec:
|
||||
interval: 1m
|
||||
url: http://pajikos.github.io/home-assistant-helm-chart/
|
||||
16
kubernetes/home/home-assisant/values.yaml
Normal file
16
kubernetes/home/home-assisant/values.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
persistence:
|
||||
enabled: true
|
||||
ingress:
|
||||
enabled: true
|
||||
external: false
|
||||
hosts:
|
||||
- host: homeassistant-test.lan
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
configurations:
|
||||
trusted_proxies:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
- 127.0.0.0/8
|
||||
Reference in New Issue
Block a user