Move hass to new namespace.

This commit is contained in:
Joseph Hanson 2024-04-15 06:40:14 -05:00
parent a4c8a08a2d
commit 5229e2122b
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
7 changed files with 19 additions and 3 deletions

View file

@ -6,7 +6,6 @@ resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations
- ./home-assistant/ks.yaml
- ./maintainerr/ks.yaml
- ./overseerr/ks.yaml
- ./prowlarr/ks.yaml

View file

@ -6,13 +6,13 @@ metadata:
name: &app home-assistant
namespace: flux-system
spec:
targetNamespace: default
targetNamespace: home-automation
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: external-secrets-stores
path: ./kubernetes/apps/default/home-assistant/app
path: ./kubernetes/apps/home-automation/home-assistant/app
prune: true
sourceRef:
kind: GitRepository

View file

@ -0,0 +1,9 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations
- ./home-assistant/ks.yaml

View file

@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: home-automation
labels:
kustomize.toolkit.fluxcd.io/prune: disabled
volsync.backube/privileged-movers: "true"