diff --git a/bootstrap/infrastructure/infra-controllers.yaml b/bootstrap/infrastructure/infra-controllers.yaml index cee0b7e..523bebd 100644 --- a/bootstrap/infrastructure/infra-controllers.yaml +++ b/bootstrap/infrastructure/infra-controllers.yaml @@ -4,6 +4,8 @@ metadata: name: infra-controllers namespace: flux-system spec: + dependsOn: + - name: infra-crds interval: 10m retryInterval: 1m sourceRef: diff --git a/bootstrap/infrastructure/infra-crds.yaml b/bootstrap/infrastructure/infra-crds.yaml new file mode 100644 index 0000000..c43ddee --- /dev/null +++ b/bootstrap/infrastructure/infra-crds.yaml @@ -0,0 +1,13 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infra-crds + namespace: flux-system +spec: + interval: 1h + retryInterval: 1m + sourceRef: + kind: GitRepository + name: flux-system + path: ./infrastructure/crds + prune: true diff --git a/infrastructure/controllers/longhorn/dns-endpoint.yaml b/infrastructure/configs/longhorn/dns-endpoint.yaml similarity index 100% rename from infrastructure/controllers/longhorn/dns-endpoint.yaml rename to infrastructure/configs/longhorn/dns-endpoint.yaml diff --git a/infrastructure/controllers/traefik/dns-endpoint.yaml b/infrastructure/configs/traefik/dns-endpoint.yaml similarity index 100% rename from infrastructure/controllers/traefik/dns-endpoint.yaml rename to infrastructure/configs/traefik/dns-endpoint.yaml diff --git a/infrastructure/controllers/sealed-secrets/namespace.yaml b/infrastructure/crds/sealed-secrets/namespace.yaml similarity index 100% rename from infrastructure/controllers/sealed-secrets/namespace.yaml rename to infrastructure/crds/sealed-secrets/namespace.yaml diff --git a/infrastructure/controllers/sealed-secrets/release.yaml b/infrastructure/crds/sealed-secrets/release.yaml similarity index 100% rename from infrastructure/controllers/sealed-secrets/release.yaml rename to infrastructure/crds/sealed-secrets/release.yaml diff --git a/infrastructure/controllers/sealed-secrets/repository.yaml b/infrastructure/crds/sealed-secrets/repository.yaml similarity index 100% rename from infrastructure/controllers/sealed-secrets/repository.yaml rename to infrastructure/crds/sealed-secrets/repository.yaml