diff --git a/bootstrap/kustomizations/kustomization-letsencrypt-wildcard-cert.yaml b/bootstrap/apps/kustomization-baikal.yaml similarity index 78% rename from bootstrap/kustomizations/kustomization-letsencrypt-wildcard-cert.yaml rename to bootstrap/apps/kustomization-baikal.yaml index 84b642e..53a5fb6 100644 --- a/bootstrap/kustomizations/kustomization-letsencrypt-wildcard-cert.yaml +++ b/bootstrap/apps/kustomization-baikal.yaml @@ -1,15 +1,16 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: - name: letsencrypt-wildcard-cert + name: baikal namespace: flux-system spec: interval: 15m - path: ./letsencrypt-wildcard-cert - dependsOn: - - name: cert-manager + path: ./apps/baikal prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-calibre-web.yaml b/bootstrap/apps/kustomization-calibre-web.yaml similarity index 71% rename from bootstrap/kustomizations/kustomization-calibre-web.yaml rename to bootstrap/apps/kustomization-calibre-web.yaml index c083e43..385f847 100644 --- a/bootstrap/kustomizations/kustomization-calibre-web.yaml +++ b/bootstrap/apps/kustomization-calibre-web.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./calibre-web + path: ./apps/calibre-web prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: calibre-web - namespace: calibre-web + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-gitea.yaml b/bootstrap/apps/kustomization-gitea.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-gitea.yaml rename to bootstrap/apps/kustomization-gitea.yaml index 44b31bd..227475e 100644 --- a/bootstrap/kustomizations/kustomization-gitea.yaml +++ b/bootstrap/apps/kustomization-gitea.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./gitea + path: ./apps/gitea prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: gitea - namespace: gitea + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-hoarder.yaml b/bootstrap/apps/kustomization-hoarder.yaml similarity index 73% rename from bootstrap/kustomizations/kustomization-hoarder.yaml rename to bootstrap/apps/kustomization-hoarder.yaml index 880eb31..3c52062 100644 --- a/bootstrap/kustomizations/kustomization-hoarder.yaml +++ b/bootstrap/apps/kustomization-hoarder.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./hoarder + path: ./apps/hoarder prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: web - namespace: hoarder + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-homeassistant.yaml b/bootstrap/apps/kustomization-homeassistant.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-homeassistant.yaml rename to bootstrap/apps/kustomization-homeassistant.yaml index c7b3856..645d93c 100644 --- a/bootstrap/kustomizations/kustomization-homeassistant.yaml +++ b/bootstrap/apps/kustomization-homeassistant.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./homeassistant + path: ./apps/homeassistant prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: homeassistant - namespace: homeassistant + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-immich.yaml b/bootstrap/apps/kustomization-immich.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-immich.yaml rename to bootstrap/apps/kustomization-immich.yaml index d8b2ddc..56f0bf9 100644 --- a/bootstrap/kustomizations/kustomization-immich.yaml +++ b/bootstrap/apps/kustomization-immich.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./immich + path: ./apps/immich prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: immich - namespace: immich + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-baikal.yaml b/bootstrap/apps/kustomization-kube-prometheus-stack.yaml similarity index 69% rename from bootstrap/kustomizations/kustomization-baikal.yaml rename to bootstrap/apps/kustomization-kube-prometheus-stack.yaml index e8ba874..b29bbdf 100644 --- a/bootstrap/kustomizations/kustomization-baikal.yaml +++ b/bootstrap/apps/kustomization-kube-prometheus-stack.yaml @@ -1,18 +1,16 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: - name: baikal + name: kube-prometheus-stack namespace: flux-system spec: interval: 15m - path: ./baikal + path: ./apps/kube-prometheus-stack prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: baikal - namespace: baikal + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-media.yaml b/bootstrap/apps/kustomization-media.yaml similarity index 72% rename from bootstrap/kustomizations/kustomization-media.yaml rename to bootstrap/apps/kustomization-media.yaml index 6ce6c2e..3fea944 100644 --- a/bootstrap/kustomizations/kustomization-media.yaml +++ b/bootstrap/apps/kustomization-media.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./media + path: ./apps/media prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: qbittorrent - namespace: media + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-michaelthomson.yaml b/bootstrap/apps/kustomization-michaelthomson.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-michaelthomson.yaml rename to bootstrap/apps/kustomization-michaelthomson.yaml index c561727..d76d899 100644 --- a/bootstrap/kustomizations/kustomization-michaelthomson.yaml +++ b/bootstrap/apps/kustomization-michaelthomson.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./michaelthomson + path: ./apps/michaelthomson prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: michaelthomson - namespace: michaelthomson + dependsOn: + - name: infra-configs diff --git a/bootstrap/apps/kustomization-nextcloud.yaml b/bootstrap/apps/kustomization-nextcloud.yaml new file mode 100644 index 0000000..bf8e55a --- /dev/null +++ b/bootstrap/apps/kustomization-nextcloud.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: nextcloud + namespace: flux-system +spec: + interval: 15m + path: ./apps/nextcloud + prune: false # remove any elements later removed from the above path + wait: true + timeout: 2m # if not set, this defaults to interval duration, which is 1h + sourceRef: + kind: GitRepository + name: flux-system + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-pihole.yaml b/bootstrap/apps/kustomization-pihole.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-pihole.yaml rename to bootstrap/apps/kustomization-pihole.yaml index 00711be..6c20ee6 100644 --- a/bootstrap/kustomizations/kustomization-pihole.yaml +++ b/bootstrap/apps/kustomization-pihole.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./pihole + path: ./apps/pihole prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: pihole - namespace: pihole + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-plane.yaml b/bootstrap/apps/kustomization-plane.yaml similarity index 70% rename from bootstrap/kustomizations/kustomization-plane.yaml rename to bootstrap/apps/kustomization-plane.yaml index d456e67..583eb66 100644 --- a/bootstrap/kustomizations/kustomization-plane.yaml +++ b/bootstrap/apps/kustomization-plane.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./plane + path: ./apps/plane prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: plane - namespace: plane + dependsOn: + - name: infra-configs diff --git a/bootstrap/apps/kustomization-roundcube.yaml b/bootstrap/apps/kustomization-roundcube.yaml new file mode 100644 index 0000000..2d33d71 --- /dev/null +++ b/bootstrap/apps/kustomization-roundcube.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: roundcube + namespace: flux-system +spec: + interval: 15m + path: ./apps/roundcube + prune: false # remove any elements later removed from the above path + wait: true + timeout: 2m # if not set, this defaults to interval duration, which is 1h + sourceRef: + kind: GitRepository + name: flux-system + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-syncthing.yaml b/bootstrap/apps/kustomization-syncthing.yaml similarity index 71% rename from bootstrap/kustomizations/kustomization-syncthing.yaml rename to bootstrap/apps/kustomization-syncthing.yaml index 87fcd77..ae47971 100644 --- a/bootstrap/kustomizations/kustomization-syncthing.yaml +++ b/bootstrap/apps/kustomization-syncthing.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./syncthing + path: ./apps/syncthing prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: syncthing - namespace: syncthing + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-uptime-kuma.yaml b/bootstrap/apps/kustomization-uptime-kuma.yaml similarity index 71% rename from bootstrap/kustomizations/kustomization-uptime-kuma.yaml rename to bootstrap/apps/kustomization-uptime-kuma.yaml index d14c03a..391e200 100644 --- a/bootstrap/kustomizations/kustomization-uptime-kuma.yaml +++ b/bootstrap/apps/kustomization-uptime-kuma.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./uptime-kuma + path: ./apps/uptime-kuma prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: uptime-kuma - namespace: uptime-kuma + dependsOn: + - name: infra-configs diff --git a/bootstrap/apps/kustomization-vaultwarden.yaml b/bootstrap/apps/kustomization-vaultwarden.yaml new file mode 100644 index 0000000..5df1023 --- /dev/null +++ b/bootstrap/apps/kustomization-vaultwarden.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: vaultwarden + namespace: flux-system +spec: + interval: 15m + path: ./apps/vaultwarden + prune: false # remove any elements later removed from the above path + wait: true + timeout: 2m # if not set, this defaults to interval duration, which is 1h + sourceRef: + kind: GitRepository + name: flux-system + dependsOn: + - name: infra-configs diff --git a/bootstrap/kustomizations/kustomization-wg-easy.yaml b/bootstrap/apps/kustomization-wg-easy.yaml similarity index 72% rename from bootstrap/kustomizations/kustomization-wg-easy.yaml rename to bootstrap/apps/kustomization-wg-easy.yaml index 728b3ae..ba8c6eb 100644 --- a/bootstrap/kustomizations/kustomization-wg-easy.yaml +++ b/bootstrap/apps/kustomization-wg-easy.yaml @@ -5,14 +5,12 @@ metadata: namespace: flux-system spec: interval: 15m - path: ./wg-easy + path: ./apps/wg-easy prune: false # remove any elements later removed from the above path + wait: true timeout: 2m # if not set, this defaults to interval duration, which is 1h sourceRef: kind: GitRepository name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: wg-easy - namespace: wg-easy + dependsOn: + - name: infra-configs diff --git a/bootstrap/apps/kustomization-woodpecker.yaml b/bootstrap/apps/kustomization-woodpecker.yaml new file mode 100644 index 0000000..595f6bd --- /dev/null +++ b/bootstrap/apps/kustomization-woodpecker.yaml @@ -0,0 +1,16 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: woodpecker + namespace: flux-system +spec: + interval: 15m + path: ./apps/woodpecker + prune: false # remove any elements later removed from the above path + wait: true + timeout: 2m # if not set, this defaults to interval duration, which is 1h + sourceRef: + kind: GitRepository + name: flux-system + dependsOn: + - name: infra-configs diff --git a/bootstrap/infrastructure.yaml b/bootstrap/infrastructure/infra-configs.yaml similarity index 51% rename from bootstrap/infrastructure.yaml rename to bootstrap/infrastructure/infra-configs.yaml index 4199d88..abd9ede 100644 --- a/bootstrap/infrastructure.yaml +++ b/bootstrap/infrastructure/infra-configs.yaml @@ -1,20 +1,3 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: infra-controllers - namespace: flux-system -spec: - interval: 1h - retryInterval: 1m - timeout: 5m - sourceRef: - kind: GitRepository - name: flux-system - path: ./infrastructure/controllers - prune: true - wait: true ---- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: diff --git a/bootstrap/apps.yaml b/bootstrap/infrastructure/infra-controllers.yaml similarity index 62% rename from bootstrap/apps.yaml rename to bootstrap/infrastructure/infra-controllers.yaml index 0ac221e..19f22e8 100644 --- a/bootstrap/apps.yaml +++ b/bootstrap/infrastructure/infra-controllers.yaml @@ -1,16 +1,15 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: - name: apps + name: infra-controllers namespace: flux-system spec: - interval: 10m0s - dependsOn: - - name: infra-configs + interval: 1h + retryInterval: 1m + timeout: 5m sourceRef: kind: GitRepository name: flux-system - path: ./apps/production + path: ./infrastructure/controllers prune: true wait: true - timeout: 5m0s diff --git a/bootstrap/kustomizations/kustomization-cert-manager.yaml b/bootstrap/kustomizations/kustomization-cert-manager.yaml deleted file mode 100644 index a6526e4..0000000 --- a/bootstrap/kustomizations/kustomization-cert-manager.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cert-manager - namespace: flux-system -spec: - interval: 15m - path: ./cert-manager - dependsOn: - - name: external-dns - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: cert-manager - namespace: cert-manager diff --git a/bootstrap/kustomizations/kustomization-cnpg.yaml b/bootstrap/kustomizations/kustomization-cnpg.yaml deleted file mode 100644 index 98a17f1..0000000 --- a/bootstrap/kustomizations/kustomization-cnpg.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: cnpg - namespace: flux-system -spec: - interval: 15m - path: ./cnpg - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: cnpg - namespace: cnpg diff --git a/bootstrap/kustomizations/kustomization-external-dns.yaml b/bootstrap/kustomizations/kustomization-external-dns.yaml deleted file mode 100644 index 3bda427..0000000 --- a/bootstrap/kustomizations/kustomization-external-dns.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: external-dns - namespace: flux-system -spec: - interval: 30m - path: ./external-dns - dependsOn: - - name: sealed-secrets - prune: false # remove any elements later removed from the above path - timeout: 10m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: external-dns - namespace: external-dns diff --git a/bootstrap/kustomizations/kustomization-kube-prometheus-stack.yaml b/bootstrap/kustomizations/kustomization-kube-prometheus-stack.yaml deleted file mode 100644 index 4df6f5f..0000000 --- a/bootstrap/kustomizations/kustomization-kube-prometheus-stack.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: kube-prometheus-stack - namespace: flux-system -spec: - interval: 15m - path: ./kube-prometheus-stack - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: kube-prometheus-stack - namespace: kube-prometheus-stack diff --git a/bootstrap/kustomizations/kustomization-longhorn.yaml b/bootstrap/kustomizations/kustomization-longhorn.yaml deleted file mode 100644 index b57ae12..0000000 --- a/bootstrap/kustomizations/kustomization-longhorn.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: longhorn - namespace: flux-system -spec: - interval: 15m - path: ./longhorn - dependsOn: - - name: nfs-subdir-external-provisioner - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: longhorn - namespace: longhorn-system diff --git a/bootstrap/kustomizations/kustomization-metallb-config.yaml b/bootstrap/kustomizations/kustomization-metallb-config.yaml deleted file mode 100644 index 9b7b9ec..0000000 --- a/bootstrap/kustomizations/kustomization-metallb-config.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: metallb-config - namespace: flux-system -spec: - interval: 15m - dependsOn: - - name: metallb-system - path: ./metallb-config - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: metallb-controller - namespace: metallb-system diff --git a/bootstrap/kustomizations/kustomization-metallb-system.yaml b/bootstrap/kustomizations/kustomization-metallb-system.yaml deleted file mode 100644 index a2f390f..0000000 --- a/bootstrap/kustomizations/kustomization-metallb-system.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: metallb-system - namespace: flux-system -spec: - interval: 15m - path: ./metallb-system - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: metallb-controller - namespace: metallb-system diff --git a/bootstrap/kustomizations/kustomization-nextcloud.yaml b/bootstrap/kustomizations/kustomization-nextcloud.yaml deleted file mode 100644 index 0421f6a..0000000 --- a/bootstrap/kustomizations/kustomization-nextcloud.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: nextcloud - namespace: flux-system -spec: - interval: 15m - path: ./nextcloud - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: nextcloud - namespace: nextcloud diff --git a/bootstrap/kustomizations/kustomization-nfs-subdir-external-provisioner.yaml b/bootstrap/kustomizations/kustomization-nfs-subdir-external-provisioner.yaml deleted file mode 100644 index 36fe774..0000000 --- a/bootstrap/kustomizations/kustomization-nfs-subdir-external-provisioner.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: nfs-subdir-external-provisioner - namespace: flux-system -spec: - interval: 15m - path: ./nfs-subdir-external-provisioner - dependsOn: - - name: traefik - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: nfs-subdir-external-provisioner - namespace: nfs-subdir-external-provisioner diff --git a/bootstrap/kustomizations/kustomization-nvidia-device-plugin.yaml b/bootstrap/kustomizations/kustomization-nvidia-device-plugin.yaml deleted file mode 100644 index a5bdc02..0000000 --- a/bootstrap/kustomizations/kustomization-nvidia-device-plugin.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: nvidia-device-plugin - namespace: flux-system -spec: - interval: 15m - path: ./nvidia-device-plugin - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: nvidia-device-plugin - namespace: nvidia-device-plugin diff --git a/bootstrap/kustomizations/kustomization-reflector.yaml b/bootstrap/kustomizations/kustomization-reflector.yaml deleted file mode 100644 index f07b8ea..0000000 --- a/bootstrap/kustomizations/kustomization-reflector.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: reflector - namespace: flux-system -spec: - interval: 15m - path: ./reflector - dependsOn: - - name: letsencrypt-wildcard-cert - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: reflector - namespace: reflector diff --git a/bootstrap/kustomizations/kustomization-roundcube.yaml b/bootstrap/kustomizations/kustomization-roundcube.yaml deleted file mode 100644 index c38aee5..0000000 --- a/bootstrap/kustomizations/kustomization-roundcube.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: roundcube - namespace: flux-system -spec: - interval: 15m - path: ./roundcube - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: roundcubemail - namespace: roundcube - - apiVersion: apps/v1 - kind: Deployment - name: roundcubedb - namespace: roundcube diff --git a/bootstrap/kustomizations/kustomization-sealed-secrets.yaml b/bootstrap/kustomizations/kustomization-sealed-secrets.yaml deleted file mode 100644 index 0b8191b..0000000 --- a/bootstrap/kustomizations/kustomization-sealed-secrets.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: sealed-secrets - namespace: flux-system -spec: - interval: 15m - path: ./sealed-secrets - dependsOn: - - name: metallb-system - - name: metallb-config - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: sealed-secrets - namespace: sealed-secrets diff --git a/bootstrap/kustomizations/kustomization-traefik.yaml b/bootstrap/kustomizations/kustomization-traefik.yaml deleted file mode 100644 index 555c7d5..0000000 --- a/bootstrap/kustomizations/kustomization-traefik.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: traefik - namespace: flux-system -spec: - interval: 15m - path: ./traefik - dependsOn: - - name: reflector - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: traefik - namespace: traefik diff --git a/bootstrap/kustomizations/kustomization-vaultwarden.yaml b/bootstrap/kustomizations/kustomization-vaultwarden.yaml deleted file mode 100644 index 979ed90..0000000 --- a/bootstrap/kustomizations/kustomization-vaultwarden.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: vaultwarden - namespace: flux-system -spec: - interval: 15m - path: ./vaultwarden - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: vaultwarden - namespace: vaultwarden diff --git a/bootstrap/kustomizations/kustomization-woodpecker.yaml b/bootstrap/kustomizations/kustomization-woodpecker.yaml deleted file mode 100644 index fd911e9..0000000 --- a/bootstrap/kustomizations/kustomization-woodpecker.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: woodpecker - namespace: flux-system -spec: - interval: 15m - path: ./woodpecker - prune: false # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - name: woodpecker - namespace: woodpecker diff --git a/infrastructure/configs/cert-manager/namespace.yaml b/infrastructure/configs/cert-manager/namespace.yaml new file mode 100644 index 0000000..c402246 --- /dev/null +++ b/infrastructure/configs/cert-manager/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: letsencrypt-wildcard-cert