platform: move postgres to infrastructure

This commit is contained in:
Brad Stein 2026-01-13 17:53:04 -03:00
parent 730b9775a3
commit 07fde43749
9 changed files with 9 additions and 9 deletions

View File

@ -25,6 +25,5 @@ resources:
- ai-llm/kustomization.yaml - ai-llm/kustomization.yaml
- nextcloud/kustomization.yaml - nextcloud/kustomization.yaml
- nextcloud-mail-sync/kustomization.yaml - nextcloud-mail-sync/kustomization.yaml
- postgres/kustomization.yaml
- outline/kustomization.yaml - outline/kustomization.yaml
- planka/kustomization.yaml - planka/kustomization.yaml

View File

@ -11,4 +11,5 @@ resources:
- logging/kustomization.yaml - logging/kustomization.yaml
- maintenance/kustomization.yaml - maintenance/kustomization.yaml
- longhorn-ui/kustomization.yaml - longhorn-ui/kustomization.yaml
- postgres/kustomization.yaml
- ../platform/vault-csi/kustomization.yaml - ../platform/vault-csi/kustomization.yaml

View File

@ -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 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
@ -6,7 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 10m interval: 10m
path: ./services/postgres path: ./infrastructure/postgres
prune: true prune: true
force: true force: true
sourceRef: sourceRef:

View File

@ -1,4 +1,4 @@
# services/postgres/kustomization.yaml # infrastructure/postgres/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: postgres namespace: postgres

View File

@ -1,4 +1,4 @@
# services/postgres/namespace.yaml # infrastructure/postgres/namespace.yaml
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:

View File

@ -1,4 +1,4 @@
# services/postgres/secretproviderclass.yaml # infrastructure/postgres/secretproviderclass.yaml
apiVersion: secrets-store.csi.x-k8s.io/v1 apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass kind: SecretProviderClass
metadata: metadata:

View File

@ -1,4 +1,4 @@
# services/postgres/service.yaml # infrastructure/postgres/service.yaml
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:

View File

@ -1,4 +1,4 @@
# services/postgres/serviceaccount.yaml # infrastructure/postgres/serviceaccount.yaml
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:

View File

@ -1,4 +1,4 @@
# services/postgres/statefulset.yaml # infrastructure/postgres/statefulset.yaml
apiVersion: apps/v1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata: