diff --git a/gitops/home-assistant/application.yaml b/gitops/home-assistant/application.yaml new file mode 100644 index 0000000..6d52607 --- /dev/null +++ b/gitops/home-assistant/application.yaml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: home-assistant + namespace: argocd +spec: + project: default + + destination: + server: https://kubernetes.default.svc + namespace: ha + + sources: + # Chart Helm + - repoURL: https://k8s-at-home.com/charts/ + chart: home-assistant + targetRevision: 13.4.2 + helm: + valueFiles: + - $values/gitops/home-assistant/values.yaml + + # Twoje repo Git (values) + - repoURL: http://192.168.50.100:8080/git/root/Argocd.git + targetRevision: master + ref: values + + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/gitops/home-assistant/application.yaml b/gitops/home-assistant/application.yaml new file mode 100644 index 0000000..6d52607 --- /dev/null +++ b/gitops/home-assistant/application.yaml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: home-assistant + namespace: argocd +spec: + project: default + + destination: + server: https://kubernetes.default.svc + namespace: ha + + sources: + # Chart Helm + - repoURL: https://k8s-at-home.com/charts/ + chart: home-assistant + targetRevision: 13.4.2 + helm: + valueFiles: + - $values/gitops/home-assistant/values.yaml + + # Twoje repo Git (values) + - repoURL: http://192.168.50.100:8080/git/root/Argocd.git + targetRevision: master + ref: values + + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/gitops/home-assistant/values.yaml b/gitops/home-assistant/values.yaml new file mode 100644 index 0000000..d3901f8 --- /dev/null +++ b/gitops/home-assistant/values.yaml @@ -0,0 +1,22 @@ +image: + repository: homeassistant/home-assistant + tag: stable + +env: + TZ: Europe/Warsaw + +service: + main: + ports: + http: + port: 8123 + +persistence: + config: + enabled: true + mountPath: /config + size: 5Gi + +ingress: + main: + enabled: false