Compare commits

..

28 Commits

Author SHA1 Message Date
7901a085f5 update to standard type image
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 24s
renovate / renovate (push) Successful in 39s
2025-10-03 23:36:46 -05:00
d403cc4066 remove tensorchord option
Some checks failed
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Has been cancelled
2025-10-03 23:35:42 -05:00
da4a2acd8a fix context
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 1m49s
2025-10-02 22:13:51 -05:00
ae3897832b add credential defaults
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 41s
renovate / renovate (push) Successful in 1m7s
2025-10-02 22:10:08 -05:00
de2b30b476 chagne default backup behavior
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 36s
2025-10-02 21:56:30 -05:00
58e380c9ea fix values
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 39s
2025-10-02 21:41:55 -05:00
2dfa733e49 fix recovery config
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 40s
2025-10-02 21:35:57 -05:00
227c0db540 remove bool for backups
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 20s
renovate / renovate (push) Successful in 40s
2025-10-02 21:20:46 -05:00
e09e2ba56f fix recovery credentials
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 59s
2025-10-02 21:05:38 -05:00
bf18a84ea2 fix if statement 2025-10-02 21:04:09 -05:00
01bcb37e45 use values explicitly
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 22s
renovate / renovate (push) Successful in 1m15s
2025-10-02 21:01:53 -05:00
8e2f1d13e7 fix values
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 37s
2025-10-02 20:51:01 -05:00
01052fa169 change credential handling
All checks were successful
renovate / renovate (push) Successful in 50s
release-charts-generic-device-plugin / release (push) Successful in 16s
release-charts-postgres-cluster / release (push) Successful in 16s
2025-10-02 20:46:15 -05:00
049829d7ef fix credential naming
All checks were successful
renovate / renovate (push) Successful in 2m12s
release-charts-generic-device-plugin / release (push) Successful in 15s
release-charts-postgres-cluster / release (push) Successful in 17s
release-charts-cloudflared / release (push) Successful in 19s
2025-10-02 17:24:45 -05:00
d8a21ebe6c Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 359bcdd' (#122) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
All checks were successful
release-charts-generic-device-plugin / release (push) Successful in 16s
renovate / renovate (push) Successful in 1m40s
Reviewed-on: #122
2025-09-29 00:24:42 +00:00
8fa08ea571 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 359bcdd
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 34s
2025-09-29 00:01:04 +00:00
a74dcf8d07 Merge pull request 'Update cloudflare/cloudflared Docker tag to v2025.9.1' (#121) from renovate/cloudflare-cloudflared-2025.x into main
All checks were successful
release-charts-cloudflared / release (push) Successful in 14s
renovate / renovate (push) Successful in 1m17s
Reviewed-on: #121
2025-09-22 23:30:45 +00:00
f3d13ef30f Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 4578784' (#120) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
Some checks failed
renovate / renovate (push) Has been cancelled
release-charts-generic-device-plugin / release (push) Successful in 18s
Reviewed-on: #120
2025-09-22 23:30:33 +00:00
a277a8459f Update cloudflare/cloudflared Docker tag to v2025.9.1
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 19s
2025-09-22 23:29:09 +00:00
5635efb0bf Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 4578784
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 18s
2025-09-22 23:29:06 +00:00
cb9b22574a update base chart
All checks were successful
release-charts-cloudflared / release (push) Successful in 15s
release-charts-generic-device-plugin / release (push) Successful in 21s
renovate / renovate (push) Successful in 1m1s
2025-09-22 18:28:26 -05:00
76aef8d563 update base chart
All checks were successful
release-charts-cloudflared / release (push) Successful in 15s
renovate / renovate (push) Successful in 48s
2025-09-22 18:27:31 -05:00
0f00be34cc Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to e18ea28' (#118) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
All checks were successful
release-charts-generic-device-plugin / release (push) Successful in 20s
renovate / renovate (push) Successful in 59s
Reviewed-on: #118
2025-09-22 23:25:51 +00:00
d51b0a0f05 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to e18ea28
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 1m37s
2025-09-22 00:01:50 +00:00
d729a5b1b5 Merge pull request 'Update cloudflare/cloudflared Docker tag to v2025.9.0' (#119) from renovate/cloudflare-cloudflared-2025.x into main
All checks were successful
release-charts-cloudflared / release (push) Successful in 20s
renovate / renovate (push) Successful in 49s
Reviewed-on: #119
2025-09-19 00:45:57 +00:00
a3521256f4 Update cloudflare/cloudflared Docker tag to v2025.9.0
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 1m22s
2025-09-19 00:00:54 +00:00
857918cdb6 Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to c61dd84' (#116) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
All checks were successful
release-charts-generic-device-plugin / release (push) Successful in 37s
renovate / renovate (push) Successful in 1m3s
Reviewed-on: #116
2025-09-17 05:02:00 +00:00
b4c5b8ef62 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to c61dd84
All checks were successful
lint-and-test / lint-test (pull_request) Successful in 1m18s
2025-09-16 00:03:11 +00:00
14 changed files with 41 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: cloudflared
version: 1.20.1
version: 1.21.1
description: Cloudflared Tunnel
keywords:
- cloudflare
@@ -13,6 +13,6 @@ maintainers:
dependencies:
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.2.0
version: 4.3.0
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
appVersion: "2025.7.0"
appVersion: "2025.8.1"

View File

@@ -1,6 +1,6 @@
# cloudflared
![Version: 1.20.1](https://img.shields.io/badge/Version-1.20.1-informational?style=flat-square) ![AppVersion: 2025.7.0](https://img.shields.io/badge/AppVersion-2025.7.0-informational?style=flat-square)
![Version: 1.21.1](https://img.shields.io/badge/Version-1.21.1-informational?style=flat-square) ![AppVersion: 2025.8.1](https://img.shields.io/badge/AppVersion-2025.8.1-informational?style=flat-square)
Cloudflared Tunnel
@@ -19,7 +19,7 @@ Cloudflared Tunnel
| Repository | Name | Version |
|------------|------|---------|
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.2.0 |
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.3.0 |
## Values
@@ -27,7 +27,7 @@ Cloudflared Tunnel
|-----|------|---------|-------------|
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.8.1"}` | Default image |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.9.1"}` | Default image |
| name | string | `"cloudflared"` | Name override of release |
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |

View File

@@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token
# -- Default image
image:
repository: cloudflare/cloudflared
tag: "2025.8.1"
tag: "2025.9.1"
pullPolicy: IfNotPresent
# -- Default resources

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: generic-device-plugin
version: 0.7.0
version: 0.12.0
description: Generic Device Plugin
keywords:
- generic-device-plugin
@@ -14,5 +14,5 @@ maintainers:
dependencies:
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.2.0
appVersion: 0.7.0
version: 4.3.0
appVersion: 0.10.0

View File

@@ -1,6 +1,6 @@
# generic-device-plugin
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![AppVersion: 0.7.0](https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square)
![Version: 0.12.0](https://img.shields.io/badge/Version-0.12.0-informational?style=flat-square) ![AppVersion: 0.10.0](https://img.shields.io/badge/AppVersion-0.10.0-informational?style=flat-square)
Generic Device Plugin
@@ -19,7 +19,7 @@ Generic Device Plugin
| Repository | Name | Version |
|------------|------|---------|
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.2.0 |
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.3.0 |
## Values
@@ -28,9 +28,9 @@ Generic Device Plugin
| config | object | `{"data":"devices:\n - name: serial\n groups:\n - paths:\n - path: /dev/ttyUSB*\n - paths:\n - path: /dev/ttyACM*\n - paths:\n - path: /dev/tty.usb*\n - paths:\n - path: /dev/cu.*\n - paths:\n - path: /dev/cuaU*\n - paths:\n - path: /dev/rfcomm*\n - name: video\n groups:\n - paths:\n - path: /dev/video0\n - name: fuse\n groups:\n - count: 10\n paths:\n - path: /dev/fuse\n - name: audio\n groups:\n - count: 10\n paths:\n - path: /dev/snd\n - name: capture\n groups:\n - paths:\n - path: /dev/snd/controlC0\n - path: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC1\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC1D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC2\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC2D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC3\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC3D0c\n mountPath: /dev/snd/pcmC0D0c\n","enabled":true}` | Config map |
| config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) |
| deviceDomain | string | `"devic.es"` | Domain used by devices for identifcation |
| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest@sha256:df8245854e71e3f580fb082acc97dea4b5c23d25566527e1c510643b0d939ce8"}` | Default image |
| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest@sha256:359bcdd5c7b45a815a50e2f69c5942d85de6db03ff4a3923462af06161bead08"}` | Default image |
| name | string | `"generic-device-plugin"` | Name override of release |
| resources | object | `{"limit":{"cpu":"100m","memory":"20Mi"},"requests":{"cpu":"50m","memory":"10Mi"}}` | Default resources |
| resources | object | `{"requests":{"cpu":"50m","memory":"10Mi"}}` | Default resources |
| service | object | `{"listenPort":8080}` | Service port |
----------------------------------------------

View File

@@ -4,7 +4,7 @@ name: generic-device-plugin
# -- Default image
image:
repository: ghcr.io/squat/generic-device-plugin
tag: latest@sha256:df8245854e71e3f580fb082acc97dea4b5c23d25566527e1c510643b0d939ce8
tag: latest@sha256:359bcdd5c7b45a815a50e2f69c5942d85de6db03ff4a3923462af06161bead08
pullPolicy: Always
# -- Domain used by devices for identifcation
@@ -16,9 +16,6 @@ service:
# -- Default resources
resources:
limit:
cpu: 100m
memory: 20Mi
requests:
cpu: 50m
memory: 10Mi

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 6.4.4
version: 6.11.0
description: Cloudnative-pg Cluster
keywords:
- database
@@ -11,4 +11,4 @@ sources:
maintainers:
- name: alexlebens
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
appVersion: v1.26.0
appVersion: v1.27.0

View File

@@ -1,6 +1,6 @@
# postgres-cluster
![Version: 6.4.4](https://img.shields.io/badge/Version-6.4.4-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square)
![Version: 6.11.0](https://img.shields.io/badge/Version-6.11.0-informational?style=flat-square) ![AppVersion: v1.27.0](https://img.shields.io/badge/AppVersion-v1.27.0-informational?style=flat-square)
Cloudnative-pg Cluster
@@ -19,17 +19,16 @@ Cloudnative-pg Cluster
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| backup | object | `{"enabled":false,"method":"objectStore","objectStore":[],"scheduledBackups":[]}` | Backup settings |
| backup.enabled | bool | `false` | You need to configure backups manually, so backups are disabled by default. |
| backup | object | `{"method":"objectStore","objectStore":[],"scheduledBackups":[]}` | Backup settings |
| backup.method | string | `"objectStore"` | Method to create backups, options currently are only objectStore |
| backup.objectStore | list | `[]` | Options for object store backups |
| backup.scheduledBackups | list | `[]` | List of scheduled backups |
| cluster | object | `{"additionalLabels":{},"affinity":{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"},"annotations":{},"certificates":{},"enablePDB":true,"enableSuperuserAccess":false,"image":{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.5-1-bullseye"},"imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"initdb":{},"instances":3,"logLevel":"info","monitoring":{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":false,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":false,"excludeRules":[]}},"postgresGID":-1,"postgresUID":-1,"postgresql":{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}},"primaryUpdateMethod":"switchover","primaryUpdateStrategy":"unsupervised","priorityClassName":"","resources":{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"100m","memory":"256Mi"}},"roles":[],"serviceAccountTemplate":{},"services":{},"storage":{"size":"10Gi","storageClass":""},"superuserSecret":"","walStorage":{"enabled":true,"size":"2Gi","storageClass":""}}` | Cluster settings |
| cluster | object | `{"additionalLabels":{},"affinity":{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"},"annotations":{},"certificates":{},"enablePDB":true,"enableSuperuserAccess":false,"image":{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.6-standard-trixie"},"imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"initdb":{},"instances":3,"logLevel":"info","monitoring":{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":false,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":false,"excludeRules":[]}},"postgresGID":-1,"postgresUID":-1,"postgresql":{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}},"primaryUpdateMethod":"switchover","primaryUpdateStrategy":"unsupervised","priorityClassName":"","resources":{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"100m","memory":"256Mi"}},"roles":[],"serviceAccountTemplate":{},"services":{},"storage":{"size":"10Gi","storageClass":""},"superuserSecret":"","walStorage":{"enabled":true,"size":"2Gi","storageClass":""}}` | Cluster settings |
| cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | Affinity/Anti-affinity rules for Pods. See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration |
| cluster.certificates | object | `{}` | The configuration for the CA and related certificates. See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-CertificatesConfiguration |
| cluster.enablePDB | bool | `true` | Allow to disable PDB, mainly useful for upgrade of single-instance clusters or development purposes See: https://cloudnative-pg.io/documentation/current/kubernetes_upgrade/#pod-disruption-budgets |
| cluster.enableSuperuserAccess | bool | `false` | When this option is enabled, the operator will use the SuperuserSecret to update the postgres user password. If the secret is not present, the operator will automatically create one. When this option is disabled, the operator will ignore the SuperuserSecret content, delete it when automatically created, and then blank the password of the postgres user by setting it to NULL. |
| cluster.image | object | `{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.5-1-bullseye"}` | Default image |
| cluster.image | object | `{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.6-standard-trixie"}` | Default image |
| cluster.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images |
| cluster.imagePullSecrets | list | `[]` | The list of pull secrets to be used to pull the images. See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-LocalObjectReference |
| cluster.initdb | object | `{}` | Bootstrap is the configuration of the bootstrap process when initdb is used. See: https://cloudnative-pg.io/documentation/current/bootstrap/ See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb |
@@ -109,7 +108,7 @@ Cloudnative-pg Cluster
| recovery.pgBaseBackup.source.passwordSecret.key | string | `"password"` | The key in the secret containing the password |
| recovery.pgBaseBackup.source.passwordSecret.name | string | `""` | Name of the secret containing the password |
| recovery.pgBaseBackup.source.passwordSecret.value | string | `""` | The password value to use when creating the secret |
| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `tensorchord` |
| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

View File

@@ -11,21 +11,8 @@ bootstrap:
{{- if .Values.cluster.initdb.owner }}
owner: {{ tpl .Values.cluster.initdb.owner . }}
{{- end }}
{{- if eq .Values.type "tensorchord" }}
dataChecksums: true
{{- end }}
{{- if or (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }}
{{- if (.Values.cluster.initdb.postInitApplicationSQL) }}
postInitApplicationSQL:
{{- if eq .Values.type "tensorchord" }}
- ALTER SYSTEM SET search_path TO "$user", public, vectors;
- SET search_path TO "$user", public, vectors;
- CREATE EXTENSION IF NOT EXISTS "vectors";
- CREATE EXTENSION IF NOT EXISTS "cube";
- CREATE EXTENSION IF NOT EXISTS "earthdistance";
- ALTER SCHEMA vectors OWNER TO "app";
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA vectors TO "app";
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "app";
{{- end }}
{{- with .Values.cluster.initdb }}
{{- range .postInitApplicationSQL }}
{{- printf "- %s" . | nindent 6 }}

View File

@@ -83,21 +83,3 @@ Generate recovery server name
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.objectStore.index) | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{- end }}
{{/*
Generate name for recovery object store credentials
*/}}
{{- define "cluster.recoveryCredentials" -}}
{{- if .Values.recovery.endpointCredentials -}}
{{- .Values.recovery.endpointCredentials -}}
{{- else -}}
{{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{- end }}
{{/*
Generate name for backup object store credentials
*/}}
{{- define "cluster.backupCredentials" -}}
{{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end }}

View File

@@ -19,10 +19,8 @@ spec:
{{- end }}
postgresUID: {{ include "cluster.postgresUID" . }}
postgresGID: {{ include "cluster.postgresGID" . }}
{{ if or (eq .Values.backup.method "objectStore") (eq .Values.recovery.method "objectStore") }}
plugins:
{{ end }}
{{- range $objectStore := .Values.backup.objectStore }}
plugins:
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
@@ -34,13 +32,14 @@ spec:
serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}"
{{- end }}
{{- end }}
{{ if eq .Values.recovery.method "objectStore" }}
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: false
parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }}
{{ if (eq .Values.recovery.method "objectStore") }}
externalClusters:
- name: recovery
plugin:
name: barman-cloud.cloudnative-pg.io
parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }}
{{ end }}
storage:
size: {{ .Values.cluster.storage.size }}
@@ -81,11 +80,8 @@ spec:
enablePDB: {{ .Values.cluster.enablePDB }}
postgresql:
{{- if or (eq .Values.type "tensorchord") (not (empty .Values.cluster.postgresql.shared_preload_libraries)) }}
{{- if .Values.cluster.postgresql.shared_preload_libraries }}
shared_preload_libraries:
{{- if eq .Values.type "tensorchord" }}
- vectors.so
{{- end }}
{{- with .Values.cluster.postgresql.shared_preload_libraries }}
{{- toYaml . | nindent 6 }}
{{- end }}

