remove pg-16
This commit is contained in:
@@ -24,10 +24,6 @@ dependencies:
|
|||||||
alias: sonarr4-4k
|
alias: sonarr4-4k
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.5.1
|
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
|
- name: postgres-cluster
|
||||||
alias: postgres-17-cluster
|
alias: postgres-17-cluster
|
||||||
version: 3.21.0
|
version: 3.21.0
|
||||||
|
@@ -56,38 +56,6 @@ spec:
|
|||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: secret_key
|
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
|
apiVersion: external-secrets.io/v1beta1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
|
@@ -32,22 +32,22 @@ sonarr4-4k:
|
|||||||
- name: SONARR__POSTGRES_HOST
|
- name: SONARR__POSTGRES_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: sonarr4-4k-postgresql-16-cluster-app
|
name: sonarr4-4k-postgresql-17-cluster-app
|
||||||
key: host
|
key: host
|
||||||
- name: SONARR__POSTGRES_PORT
|
- name: SONARR__POSTGRES_PORT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: sonarr4-4k-postgresql-16-cluster-app
|
name: sonarr4-4k-postgresql-17-cluster-app
|
||||||
key: port
|
key: port
|
||||||
- name: SONARR__POSTGRES_USER
|
- name: SONARR__POSTGRES_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: sonarr4-4k-postgresql-16-cluster-app
|
name: sonarr4-4k-postgresql-17-cluster-app
|
||||||
key: username
|
key: username
|
||||||
- name: SONARR__POSTGRES_PASSWORD
|
- name: SONARR__POSTGRES_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: sonarr4-4k-postgresql-16-cluster-app
|
name: sonarr4-4k-postgresql-17-cluster-app
|
||||||
key: password
|
key: password
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
@@ -141,31 +141,8 @@ sonarr4-4k:
|
|||||||
main:
|
main:
|
||||||
- path: /mnt/store
|
- path: /mnt/store
|
||||||
readOnly: false
|
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:
|
postgres-17-cluster:
|
||||||
mode: replica
|
mode: standalone
|
||||||
cluster:
|
cluster:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
@@ -183,18 +160,6 @@ postgres-17-cluster:
|
|||||||
postInitSQL:
|
postInitSQL:
|
||||||
- CREATE DATABASE "sonarr-main" OWNER "app";
|
- CREATE DATABASE "sonarr-main" OWNER "app";
|
||||||
- CREATE DATABASE "sonarr-log" 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:
|
backup:
|
||||||
enabled: false
|
enabled: false
|
||||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||||
|
Reference in New Issue
Block a user