remove pg-16
This commit is contained in:
@@ -24,10 +24,6 @@ dependencies:
|
||||
alias: sonarr4-4k
|
||||
repository: https://bjw-s.github.io/helm-charts/
|
||||
version: 3.5.1
|
||||
- name: postgres-cluster
|
||||
alias: postgres-16-cluster
|
||||
version: 3.21.0
|
||||
repository: http://alexlebens.github.io/helm-charts
|
||||
- name: postgres-cluster
|
||||
alias: postgres-17-cluster
|
||||
version: 3.21.0
|
||||
|
@@ -56,38 +56,6 @@ spec:
|
||||
metadataPolicy: None
|
||||
property: secret_key
|
||||
|
||||
---
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: sonarr4-4k-postgresql-16-cluster-backup-secret
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: sonarr4-4k-postgresql-16-cluster-backup-secret
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
app.kubernetes.io/component: database
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: vault
|
||||
data:
|
||||
- secretKey: ACCESS_KEY_ID
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /digital-ocean/home-infra/postgres-backups
|
||||
metadataPolicy: None
|
||||
property: access
|
||||
- secretKey: ACCESS_SECRET_KEY
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /digital-ocean/home-infra/postgres-backups
|
||||
metadataPolicy: None
|
||||
property: secret
|
||||
|
||||
---
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
|
@@ -32,22 +32,22 @@ sonarr4-4k:
|
||||
- name: SONARR__POSTGRES_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sonarr4-4k-postgresql-16-cluster-app
|
||||
name: sonarr4-4k-postgresql-17-cluster-app
|
||||
key: host
|
||||
- name: SONARR__POSTGRES_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sonarr4-4k-postgresql-16-cluster-app
|
||||
name: sonarr4-4k-postgresql-17-cluster-app
|
||||
key: port
|
||||
- name: SONARR__POSTGRES_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sonarr4-4k-postgresql-16-cluster-app
|
||||
name: sonarr4-4k-postgresql-17-cluster-app
|
||||
key: username
|
||||
- name: SONARR__POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sonarr4-4k-postgresql-16-cluster-app
|
||||
name: sonarr4-4k-postgresql-17-cluster-app
|
||||
key: password
|
||||
probes:
|
||||
liveness:
|
||||
@@ -141,31 +141,8 @@ sonarr4-4k:
|
||||
main:
|
||||
- path: /mnt/store
|
||||
readOnly: false
|
||||
postgres-16-cluster:
|
||||
mode: standalone
|
||||
cluster:
|
||||
enableSuperuserAccess: true
|
||||
walStorage:
|
||||
storageClass: local-path
|
||||
storage:
|
||||
storageClass: local-path
|
||||
monitoring:
|
||||
enabled: true
|
||||
initdb:
|
||||
database: app
|
||||
owner: app
|
||||
postInitSQL:
|
||||
- CREATE DATABASE "sonarr-main" OWNER "app";
|
||||
- CREATE DATABASE "sonarr-log" OWNER "app";
|
||||
backup:
|
||||
enabled: true
|
||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4-4k/sonarr4-4k-postgresql-16-cluster
|
||||
endpointCredentials: sonarr4-4k-postgresql-16-cluster-backup-secret
|
||||
backupIndex: 1
|
||||
retentionPolicy: "7d"
|
||||
postgres-17-cluster:
|
||||
mode: replica
|
||||
mode: standalone
|
||||
cluster:
|
||||
image:
|
||||
repository: ghcr.io/cloudnative-pg/postgresql
|
||||
@@ -183,18 +160,6 @@ postgres-17-cluster:
|
||||
postInitSQL:
|
||||
- CREATE DATABASE "sonarr-main" OWNER "app";
|
||||
- CREATE DATABASE "sonarr-log" OWNER "app";
|
||||
replica:
|
||||
importType: monolith
|
||||
importDatabases:
|
||||
- app
|
||||
externalCluster:
|
||||
connectionParameters:
|
||||
host: sonarr4-4k-postgresql-16-cluster-rw
|
||||
user: postgres
|
||||
dbname: postgres
|
||||
password:
|
||||
name: sonarr4-4k-postgresql-16-cluster-superuser
|
||||
key: password
|
||||
backup:
|
||||
enabled: false
|
||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||
|
Reference in New Issue
Block a user