diff --git a/apps/base/osint/kustomization.yaml b/apps/base/osint/kustomization.yaml index 02eb79c..e002a5c 100644 --- a/apps/base/osint/kustomization.yaml +++ b/apps/base/osint/kustomization.yaml @@ -4,7 +4,6 @@ resources: - namespace.yaml - configmap.yaml - postgres-pvc.yaml - - postgres-pvc-linode.yaml - postgres-deployment.yaml - postgres-service.yaml - nats-deployment.yaml diff --git a/apps/base/osint/postgres-deployment.yaml b/apps/base/osint/postgres-deployment.yaml index 2c84ab7..936873b 100644 --- a/apps/base/osint/postgres-deployment.yaml +++ b/apps/base/osint/postgres-deployment.yaml @@ -27,20 +27,8 @@ spec: - key: dedicated operator: Exists effect: PreferNoSchedule - # Local-path volume: the claim (osint-pgdata-linode) is pinned to linode by - # its PV, so the pod must be too. arch selector documents why: the image is - # amd64-only, as on every other node this can land on. nodeSelector: - kubernetes.io/arch: amd64 - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - linode + kubernetes.io/hostname: siriussec containers: - name: postgres image: forgejo.siriusdevops.com/sirius/osint-dashboard-pg:amd64-c48788d4b614-r2 @@ -91,4 +79,4 @@ spec: volumes: - name: pgdata persistentVolumeClaim: - claimName: osint-pgdata-linode + claimName: osint-pgdata diff --git a/apps/base/osint/postgres-pvc-linode.yaml b/apps/base/osint/postgres-pvc-linode.yaml deleted file mode 100644 index a7dc02b..0000000 --- a/apps/base/osint/postgres-pvc-linode.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Post-migration home for osint-db: a linode-local volume. -# Kept separate from postgres-pvc.yaml (osint-pgdata, on siriussec) so a -# rollback is one revert of the Deployment's claimName; the old claim and its -# PV stay untouched and Bound. -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: osint-pgdata-linode - namespace: osint -spec: - accessModes: - - ReadWriteOnce - storageClassName: local-path-linode - resources: - requests: - storage: 15Gi