diff --git a/clusters/atlas/flux-system/applications/kustomization.yaml b/clusters/atlas/flux-system/applications/kustomization.yaml index 6788653..d48cf9e 100644 --- a/clusters/atlas/flux-system/applications/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/kustomization.yaml @@ -25,6 +25,5 @@ resources: - ai-llm/kustomization.yaml - nextcloud/kustomization.yaml - nextcloud-mail-sync/kustomization.yaml - - postgres/kustomization.yaml - outline/kustomization.yaml - planka/kustomization.yaml diff --git a/clusters/atlas/flux-system/platform/kustomization.yaml b/clusters/atlas/flux-system/platform/kustomization.yaml index 7da2ca3..6f88db7 100644 --- a/clusters/atlas/flux-system/platform/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/kustomization.yaml @@ -11,4 +11,5 @@ resources: - logging/kustomization.yaml - maintenance/kustomization.yaml - longhorn-ui/kustomization.yaml + - postgres/kustomization.yaml - ../platform/vault-csi/kustomization.yaml diff --git a/clusters/atlas/flux-system/applications/postgres/kustomization.yaml b/clusters/atlas/flux-system/platform/postgres/kustomization.yaml similarity index 81% rename from clusters/atlas/flux-system/applications/postgres/kustomization.yaml rename to clusters/atlas/flux-system/platform/postgres/kustomization.yaml index 07df4c7..59cfb10 100644 --- a/clusters/atlas/flux-system/applications/postgres/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/postgres/kustomization.yaml @@ -1,4 +1,4 @@ -# clusters/atlas/flux-system/applications/postgres/kustomization.yaml +# clusters/atlas/flux-system/platform/postgres/kustomization.yaml apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: @@ -6,7 +6,7 @@ metadata: namespace: flux-system spec: interval: 10m - path: ./services/postgres + path: ./infrastructure/postgres prune: true force: true sourceRef: diff --git a/services/postgres/kustomization.yaml b/infrastructure/postgres/kustomization.yaml similarity index 82% rename from services/postgres/kustomization.yaml rename to infrastructure/postgres/kustomization.yaml index e9d2c98..777f635 100644 --- a/services/postgres/kustomization.yaml +++ b/infrastructure/postgres/kustomization.yaml @@ -1,4 +1,4 @@ -# services/postgres/kustomization.yaml +# infrastructure/postgres/kustomization.yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: postgres diff --git a/services/postgres/namespace.yaml b/infrastructure/postgres/namespace.yaml similarity index 58% rename from services/postgres/namespace.yaml rename to infrastructure/postgres/namespace.yaml index c5503ce..f88cfdb 100644 --- a/services/postgres/namespace.yaml +++ b/infrastructure/postgres/namespace.yaml @@ -1,4 +1,4 @@ -# services/postgres/namespace.yaml +# infrastructure/postgres/namespace.yaml apiVersion: v1 kind: Namespace metadata: diff --git a/services/postgres/secretproviderclass.yaml b/infrastructure/postgres/secretproviderclass.yaml similarity index 88% rename from services/postgres/secretproviderclass.yaml rename to infrastructure/postgres/secretproviderclass.yaml index 31d247e..b9317a1 100644 --- a/services/postgres/secretproviderclass.yaml +++ b/infrastructure/postgres/secretproviderclass.yaml @@ -1,4 +1,4 @@ -# services/postgres/secretproviderclass.yaml +# infrastructure/postgres/secretproviderclass.yaml apiVersion: secrets-store.csi.x-k8s.io/v1 kind: SecretProviderClass metadata: diff --git a/services/postgres/service.yaml b/infrastructure/postgres/service.yaml similarity index 85% rename from services/postgres/service.yaml rename to infrastructure/postgres/service.yaml index 52c4656..3dcab3c 100644 --- a/services/postgres/service.yaml +++ b/infrastructure/postgres/service.yaml @@ -1,4 +1,4 @@ -# services/postgres/service.yaml +# infrastructure/postgres/service.yaml apiVersion: v1 kind: Service metadata: diff --git a/services/postgres/serviceaccount.yaml b/infrastructure/postgres/serviceaccount.yaml similarity index 66% rename from services/postgres/serviceaccount.yaml rename to infrastructure/postgres/serviceaccount.yaml index 0c3db0c..601614a 100644 --- a/services/postgres/serviceaccount.yaml +++ b/infrastructure/postgres/serviceaccount.yaml @@ -1,4 +1,4 @@ -# services/postgres/serviceaccount.yaml +# infrastructure/postgres/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount metadata: diff --git a/services/postgres/statefulset.yaml b/infrastructure/postgres/statefulset.yaml similarity index 97% rename from services/postgres/statefulset.yaml rename to infrastructure/postgres/statefulset.yaml index aa96003..e1a1921 100644 --- a/services/postgres/statefulset.yaml +++ b/infrastructure/postgres/statefulset.yaml @@ -1,4 +1,4 @@ -# services/postgres/statefulset.yaml +# infrastructure/postgres/statefulset.yaml apiVersion: apps/v1 kind: StatefulSet metadata: