From 3c465630990c17daa7b1f622f3864a476aec9fc1 Mon Sep 17 00:00:00 2001 From: ExQz Date: Tue, 7 Jul 2026 11:18:40 +0300 Subject: [PATCH] Remove old PostgreSQL manifests --- PostgreSQL/Old/postgres_lb_service.yaml | 17 ----------- PostgreSQL/Old/postgres_service.yaml | 12 -------- PostgreSQL/Old/postgress_deplay.yaml | 38 ------------------------- 3 files changed, 67 deletions(-) delete mode 100644 PostgreSQL/Old/postgres_lb_service.yaml delete mode 100644 PostgreSQL/Old/postgres_service.yaml delete mode 100644 PostgreSQL/Old/postgress_deplay.yaml diff --git a/PostgreSQL/Old/postgres_lb_service.yaml b/PostgreSQL/Old/postgres_lb_service.yaml deleted file mode 100644 index 9ae136c..0000000 --- a/PostgreSQL/Old/postgres_lb_service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: postgres-service - namespace: database - labels: - io.cilium/static-ip: "true" - annotations: - lbipam.cilium.io/ips: "10.2.0.122" -spec: - type: LoadBalancer - selector: - app: postgres-hetzner - ports: - - protocol: TCP - port: 5432 - targetPort: 5432 \ No newline at end of file diff --git a/PostgreSQL/Old/postgres_service.yaml b/PostgreSQL/Old/postgres_service.yaml deleted file mode 100644 index f550305..0000000 --- a/PostgreSQL/Old/postgres_service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: postgres - namespace: database -spec: - selector: - app: postgres-hetzner - ports: - - protocol: TCP - port: 5432 - targetPort: 5432 \ No newline at end of file diff --git a/PostgreSQL/Old/postgress_deplay.yaml b/PostgreSQL/Old/postgress_deplay.yaml deleted file mode 100644 index 567300f..0000000 --- a/PostgreSQL/Old/postgress_deplay.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: postgres - namespace: database -spec: - replicas: 1 - serviceName: postgres - selector: - matchLabels: - app: postgres - template: - metadata: - labels: - app: postgres - spec: - containers: - - name: postgres - image: pgvector/pgvector:pg18-trixie - imagePullPolicy: IfNotPresent - volumeMounts: - - name: postgres-data - mountPath: /var/lib/postgresql - env: - - name: POSTGRES_PASSWORD - value: "jd@wXseh9z7vM@9" - - name: POSTGRES_USER - value: admin - volumeClaimTemplates: - - metadata: - name: postgres-data - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 30Gi - storageClassName: local-storage \ No newline at end of file