Retire gitea-db targets and manifest (RAPPS-WP-0019-T05)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 276069@bnt-lap001 Assistant-Session: 2e192b3d-b3e8-4403-94d4-d55a2c8b476c
This commit is contained in:
parent
51d5247156
commit
4a91b8579d
1 changed files with 0 additions and 46 deletions
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
# cnpg Cluster for Gitea database
|
||||
# Managed by railiance-platform (S3). Operator lives in cnpg-system namespace.
|
||||
#
|
||||
# Apply: kubectl apply -f helm/gitea-db-cluster.yaml
|
||||
# Status: kubectl cnpg status gitea-db -n databases
|
||||
#
|
||||
# Pre-condition: gitea-db-credentials Secret must exist in databases namespace.
|
||||
# Create it (one-time, do NOT commit plaintext):
|
||||
# kubectl create secret generic gitea-db-credentials \
|
||||
# --namespace databases \
|
||||
# --from-literal=username=gitea \
|
||||
# --from-literal=password=<password>
|
||||
# Then encrypt with SOPS and commit helm/gitea-db-secret.sops.yaml.
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: gitea-db
|
||||
namespace: databases
|
||||
labels:
|
||||
app.kubernetes.io/name: gitea-db
|
||||
app.kubernetes.io/component: database
|
||||
app.kubernetes.io/managed-by: manual
|
||||
railiance.io/layer: s3-platform
|
||||
spec:
|
||||
instances: 1 # bump to 3 when node RAM > 8GB
|
||||
# spec.postgresql.version is not a real CNPG v1 field; use imageName.
|
||||
# Live cluster was upgraded to PG 18.1; match the live state so
|
||||
# `make db-deploy` (kubectl apply) is a no-op rather than a rejection.
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie
|
||||
storage:
|
||||
size: 10Gi
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: gitea
|
||||
owner: gitea
|
||||
secret:
|
||||
name: gitea-db-credentials
|
||||
# Connection pooler can be added later:
|
||||
# managed:
|
||||
# services:
|
||||
# additional:
|
||||
# - selectorType: rw
|
||||
# serviceTemplate:
|
||||
# metadata:
|
||||
# name: gitea-db-pooler-rw
|
||||
Loading…
Add table
Add a link
Reference in a new issue