Compare commits

..

37 Commits

Author SHA1 Message Date
alexlebens e228822694 update common chart
release-charts-generic-device-plugin / release (push) Successful in 16s
release-charts-cloudflared / release (push) Successful in 18s
renovate / renovate (push) Successful in 31s
2025-10-15 21:11:46 -05:00
alexlebens 0469bfe6ff downgrade
renovate / renovate (push) Successful in 28s
2025-10-15 17:01:23 -05:00
alexlebens 113188b039 update image
release-charts-cloudflared / release (push) Successful in 20s
renovate / renovate (push) Successful in 43s
2025-10-15 15:16:45 -05:00
alexlebens b16ac7209a Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to dfed9c5' (#127) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
release-charts-generic-device-plugin / release (push) Successful in 16s
renovate / renovate (push) Successful in 56s
Reviewed-on: #127
2025-10-14 00:33:42 +00:00
renovate-bot dd7a5a352d Update ghcr.io/squat/generic-device-plugin:latest Docker digest to dfed9c5
lint-and-test / lint-test (pull_request) Successful in 29s
2025-10-14 00:01:21 +00:00
alexlebens b6a0fd8661 Merge pull request 'Update dependency python to 3.14' (#126) from renovate/python-3.x into main
renovate / renovate (push) Successful in 56s
Reviewed-on: #126
2025-10-07 20:18:16 +00:00
alexlebens dc46ba5939 Merge pull request 'Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 7b67623' (#125) from renovate/ghcr.io-squat-generic-device-plugin-latest into main
renovate / renovate (push) Has been cancelled
release-charts-generic-device-plugin / release (push) Successful in 44s
Reviewed-on: #125
2025-10-07 20:17:50 +00:00
renovate-bot 06b4b4c8d0 Update dependency python to 3.14
lint-and-test / lint-test (pull_request) Successful in 1m45s
2025-10-07 20:12:37 +00:00
renovate-bot b94ae7ef72 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 7b67623
lint-and-test / lint-test (pull_request) Successful in 1m50s
2025-10-07 20:12:34 +00:00
alexlebens a9e669fd76 disable rule
release-charts-postgres-cluster / release (push) Successful in 25s
renovate / renovate (push) Successful in 40s
2025-10-07 15:12:07 -05:00
alexlebens 19bd111758 increase alert
release-charts-postgres-cluster / release (push) Successful in 20s
renovate / renovate (push) Successful in 2m57s
2025-10-04 00:19:13 -05:00
alexlebens e5ab5017b7 fix
renovate / renovate (push) Successful in 38s
2025-10-03 23:48:13 -05:00
alexlebens 2d661bafa0 ignore patches
renovate / renovate (push) Successful in 16s
2025-10-03 23:47:01 -05:00
alexlebens 7901a085f5 update to standard type image
release-charts-postgres-cluster / release (push) Successful in 24s
renovate / renovate (push) Successful in 39s
2025-10-03 23:36:46 -05:00
alexlebens d403cc4066 remove tensorchord option
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Has been cancelled
2025-10-03 23:35:42 -05:00
alexlebens da4a2acd8a fix context
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 1m49s
2025-10-02 22:13:51 -05:00
alexlebens ae3897832b add credential defaults
release-charts-postgres-cluster / release (push) Successful in 41s
renovate / renovate (push) Successful in 1m7s
2025-10-02 22:10:08 -05:00
alexlebens de2b30b476 chagne default backup behavior
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 36s
2025-10-02 21:56:30 -05:00
alexlebens 58e380c9ea fix values
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 39s
2025-10-02 21:41:55 -05:00
alexlebens 2dfa733e49 fix recovery config
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 40s
2025-10-02 21:35:57 -05:00
alexlebens 227c0db540 remove bool for backups
release-charts-postgres-cluster / release (push) Successful in 20s
renovate / renovate (push) Successful in 40s
2025-10-02 21:20:46 -05:00
alexlebens e09e2ba56f fix recovery credentials
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 59s
2025-10-02 21:05:38 -05:00
alexlebens bf18a84ea2 fix if statement 2025-10-02 21:04:09 -05:00
alexlebens 01bcb37e45 use values explicitly
release-charts-postgres-cluster / release (push) Successful in 22s
renovate / renovate (push) Successful in 1m15s
2025-10-02 21:01:53 -05:00
alexlebens 8e2f1d13e7 fix values
release-charts-postgres-cluster / release (push) Successful in 17s
renovate / renovate (push) Successful in 37s
2025-10-02 20:51:01 -05:00
alexlebens 01052fa169 change credential handling
release-charts-generic-device-plugin / release (push) Successful in 16s
release-charts-postgres-cluster / release (push) Successful in 16s
renovate / renovate (push) Successful in 50s
2025-10-02 20:46:15 -05:00
alexlebens 049829d7ef fix credential naming
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
renovate / renovate (push) Successful in 2m12s
2025-10-02 17:24:45 -05:00
alexlebens 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
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
renovate-bot 8fa08ea571 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 359bcdd
lint-and-test / lint-test (pull_request) Successful in 34s
2025-09-29 00:01:04 +00:00
alexlebens a74dcf8d07 Merge pull request 'Update cloudflare/cloudflared Docker tag to v2025.9.1' (#121) from renovate/cloudflare-cloudflared-2025.x into main
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
alexlebens 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
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
renovate-bot a277a8459f Update cloudflare/cloudflared Docker tag to v2025.9.1
lint-and-test / lint-test (pull_request) Successful in 19s
2025-09-22 23:29:09 +00:00
renovate-bot 5635efb0bf Update ghcr.io/squat/generic-device-plugin:latest Docker digest to 4578784
lint-and-test / lint-test (pull_request) Successful in 18s
2025-09-22 23:29:06 +00:00
alexlebens cb9b22574a update base chart
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
alexlebens 76aef8d563 update base chart
release-charts-cloudflared / release (push) Successful in 15s
renovate / renovate (push) Successful in 48s
2025-09-22 18:27:31 -05:00
alexlebens 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
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
renovate-bot d51b0a0f05 Update ghcr.io/squat/generic-device-plugin:latest Docker digest to e18ea28
lint-and-test / lint-test (pull_request) Successful in 1m37s
2025-09-22 00:01:50 +00:00
16 changed files with 98 additions and 164 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: cloudflared name: cloudflared
version: 1.21.0 version: 1.22.1
description: Cloudflared Tunnel description: Cloudflared Tunnel
keywords: keywords:
- cloudflare - cloudflare
@@ -13,6 +13,6 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://bjw-s-labs.github.io/helm-charts/ repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.2.0 version: 4.4.0
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
appVersion: "2025.7.0" appVersion: "2025.10.0"
+3 -3
View File
@@ -1,6 +1,6 @@
# cloudflared # 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.22.1](https://img.shields.io/badge/Version-1.22.1-informational?style=flat-square) ![AppVersion: 2025.10.0](https://img.shields.io/badge/AppVersion-2025.10.0-informational?style=flat-square)
Cloudflared Tunnel Cloudflared Tunnel
@@ -19,7 +19,7 @@ Cloudflared Tunnel
| Repository | Name | Version | | 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.4.0 |
## Values ## Values
@@ -27,7 +27,7 @@ Cloudflared Tunnel
|-----|------|---------|-------------| |-----|------|---------|-------------|
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret | | 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 | | 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.10.0"}` | Default image |
| name | string | `"cloudflared"` | Name override of release | | name | string | `"cloudflared"` | Name override of release |
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources | | resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |
+1 -1
View File
@@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token
# -- Default image # -- Default image
image: image:
repository: cloudflare/cloudflared repository: cloudflare/cloudflared
tag: "2025.9.0" tag: "2025.10.0"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- Default resources # -- Default resources
+3 -3
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: generic-device-plugin name: generic-device-plugin
version: 0.8.0 version: 0.15.0
description: Generic Device Plugin description: Generic Device Plugin
keywords: keywords:
- generic-device-plugin - generic-device-plugin
@@ -14,5 +14,5 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://bjw-s-labs.github.io/helm-charts/ repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.2.0 version: 4.4.0
appVersion: 0.7.0 appVersion: 0.15.0
+4 -4
View File
@@ -1,6 +1,6 @@
# generic-device-plugin # 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.15.0](https://img.shields.io/badge/Version-0.15.0-informational?style=flat-square) ![AppVersion: 0.15.0](https://img.shields.io/badge/AppVersion-0.15.0-informational?style=flat-square)
Generic Device Plugin Generic Device Plugin
@@ -19,7 +19,7 @@ Generic Device Plugin
| Repository | Name | Version | | 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.4.0 |
## Values ## 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 | 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) | | 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 | | 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:dfed9c5fa93385719ef25eb5e88e5a06bd8748519b6a26ed2c9a2529d1c4f88c"}` | Default image |
| name | string | `"generic-device-plugin"` | Name override of release | | 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 | | service | object | `{"listenPort":8080}` | Service port |
---------------------------------------------- ----------------------------------------------
+1 -4
View File
@@ -4,7 +4,7 @@ name: generic-device-plugin
# -- Default image # -- Default image
image: image:
repository: ghcr.io/squat/generic-device-plugin repository: ghcr.io/squat/generic-device-plugin
tag: latest@sha256:c61dd84b6d8f1e07fb647949df9a13e705d3f3ee3b70fadce30319083528e687 tag: latest@sha256:dfed9c5fa93385719ef25eb5e88e5a06bd8748519b6a26ed2c9a2529d1c4f88c
pullPolicy: Always pullPolicy: Always
# -- Domain used by devices for identifcation # -- Domain used by devices for identifcation
@@ -16,9 +16,6 @@ service:
# -- Default resources # -- Default resources
resources: resources:
limit:
cpu: 100m
memory: 20Mi
requests: requests:
cpu: 50m cpu: 50m
memory: 10Mi memory: 10Mi
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: postgres-cluster name: postgres-cluster
version: 6.4.4 version: 6.13.0
description: Cloudnative-pg Cluster description: Cloudnative-pg Cluster
keywords: keywords:
- database - database
@@ -11,4 +11,4 @@ sources:
maintainers: maintainers:
- name: alexlebens - name: alexlebens
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4 icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
appVersion: v1.26.0 appVersion: v1.27.0
+7 -8
View File
@@ -1,6 +1,6 @@
# postgres-cluster # 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.13.0](https://img.shields.io/badge/Version-6.13.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 Cloudnative-pg Cluster
@@ -19,22 +19,21 @@ Cloudnative-pg Cluster
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| backup | object | `{"enabled":false,"method":"objectStore","objectStore":[],"scheduledBackups":[]}` | Backup settings | | backup | object | `{"method":"objectStore","objectStore":[],"scheduledBackups":[]}` | Backup settings |
| backup.enabled | bool | `false` | You need to configure backups manually, so backups are disabled by default. |
| backup.method | string | `"objectStore"` | Method to create backups, options currently are only objectStore | | backup.method | string | `"objectStore"` | Method to create backups, options currently are only objectStore |
| backup.objectStore | list | `[]` | Options for object store backups | | backup.objectStore | list | `[]` | Options for object store backups |
| backup.scheduledBackups | list | `[]` | List of scheduled 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":["CNPGClusterLastFailedArchiveTimeWarning"]}},"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.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.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.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.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.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.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 | | 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 |
| cluster.logLevel | string | `"info"` | The instances' log level, one of the following values: error, warning, info (default), debug, trace | | cluster.logLevel | string | `"info"` | The instances' log level, one of the following values: error, warning, info (default), debug, trace |
| cluster.monitoring | object | `{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":false,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | | cluster.monitoring | object | `{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":false,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":false,"excludeRules":["CNPGClusterLastFailedArchiveTimeWarning"]}}` | Enable default monitoring and alert rules |
| cluster.monitoring.customQueries | list | `[]` | Custom Prometheus metrics Will be stored in the ConfigMap | | cluster.monitoring.customQueries | list | `[]` | Custom Prometheus metrics Will be stored in the ConfigMap |
| cluster.monitoring.customQueriesSecret | list | `[]` | The list of secrets containing the custom queries | | cluster.monitoring.customQueriesSecret | list | `[]` | The list of secrets containing the custom queries |
| cluster.monitoring.disableDefaultQueries | bool | `false` | Whether the default queries should be injected. Set it to true if you don't want to inject default queries into the cluster. | | cluster.monitoring.disableDefaultQueries | bool | `false` | Whether the default queries should be injected. Set it to true if you don't want to inject default queries into the cluster. |
@@ -43,7 +42,7 @@ Cloudnative-pg Cluster
| cluster.monitoring.podMonitor.metricRelabelings | list | `[]` | The list of metric relabelings for the PodMonitor. Applied to samples before ingestion. | | cluster.monitoring.podMonitor.metricRelabelings | list | `[]` | The list of metric relabelings for the PodMonitor. Applied to samples before ingestion. |
| cluster.monitoring.podMonitor.relabelings | list | `[]` | The list of relabelings for the PodMonitor. Applied to samples before scraping. | | cluster.monitoring.podMonitor.relabelings | list | `[]` | The list of relabelings for the PodMonitor. Applied to samples before scraping. |
| cluster.monitoring.prometheusRule.enabled | bool | `false` | Whether to enable the PrometheusRule automated alerts | | cluster.monitoring.prometheusRule.enabled | bool | `false` | Whether to enable the PrometheusRule automated alerts |
| cluster.monitoring.prometheusRule.excludeRules | list | `[]` | Exclude specified rules | | cluster.monitoring.prometheusRule.excludeRules | list | `["CNPGClusterLastFailedArchiveTimeWarning"]` | Exclude specified rules |
| cluster.postgresUID | int | `-1` | The UID and GID of the postgres user inside the image, defaults to 26 | | cluster.postgresUID | int | `-1` | The UID and GID of the postgres user inside the image, defaults to 26 |
| cluster.postgresql | object | `{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}}` | Parameters to be set for the database itself See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration | | cluster.postgresql | object | `{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}}` | Parameters to be set for the database itself See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration |
| cluster.postgresql.ldap | object | `{}` | PostgreSQL LDAP configuration (see https://cloudnative-pg.io/documentation/current/postgresql_conf/#ldap-configuration) | | cluster.postgresql.ldap | object | `{}` | PostgreSQL LDAP configuration (see https://cloudnative-pg.io/documentation/current/postgresql_conf/#ldap-configuration) |
@@ -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.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.name | string | `""` | Name of the secret containing the password |
| recovery.pgBaseBackup.source.passwordSecret.value | string | `""` | The password value to use when creating the secret | | 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) Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
@@ -6,7 +6,7 @@ annotations:
description: |- description: |-
Archiving failed for {{`{{`}} $labels.pod {{`}}`}} Archiving failed for {{`{{`}} $labels.pod {{`}}`}}
expr: | expr: |
(cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 1 (cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 2
for: 1m for: 1m
labels: labels:
severity: warning severity: warning
@@ -11,21 +11,8 @@ bootstrap:
{{- if .Values.cluster.initdb.owner }} {{- if .Values.cluster.initdb.owner }}
owner: {{ tpl .Values.cluster.initdb.owner . }} owner: {{ tpl .Values.cluster.initdb.owner . }}
{{- end }} {{- end }}
{{- if eq .Values.type "tensorchord" }} {{- if (.Values.cluster.initdb.postInitApplicationSQL) }}
dataChecksums: true
{{- end }}
{{- if or (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }}
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 }} {{- with .Values.cluster.initdb }}
{{- range .postInitApplicationSQL }} {{- range .postInitApplicationSQL }}
{{- printf "- %s" . | nindent 6 }} {{- printf "- %s" . | nindent 6 }}
@@ -83,21 +83,3 @@ Generate recovery server name
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.objectStore.index) | trunc 63 | trimSuffix "-" -}} {{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.objectStore.index) | trunc 63 | trimSuffix "-" -}}
{{- end }} {{- end }}
{{- 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 }}
+7 -11
View File
@@ -19,10 +19,8 @@ spec:
{{- end }} {{- end }}
postgresUID: {{ include "cluster.postgresUID" . }} postgresUID: {{ include "cluster.postgresUID" . }}
postgresGID: {{ include "cluster.postgresGID" . }} postgresGID: {{ include "cluster.postgresGID" . }}
{{ if or (eq .Values.backup.method "objectStore") (eq .Values.recovery.method "objectStore") }}
plugins:
{{ end }}
{{- range $objectStore := .Values.backup.objectStore }} {{- range $objectStore := .Values.backup.objectStore }}
plugins:
- name: barman-cloud.cloudnative-pg.io - name: barman-cloud.cloudnative-pg.io
enabled: true enabled: true
isWALArchiver: {{ $objectStore.isWALArchiver | default true }} isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
@@ -34,10 +32,11 @@ spec:
serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}" serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}"
{{- end }} {{- end }}
{{- end }} {{- end }}
{{ if eq .Values.recovery.method "objectStore" }} {{ if (eq .Values.recovery.method "objectStore") }}
- name: barman-cloud.cloudnative-pg.io externalClusters:
enabled: true - name: recovery
isWALArchiver: false plugin:
name: barman-cloud.cloudnative-pg.io
parameters: parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}" barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }} serverName: {{ include "cluster.recoveryServerName" . }}
@@ -81,11 +80,8 @@ spec:
enablePDB: {{ .Values.cluster.enablePDB }} enablePDB: {{ .Values.cluster.enablePDB }}
postgresql: 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: shared_preload_libraries:
{{- if eq .Values.type "tensorchord" }}
- vectors.so
{{- end }}
{{- with .Values.cluster.postgresql.shared_preload_libraries }} {{- with .Values.cluster.postgresql.shared_preload_libraries }}
{{- toYaml . | nindent 6 }} {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
@@ -1,4 +1,4 @@
{{ if and (.Values.backup.enabled) (eq .Values.backup.method "objectStore") }} {{ if (eq .Values.backup.method "objectStore") }}
{{ $context := . -}} {{ $context := . -}}
{{ range .Values.backup.objectStore -}} {{ range .Values.backup.objectStore -}}
--- ---
@@ -27,7 +27,7 @@ spec:
{{ end }} {{ end }}
maxParallel: {{ .wal.maxParallel | default "1" }} maxParallel: {{ .wal.maxParallel | default "1" }}
{{- end }} {{- end }}
{{- if .wal }} {{- if .data }}
data: data:
compression: {{ .data.compression | default "snappy" }} compression: {{ .data.compression | default "snappy" }}
{{- with .data.encryption }} {{- with .data.encryption }}
@@ -37,18 +37,10 @@ spec:
{{- end }} {{- end }}
s3Credentials: s3Credentials:
accessKeyId: accessKeyId:
{{- if .endpointCredentials }} name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
name: {{ .endpointCredentials }}
{{- else }}
name: {{ include "cluster.backupCredentials" $context }}
{{- end }}
key: ACCESS_KEY_ID key: ACCESS_KEY_ID
secretAccessKey: secretAccessKey:
{{- if .endpointCredentials }} name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
name: {{ .endpointCredentials }}
{{- else }}
name: {{ include "cluster.backupCredentials" $context }}
{{- end }}
key: ACCESS_SECRET_KEY key: ACCESS_SECRET_KEY
{{ end -}} {{ end -}}
{{ end }} {{ end }}
@@ -85,9 +77,9 @@ spec:
jobs: {{ .Values.recovery.objectStore.data.jobs }} jobs: {{ .Values.recovery.objectStore.data.jobs }}
s3Credentials: s3Credentials:
accessKeyId: 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 key: ACCESS_KEY_ID
secretAccessKey: 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 key: ACCESS_SECRET_KEY
{{ end }} {{ end }}
@@ -1,4 +1,3 @@
{{ if .Values.backup.enabled }}
{{ $context := . -}} {{ $context := . -}}
{{ range .Values.backup.scheduledBackups -}} {{ range .Values.backup.scheduledBackups -}}
--- ---
@@ -10,7 +9,7 @@ metadata:
labels: labels:
{{- include "cluster.labels" $context | nindent 4 }} {{- include "cluster.labels" $context | nindent 4 }}
spec: spec:
immediate: {{ .immediate | default true }} immediate: {{ .immediate | default false }}
suspend: {{ .suspend | default false }} suspend: {{ .suspend | default false }}
schedule: {{ .schedule | quote | required "Schedule is required" }} schedule: {{ .schedule | quote | required "Schedule is required" }}
backupOwnerReference: {{ .backupOwnerReference | default "self" }} backupOwnerReference: {{ .backupOwnerReference | default "self" }}
@@ -22,4 +21,3 @@ spec:
parameters: parameters:
barmanObjectName: "{{ include "cluster.name" $context }}-{{ .backupName }}-backup" barmanObjectName: "{{ include "cluster.name" $context }}-{{ .backupName }}-backup"
{{ end -}} {{ end -}}
{{ end }}
+3 -6
View File
@@ -6,7 +6,6 @@ namespaceOverride: ""
# -- Type of the CNPG database. Available types: # -- Type of the CNPG database. Available types:
# * `postgresql` # * `postgresql`
# * `tensorchord`
type: postgresql type: postgresql
# -- Cluster mode of operation. Available modes: # -- Cluster mode of operation. Available modes:
@@ -21,7 +20,7 @@ cluster:
# -- Default image # -- Default image
image: image:
repository: ghcr.io/cloudnative-pg/postgresql 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. # -- 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 # More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
@@ -131,7 +130,8 @@ cluster:
enabled: false enabled: false
# -- Exclude specified rules # -- Exclude specified rules
excludeRules: [] excludeRules:
- CNPGClusterLastFailedArchiveTimeWarning
# -- Whether the default queries should be injected. # -- Whether the default queries should be injected.
# Set it to true if you don't want to inject default queries into the cluster. # Set it to true if you don't want to inject default queries into the cluster.
@@ -417,9 +417,6 @@ recovery:
# -- Backup settings # -- Backup settings
backup: 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 to create backups, options currently are only objectStore
method: objectStore method: objectStore
+8 -22
View File
@@ -13,12 +13,8 @@
"packageRules": [ "packageRules": [
{ {
"description": "Label charts", "description": "Label charts",
"matchDatasources": [ "matchDatasources": ["helm"],
"helm" "addLabels": ["chart"],
],
"addLabels": [
"chart"
],
"automerge": false, "automerge": false,
"bumpVersions": [ "bumpVersions": [
{ {
@@ -30,12 +26,8 @@
}, },
{ {
"description": "Label images", "description": "Label images",
"matchDatasources": [ "matchDatasources": ["docker"],
"docker" "addLabels": ["image"],
],
"addLabels": [
"image"
],
"automerge": false, "automerge": false,
"bumpVersions": [ "bumpVersions": [
{ {
@@ -47,17 +39,11 @@
}, },
{ {
"description": "CNPG image", "description": "CNPG image",
"matchDepNames": [ "matchDepNames": ["ghcr.io/cloudnative-pg/postgresql"],
"ghcr.io/cloudnative-pg/postgresql" "matchDatasources": ["docker"],
], "addLabels": ["image"],
"matchDatasources": [ "matchUpdateTypes": ["major", "minor"],
"docker"
],
"addLabels": [
"image"
],
"automerge": false, "automerge": false,
"versioning": "deb",
"bumpVersions": [ "bumpVersions": [
{ {
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"], "filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],