add pg-17
This commit is contained in:
		| @@ -23,5 +23,9 @@ dependencies: | ||||
|     alias: postgres-16-cluster | ||||
|     version: 3.19.0 | ||||
|     repository: http://alexlebens.github.io/helm-charts | ||||
|   - name: postgres-cluster | ||||
|     alias: postgres-17-cluster | ||||
|     version: 3.20.10 | ||||
|     repository: http://alexlebens.github.io/helm-charts | ||||
| icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/jellystat.png | ||||
| appVersion: 1.1.1 | ||||
|   | ||||
| @@ -126,3 +126,35 @@ spec: | ||||
|         key: /digital-ocean/home-infra/postgres-backups | ||||
|         metadataPolicy: None | ||||
|         property: secret | ||||
|  | ||||
| --- | ||||
| apiVersion: external-secrets.io/v1beta1 | ||||
| kind: ExternalSecret | ||||
| metadata: | ||||
|   name: jellystat-postgresql-17-cluster-backup-secret | ||||
|   namespace: {{ .Release.Namespace }} | ||||
|   labels: | ||||
|     app.kubernetes.io/name: jellystat-postgresql-17-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 | ||||
|   | ||||
| @@ -110,3 +110,31 @@ postgres-16-cluster: | ||||
|     endpointCredentials: jellystat-postgresql-16-cluster-backup-secret | ||||
|     backupIndex: 1 | ||||
|     retentionPolicy: "7d" | ||||
| postgres-17-cluster: | ||||
|   mode: replica | ||||
|   cluster: | ||||
|     image: | ||||
|       repository: ghcr.io/cloudnative-pg/postgresql | ||||
|       tag: "17.2-22" | ||||
|     walStorage: | ||||
|       storageClass: local-path | ||||
|     storage: | ||||
|       storageClass: local-path | ||||
|     monitoring: | ||||
|       enabled: true | ||||
|   replica: | ||||
|     externalCluster: | ||||
|       connectionParameters: | ||||
|         host: jellystat-postgresql-16-cluster-rw | ||||
|         user: app | ||||
|         dbname: app | ||||
|       password: | ||||
|         name: jellystat-postgresql-16-cluster-app | ||||
|         key: password | ||||
|   backup: | ||||
|     enabled: false | ||||
|     endpointURL: https://nyc3.digitaloceanspaces.com | ||||
|     destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellystat/jellystat-postgresql-17-cluster | ||||
|     endpointCredentials: jellystat-postgresql-17-cluster-backup-secret | ||||
|     backupIndex: 1 | ||||
|     retentionPolicy: "7d" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user