View File

@@ -1,4 +1,4 @@
{{ if and (.Values.backup.enabled) (eq .Values.backup.method "objectStore") }}
{{ if (eq .Values.backup.method "objectStore") }}
{{ $context := . -}}
{{ range .Values.backup.objectStore -}}
---
@@ -27,7 +27,7 @@ spec:
{{ end }}
maxParallel: {{ .wal.maxParallel | default "1" }}
{{- end }}
{{- if .wal }}
{{- if .data }}
data:
compression: {{ .data.compression | default "snappy" }}
{{- with .data.encryption }}
@@ -37,18 +37,10 @@ spec:
{{- end }}
s3Credentials:
accessKeyId:
{{- if .endpointCredentials }}
name: {{ .endpointCredentials }}
{{- else }}
name: {{ include "cluster.backupCredentials" $context }}
{{- end }}
name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
key: ACCESS_KEY_ID
secretAccessKey:
{{- if .endpointCredentials }}
name: {{ .endpointCredentials }}
{{- else }}
name: {{ include "cluster.backupCredentials" $context }}
{{- end }}
name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
key: ACCESS_SECRET_KEY
{{ end -}}
{{ end }}
@@ -85,9 +77,9 @@ spec:
jobs: {{ .Values.recovery.objectStore.data.jobs }}
s3Credentials:
accessKeyId:
name: {{ include "cluster.recoveryCredentials" . }}
name: {{ .Values.recovery.objectStore.endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-") }}
key: ACCESS_KEY_ID
secretAccessKey:
name: {{ include "cluster.recoveryCredentials" . }}
name: {{ .Values.recovery.objectStore.endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-") }}
key: ACCESS_SECRET_KEY
{{ end }}

View File

@@ -1,4 +1,3 @@
{{ if .Values.backup.enabled }}
{{ $context := . -}}
{{ range .Values.backup.scheduledBackups -}}
---
@@ -10,7 +9,7 @@ metadata:
labels:
{{- include "cluster.labels" $context | nindent 4 }}
spec:
immediate: {{ .immediate | default true }}
immediate: {{ .immediate | default false }}
suspend: {{ .suspend | default false }}
schedule: {{ .schedule | quote | required "Schedule is required" }}
backupOwnerReference: {{ .backupOwnerReference | default "self" }}
@@ -22,4 +21,3 @@ spec:
parameters:
barmanObjectName: "{{ include "cluster.name" $context }}-{{ .backupName }}-backup"
{{ end -}}
{{ end }}

View File

@@ -6,7 +6,6 @@ namespaceOverride: ""
# -- Type of the CNPG database. Available types:
# * `postgresql`
# * `tensorchord`
type: postgresql
# -- Cluster mode of operation. Available modes:
@@ -21,7 +20,7 @@ cluster:
# -- Default image
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: "17.5-1-bullseye"
tag: 17.6-standard-trixie
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
@@ -417,9 +416,6 @@ recovery:
# -- Backup settings
backup:
# -- You need to configure backups manually, so backups are disabled by default.
enabled: false
# -- Method to create backups, options currently are only objectStore
method: objectStore