diff --git a/apps/base/infra/kustomitation.yaml b/apps/base/infra/kustomitation.yaml new file mode 100644 index 0000000..b104632 --- /dev/null +++ b/apps/base/infra/kustomitation.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - cert-manager-repo.yaml + - cert-manager.yaml \ No newline at end of file diff --git a/apps/base/matrix/infra-sync.yaml b/apps/base/matrix/infra-sync.yaml new file mode 100644 index 0000000..e5b21d7 --- /dev/null +++ b/apps/base/matrix/infra-sync.yaml @@ -0,0 +1,12 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infra-apps + namespace: flux-system +spec: + interval: 1m + path: ./apps/base/infra + prune: true + sourceRef: + kind: GitRepository + name: flux-system \ No newline at end of file diff --git a/apps/production/kustomization.yaml b/apps/production/kustomization.yaml index 7407ff1..3658d7f 100644 --- a/apps/production/kustomization.yaml +++ b/apps/production/kustomization.yaml @@ -3,6 +3,4 @@ kind: Kustomization resources: - namespace.yaml - matrix-postgres-auth.yaml - - cert-issuer.yaml - - ../base/infra/cert-manager-repo.yaml - - ../base/infra/cert-manager.yaml \ No newline at end of file + - cert-issuer.yaml \ No newline at end of file diff --git a/clusters/matrix/production-sync.yaml b/clusters/matrix/production-sync.yaml index e699712..de4b10b 100644 --- a/clusters/matrix/production-sync.yaml +++ b/clusters/matrix/production-sync.yaml @@ -13,4 +13,6 @@ spec: decryption: provider: sops secretRef: - name: sops-age \ No newline at end of file + name: sops-age + dependsOn: + - name: infra-apps \ No newline at end of file