From c795f18c810e6be50c59feaea091587aca07f570 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:31:27 +0000 Subject: [PATCH 01/73] Update Helm release common to v3.3.2 --- charts/cloudflared/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index dd434d8..cb97e7c 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.2.1 + version: 3.3.2 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 appVersion: "2024.6.1" -- 2.49.1 From 6a33a670e151cace7afd561eeaf4d8e8e44c818d Mon Sep 17 00:00:00 2001 From: alexlebens Date: Mon, 19 Aug 2024 16:40:16 -0500 Subject: [PATCH 02/73] update common chart --- charts/cloudflared/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index dd434d8..8b16319 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.4.1 +version: 1.5.1 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.2.1 + version: 3.3.2 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 appVersion: "2024.6.1" -- 2.49.1 From 5fe95ea7ad217a0f54c29bece6ff8ecf9be45976 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:40:33 -0500 Subject: [PATCH 03/73] Update renovate/renovate Docker tag to v38 (#62) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/renovate-update-notification/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate-update-notification/Dockerfile b/.github/renovate-update-notification/Dockerfile index 40cc418..3d0cf2e 100644 --- a/.github/renovate-update-notification/Dockerfile +++ b/.github/renovate-update-notification/Dockerfile @@ -1,2 +1,2 @@ # This file is processed by Renovate bot so that it creates a PR on new major Renovate versions -FROM renovate/renovate:37 \ No newline at end of file +FROM renovate/renovate:38 \ No newline at end of file -- 2.49.1 From ee944a6b83ee350cb4faa1ad043c9a2f6d0e0959 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Mon, 19 Aug 2024 16:41:13 -0500 Subject: [PATCH 04/73] update image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 8b16319..e816864 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.5.1 +version: 1.6.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.3.2 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.6.1" +appVersion: "2024.8.2" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 9362fe7..0bedd44 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.6.1" + tag: "2024.8.2" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 843e37e233b03016eb5e34b18562951d262c25fc Mon Sep 17 00:00:00 2001 From: alexlebens Date: Mon, 19 Aug 2024 16:42:54 -0500 Subject: [PATCH 05/73] update postresql image --- charts/postgres-cluster/Chart.yaml | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 0dad774..62f068c 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.8.4 +version: 3.9.0 description: Chart for cloudnative-pg cluster keywords: - database @@ -10,4 +10,4 @@ sources: maintainers: - name: alexlebens icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4 -appVersion: v1.23.1 +appVersion: v1.23.3 diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 1c9b741..01e4906 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -20,7 +20,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.3" + tag: "16.4" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From e5b1b733fe82d526bebbf2134fff1ff70d7e88d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 01:30:19 -0500 Subject: [PATCH 06/73] Update cloudflare/cloudflared Docker tag to v2024.8.3 (#63) * Update cloudflare/cloudflared Docker tag to v2024.8.3 * update chart --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: alexlebens --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index e816864..ea01658 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.6.0 +version: 1.7.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.3.2 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.8.2" +appVersion: "2024.8.3" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 0bedd44..01cb0e3 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.8.2" + tag: "2024.8.3" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 3ecef5f8d14604c71b211821a9c1871bf8374506 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 27 Sep 2024 21:27:01 -0500 Subject: [PATCH 07/73] add options for tagging --- charts/postgres-cluster/Chart.yaml | 4 ++-- charts/postgres-cluster/templates/_backup.tpl | 8 ++++++++ charts/postgres-cluster/values.yaml | 11 +++++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 62f068c..3272cf1 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.9.0 +version: 3.10.0 description: Chart for cloudnative-pg cluster keywords: - database @@ -10,4 +10,4 @@ sources: maintainers: - name: alexlebens icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4 -appVersion: v1.23.3 +appVersion: v1.24.0 diff --git a/charts/postgres-cluster/templates/_backup.tpl b/charts/postgres-cluster/templates/_backup.tpl index 934cf72..76bf33c 100644 --- a/charts/postgres-cluster/templates/_backup.tpl +++ b/charts/postgres-cluster/templates/_backup.tpl @@ -11,6 +11,14 @@ backup: key: ca-bundle.crt {{- end }} serverName: "{{ include "cluster.name" . }}-backup-{{ .Values.backup.backupIndex }}" + tags: + {{- with .Values.backup.tags }} + {{- . | toYaml | nindent 6 }} + {{- end }} + historyTags: + {{- with .Values.backup.historyTags }} + {{- . | toYaml | nindent 6 }} + {{- end }} s3Credentials: accessKeyId: name: {{ include "cluster.backupCredentials" . }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 01e4906..b6ade83 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -174,6 +174,13 @@ backup: # Name of the backup cluster in the object store, defaults to "cluster.name" backupName: "" + # Tags to add to backups. Add in key value beneath the type. + tags: + backupRetentionPolicy: "expire" + historyTags: + backupRetentionPolicy: "keep" + + # Configuration for the WAL and data files. wal: # WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy @@ -190,7 +197,7 @@ backup: jobs: 2 # Retention policy for backups - retentionPolicy: "30d" + retentionPolicy: "60d" # Scheduled backup in cron format - schedule: "0 0 0 * * *" + schedule: "0 0 */3 * *" -- 2.49.1 From 9107020db25a820a8ba07197f2351e3cc2b20175 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 27 Sep 2024 21:28:05 -0500 Subject: [PATCH 08/73] update chart and image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index ea01658..9189aa6 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.3.2 + version: 3.4.0 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.8.3" +appVersion: "2024.9.1" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 01cb0e3..11f16e2 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.8.3" + tag: "2024.9.1" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 8b2342d1c2ce4814c28d41b0246f009c5b257fb9 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 27 Sep 2024 21:29:54 -0500 Subject: [PATCH 09/73] bump chart version --- charts/cloudflared/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 9189aa6..2bf4d3d 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.7.0 +version: 1.8.0 description: Cloudflared Tunnel keywords: - cloudflare -- 2.49.1 From ab3ca491032de0de68c0d00300fc121e1ed07ede Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 28 Sep 2024 02:05:34 -0500 Subject: [PATCH 10/73] add tensorchord type --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 9 +++++++-- charts/postgres-cluster/templates/cluster.yaml | 8 ++++++++ charts/postgres-cluster/values.yaml | 2 ++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 3272cf1..72613e4 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.10.0 +version: 3.11.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index ccc06bd..6378a54 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -7,7 +7,7 @@ bootstrap: {{- . | toYaml | nindent 4 }} {{- end }} {{- end }} - {{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (.Values.cluster.initdb.postInitApplicationSQL) }} + {{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }} postInitApplicationSQL: {{- if eq .Values.type "postgis" }} - CREATE EXTENSION IF NOT EXISTS postgis; @@ -16,13 +16,18 @@ bootstrap: - CREATE EXTENSION IF NOT EXISTS postgis_tiger_geocoder; {{- else if eq .Values.type "timescaledb" }} - CREATE EXTENSION IF NOT EXISTS timescaledb; + {{- else if eq .Values.type "tensorchord" }} + - CREATE EXTENSION IF NOT EXISTS "vector"; + - CREATE EXTENSION IF NOT EXISTS "vectors"; + - CREATE EXTENSION IF NOT EXISTS "cube"; + - CREATE EXTENSION IF NOT EXISTS "earthdistance"; {{- end }} {{- with .Values.cluster.initdb }} {{- range .postInitApplicationSQL }} {{- printf "- %s" . | nindent 6 }} {{- end }} {{- end }} - {{- end }} + {{- end }} {{- else if eq .Values.mode "replica" }} initdb: import: diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index 408c461..e6c7641 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -43,6 +43,14 @@ spec: shared_preload_libraries: - timescaledb {{- end }} + {{- if eq .Values.type "tensorchord" }} + shared_preload_libraries: + - vectors.so + {{- end }} + {{- with .Values.cluster.postgresql.shared_preload_libraries }} + shared_preload_libraries: + {{- toYaml . | nindent 6 }} + {{ end }} {{- with .Values.cluster.postgresql.parameters }} parameters: {{- toYaml . | nindent 6 }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index b6ade83..5d1a26a 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -6,6 +6,7 @@ nameOverride: "" # * `postgresql` # * `postgis` # * `timescaledb` +# * `tensorchord` type: postgresql ### @@ -77,6 +78,7 @@ cluster: shared_buffers: 128MB max_slot_wal_keep_size: 2000MB hot_standby_feedback: "on" + shared_preload_libraries: [] # BootstrapInitDB is the configuration of the bootstrap process when initdb is used. # See: https://cloudnative-pg.io/documentation/current/bootstrap/ -- 2.49.1 From 84af71da49460dd4ee88b9d7710c731c730f7386 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 28 Sep 2024 02:07:28 -0500 Subject: [PATCH 11/73] add tag for postgres version --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 72613e4..ab774fd 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.11.0 +version: 3.12.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 5d1a26a..8f50bdc 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.4" + tag: "16.4-26" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From 5d5aad265afc39e04bbd43bf507fe6c79b0d912e Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 28 Sep 2024 16:43:45 -0500 Subject: [PATCH 12/73] fix settings for tensorchord type --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 9 ++++++++- charts/postgres-cluster/templates/cluster.yaml | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index ab774fd..21ababb 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.12.0 +version: 3.12.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 6378a54..2c8e0da 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -7,6 +7,9 @@ bootstrap: {{- . | toYaml | nindent 4 }} {{- end }} {{- end }} + {{- if eq .Values.type "tensorchord" }} + dataChecksums: true + {{- end }} {{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }} postInitApplicationSQL: {{- if eq .Values.type "postgis" }} @@ -17,10 +20,14 @@ bootstrap: {{- else if eq .Values.type "timescaledb" }} - CREATE EXTENSION IF NOT EXISTS timescaledb; {{- else if eq .Values.type "tensorchord" }} - - CREATE EXTENSION IF NOT EXISTS "vector"; + - 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 }} diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index e6c7641..adea04d 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -46,6 +46,7 @@ spec: {{- if eq .Values.type "tensorchord" }} shared_preload_libraries: - vectors.so + enableAlterSystem: true {{- end }} {{- with .Values.cluster.postgresql.shared_preload_libraries }} shared_preload_libraries: -- 2.49.1 From 172526fb79fdf221167650c4e531dec76d0ef4c5 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 11 Oct 2024 19:03:23 -0500 Subject: [PATCH 13/73] update common chart --- charts/cloudflared/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 2bf4d3d..cf344fc 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.8.0 +version: 1.8.1 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.4.0 + version: 3.5.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 appVersion: "2024.9.1" -- 2.49.1 From 53191f1d6853e90a7086a5718470e7359e883d6b Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 12 Oct 2024 23:18:07 -0500 Subject: [PATCH 14/73] add generic device plugin --- charts/generic-device-plugin/Chart.yaml | 18 +++++ charts/generic-device-plugin/README.md | 16 ++++ .../templates/common.yaml | 76 +++++++++++++++++++ charts/generic-device-plugin/values.yaml | 74 ++++++++++++++++++ 4 files changed, 184 insertions(+) create mode 100644 charts/generic-device-plugin/Chart.yaml create mode 100644 charts/generic-device-plugin/README.md create mode 100644 charts/generic-device-plugin/templates/common.yaml create mode 100644 charts/generic-device-plugin/values.yaml diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml new file mode 100644 index 0000000..adcbe4e --- /dev/null +++ b/charts/generic-device-plugin/Chart.yaml @@ -0,0 +1,18 @@ +apiVersion: v2 +name: generic-device-plugin +version: 0.1.0 +description: Generic Device Plugin +keywords: + - generic-device-plugin + - device + - plugin +sources: + - https://github.com/squat/generic-device-plugin + - https://github.com/bjw-s/helm-charts/tree/main/charts/library/common +maintainers: + - name: alexlebens +dependencies: + - name: common + repository: https://bjw-s.github.io/helm-charts/ + version: 3.5.1 +appVersion: 0.1.0 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md new file mode 100644 index 0000000..8094734 --- /dev/null +++ b/charts/generic-device-plugin/README.md @@ -0,0 +1,16 @@ +## Introduction + +[Generic Device Plugin](https://github.com/squat/generic-device-plugin) + +The generic-device-plugin enables allocating generic Linux devices, such as serial devices, the FUSE device, or video cameras, to Kubernetes Pods. + +This chart bootstraps a [Generic Device Plugin](https://github.com/squat/generic-device-plugin) daemonset on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. + +## Prerequisites + +- Kubernetes +- Helm + +## Parameters + +See the [values files](values.yaml). diff --git a/charts/generic-device-plugin/templates/common.yaml b/charts/generic-device-plugin/templates/common.yaml new file mode 100644 index 0000000..dc6740d --- /dev/null +++ b/charts/generic-device-plugin/templates/common.yaml @@ -0,0 +1,76 @@ +{{- include "bjw-s.common.loader.init" . }} + +{{- define "genericDevicePlugin.hardcodedValues" -}} +{{ if not .Values.global.nameOverride }} +global: + nameOverride: {{ .Values.name }} +{{ end }} +controllers: + main: + type: daemonset + strategy: RollingUpdate + containers: + main: + image: + repository: {{ .Values.image.repository }} + tag: {{ .Values.image.tag }} + pullPolicy: {{ .Values.image.pullPolicy }} + args: + - --config=/config/config.yaml + env: + - name: LISTEN + value: {{ .Values.service.listenPort }} + - name: PLUGIN_DIRECTORY + value: /var/lib/kubelet/device-plugins + - name: DOMAIN + value: {{ .Values.deviceDomain }} + probes: + liveness: + type: HTTP + path: /health + readiness: + type: HTTP + path: /health + startup: + type: HTTP + path: /health + securityContext: + privileged: True +configMaps: + config: + enabled: {{ .Values.config.enabled }} + data: + config.yaml: {{ toYaml .Values.config.data | nindent 8 }} +service: + main: + controller: main + ports: + http: + port: {{ .Values.service.listenPort }} +persistence: + config: + enabled: true + type: configMap + name: {{ .Values.name }}-config + device-plugins: + enabled: true + type: hostPath + hostPath: /var/lib/kubelet/device-plugins + dev: + enabled: true + type: hostPath + hostPath: /dev +serviceMonitor: + main: + serviceName: generic-device-plugin + endpoints: + - port: http + scheme: http + path: /metrics + interval: 30s + scrapeTimeout: 10s +{{- end -}} +{{- $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) -}} + +{{/* Render the templates */}} +{{ include "bjw-s.common.loader.generate" . }} diff --git a/charts/generic-device-plugin/values.yaml b/charts/generic-device-plugin/values.yaml new file mode 100644 index 0000000..60c5ce3 --- /dev/null +++ b/charts/generic-device-plugin/values.yaml @@ -0,0 +1,74 @@ +name: generic-device-plugin + +image: + repository: ghcr.io/squat/generic-device-plugin + pullPolicy: Always + tag: latest + +deviceDomain: squat.ai + +service: + listenPort: 8080 + +resources: + limit: + cpu: 100m + memory: 20Mi + requests: + cpu: 50m + memory: 10Mi + +config: + enabled: true + # -- generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) + # @default -- See [values.yaml](./values.yaml) + data: | + devices: + - name: serial + groups: + - paths: + - path: /dev/ttyUSB* + - paths: + - path: /dev/ttyACM* + - paths: + - path: /dev/tty.usb* + - paths: + - path: /dev/cu.* + - paths: + - path: /dev/cuaU* + - paths: + - path: /dev/rfcomm* + - name: video + groups: + - paths: + - path: /dev/video0 + - name: fuse + groups: + - count: 10 + paths: + - path: /dev/fuse + - name: audio + groups: + - count: 10 + paths: + - path: /dev/snd + - name: capture + groups: + - paths: + - path: /dev/snd/controlC0 + - path: /dev/snd/pcmC0D0c + - paths: + - path: /dev/snd/controlC1 + mountPath: /dev/snd/controlC0 + - path: /dev/snd/pcmC1D0c + mountPath: /dev/snd/pcmC0D0c + - paths: + - path: /dev/snd/controlC2 + mountPath: /dev/snd/controlC0 + - path: /dev/snd/pcmC2D0c + mountPath: /dev/snd/pcmC0D0c + - paths: + - path: /dev/snd/controlC3 + mountPath: /dev/snd/controlC0 + - path: /dev/snd/pcmC3D0c + mountPath: /dev/snd/pcmC0D0c -- 2.49.1 From 2b31df483ec47a9f84c213e3a58181b08dbe1528 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 12 Oct 2024 23:35:08 -0500 Subject: [PATCH 15/73] listen on all addresses --- charts/generic-device-plugin/Chart.yaml | 4 ++-- charts/generic-device-plugin/templates/common.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index adcbe4e..56b8322 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.0 +version: 0.1.1 description: Generic Device Plugin keywords: - generic-device-plugin @@ -15,4 +15,4 @@ dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 -appVersion: 0.1.0 +appVersion: 0.1.1 diff --git a/charts/generic-device-plugin/templates/common.yaml b/charts/generic-device-plugin/templates/common.yaml index dc6740d..c0339c3 100644 --- a/charts/generic-device-plugin/templates/common.yaml +++ b/charts/generic-device-plugin/templates/common.yaml @@ -19,7 +19,7 @@ controllers: - --config=/config/config.yaml env: - name: LISTEN - value: {{ .Values.service.listenPort }} + value: :{{ .Values.service.listenPort }} - name: PLUGIN_DIRECTORY value: /var/lib/kubelet/device-plugins - name: DOMAIN -- 2.49.1 From ec27eff4da5e99e332f8131a0d0fb75c7abeb197 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sun, 13 Oct 2024 12:39:03 -0500 Subject: [PATCH 16/73] add priority class name and tolerations --- charts/generic-device-plugin/Chart.yaml | 4 ++-- charts/generic-device-plugin/templates/common.yaml | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index 56b8322..3d3ba02 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.1 +version: 0.1.2 description: Generic Device Plugin keywords: - generic-device-plugin @@ -15,4 +15,4 @@ dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 -appVersion: 0.1.1 +appVersion: 0.1.2 diff --git a/charts/generic-device-plugin/templates/common.yaml b/charts/generic-device-plugin/templates/common.yaml index c0339c3..79b6319 100644 --- a/charts/generic-device-plugin/templates/common.yaml +++ b/charts/generic-device-plugin/templates/common.yaml @@ -8,7 +8,13 @@ global: controllers: main: type: daemonset - strategy: RollingUpdate + pod: + priorityClassName: system-node-critical + tolerations: + - operator: "Exists" + effect: "NoExecute" + - operator: "Exists" + effect: "NoSchedule" containers: main: image: @@ -33,7 +39,7 @@ controllers: path: /health startup: type: HTTP - path: /health + path: /health securityContext: privileged: True configMaps: @@ -62,7 +68,7 @@ persistence: hostPath: /dev serviceMonitor: main: - serviceName: generic-device-plugin + serviceName: generic-device-plugin endpoints: - port: http scheme: http -- 2.49.1 From fb348972697bbbe0c8fbf3b7a1cf98dcf1f2158d Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sat, 19 Oct 2024 00:58:50 -0500 Subject: [PATCH 17/73] update image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index cf344fc..6191a62 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.8.1 +version: 1.9.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.9.1" +appVersion: "2024.10.0" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 11f16e2..458b210 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.9.1" + tag: "2024.10.0" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From b8602fb919a12189ce32ae43c7c0df974dc64201 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 23 Nov 2024 22:38:36 -0600 Subject: [PATCH 18/73] update image to 16.6 --- charts/postgres-cluster/Chart.yaml | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 21ababb..5dd662e 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.12.1 +version: 3.13.0 description: Chart for cloudnative-pg cluster keywords: - database @@ -10,4 +10,4 @@ sources: maintainers: - name: alexlebens icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4 -appVersion: v1.24.0 +appVersion: v1.24.1 diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 8f50bdc..2ae521e 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.4-26" + tag: "16.6-2" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From 4aac272e9839c41bf1fc159b935274685202be40 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 23 Nov 2024 22:39:06 -0600 Subject: [PATCH 19/73] update image --- charts/cloudflared/Chart.yaml | 2 +- charts/cloudflared/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 6191a62..30174ec 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.10.0" +appVersion: "2024.11.1" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 458b210..f8f2b4a 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.10.0" + tag: "2024.11.1" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 1f4cd543c0b93f009600782e29f16adc9278b278 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 23 Nov 2024 22:40:06 -0600 Subject: [PATCH 20/73] bump chart version --- charts/cloudflared/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 30174ec..ce40db6 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.9.0 +version: 1.10.0 description: Cloudflared Tunnel keywords: - cloudflare -- 2.49.1 From 8862d97c27c70d06c67d5e3046fcd59bed49f669 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 11:12:58 -0600 Subject: [PATCH 21/73] change retention policy --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 5dd662e..42b57c4 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.13.0 +version: 3.14.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 2ae521e..3b7eade 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -178,9 +178,9 @@ backup: # Tags to add to backups. Add in key value beneath the type. tags: - backupRetentionPolicy: "expire" + backupRetentionPolicy: "" historyTags: - backupRetentionPolicy: "keep" + backupRetentionPolicy: "" # Configuration for the WAL and data files. wal: @@ -199,7 +199,7 @@ backup: jobs: 2 # Retention policy for backups - retentionPolicy: "60d" + retentionPolicy: "14d" # Scheduled backup in cron format - schedule: "0 0 */3 * *" + schedule: "0 0 */1 * *" -- 2.49.1 From 22dcd7a14c746e25c479303ac76bb5a638fe439e Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 16 Dec 2024 10:31:56 -0600 Subject: [PATCH 22/73] update image --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 42b57c4..f586404 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.14.0 +version: 3.15.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 3b7eade..184d21d 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.6-2" + tag: "16.6-17" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From dbf8f14512e33a537f4b96ae56fa8b3061e23ddd Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 19 Dec 2024 13:58:37 -0600 Subject: [PATCH 23/73] update image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index ce40db6..f453099 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.10.0 +version: 1.11.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.11.1" +appVersion: "2024.12.1" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index f8f2b4a..d56adae 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.11.1" + tag: "2024.12.1" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 16ebdda6a4499b10b872fb2d668c622758216958 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 19 Dec 2024 13:59:37 -0600 Subject: [PATCH 24/73] update image --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index f586404..32837a0 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.15.0 +version: 3.16.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 184d21d..71337a0 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.6-17" + tag: "16.6-20" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From 601790ab7a014773d57728c01083d3870e07caa5 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 19 Dec 2024 14:50:00 -0600 Subject: [PATCH 25/73] change backup schedule --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 32837a0..ab79f9d 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.16.0 +version: 3.17.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 71337a0..05b33b7 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -202,4 +202,4 @@ backup: retentionPolicy: "14d" # Scheduled backup in cron format - schedule: "0 0 */1 * *" + schedule: "0 0 */3 * *" -- 2.49.1 From 1f867e0276f6831d46be517837da99270742913f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 20 Dec 2024 19:25:03 -0600 Subject: [PATCH 26/73] update image --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index ab79f9d..5f3bb1f 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.17.0 +version: 3.18.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 05b33b7..21dc75e 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.6-20" + tag: "16.6-22" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From 3fad4e4ff0332d0050f4c7db1e90e3771b35016d Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 20 Dec 2024 19:25:40 -0600 Subject: [PATCH 27/73] update image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index f453099..cae45f1 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.11.0 +version: 1.12.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.12.1" +appVersion: "2024.12.2" diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index d56adae..1857190 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret existingSecretKey: cf-tunnel-token image: repository: cloudflare/cloudflared - tag: "2024.12.1" + tag: "2024.12.2" pullPolicy: IfNotPresent resources: requests: -- 2.49.1 From 513c46c957f0ae1f55fb0bae5b87a96882b6a488 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 20 Dec 2024 19:33:25 -0600 Subject: [PATCH 28/73] change to midnight daily --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 5f3bb1f..104bc1a 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.18.0 +version: 3.19.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 21dc75e..c70cb60 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -202,4 +202,4 @@ backup: retentionPolicy: "14d" # Scheduled backup in cron format - schedule: "0 0 */3 * *" + schedule: "0 0 0 * * *" -- 2.49.1 From 16211d4c62c6ae218df391c8afd8a52ba54b0e67 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 18:11:29 -0600 Subject: [PATCH 29/73] remove schedule --- .github/renovate.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 976eb0f..9c78f8f 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -6,9 +6,6 @@ ":rebaseStalePrs" ], "timezone": "US/Central", - "schedule": [ - "every weekday" - ], "labels": [], "packageRules": [ { -- 2.49.1 From 24af841f192f558dd7ebe63b61eea4209c9117c5 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 18:11:39 -0600 Subject: [PATCH 30/73] update workflows --- .github/workflows/lint-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 600bde3..b24ee59 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -14,11 +14,11 @@ jobs: - name: Set up Helm uses: azure/setup-helm@v4 with: - version: v3.13.3 + version: latest - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" check-latest: true - name: Set up chart-testing -- 2.49.1 From 7dd80d4528ff21e53dc66290c19a949fbd484f79 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:55:16 -0600 Subject: [PATCH 31/73] Migrate config .github/renovate.json (#72) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/renovate.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 9c78f8f..db53a35 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -10,7 +10,7 @@ "packageRules": [ { "description": "Disables for non major Renovate version", - "matchPaths": [ + "matchFileNames": [ ".github/renovate-update-notification/Dockerfile" ], "matchUpdateTypes": [ @@ -24,7 +24,7 @@ }, { "description": "Generate for major Renovate version", - "matchPaths": [ + "matchFileNames": [ ".github/renovate-update-notification/Dockerfile" ], "matchUpdateTypes": [ -- 2.49.1 From e0e4f6ee8a5a9266ad3c021d8a0d4ec0a32640c7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:55:23 -0600 Subject: [PATCH 32/73] Update renovate/renovate Docker tag to v39 (#71) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/renovate-update-notification/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate-update-notification/Dockerfile b/.github/renovate-update-notification/Dockerfile index 3d0cf2e..a8ad660 100644 --- a/.github/renovate-update-notification/Dockerfile +++ b/.github/renovate-update-notification/Dockerfile @@ -1,2 +1,2 @@ # This file is processed by Renovate bot so that it creates a PR on new major Renovate versions -FROM renovate/renovate:38 \ No newline at end of file +FROM renovate/renovate:39 \ No newline at end of file -- 2.49.1 From b75721ae1d33ad271dd1ad63861caa8ac68d8410 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:20:03 -0600 Subject: [PATCH 33/73] add option to specifiy database name for replica --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 104bc1a..2195141 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.19.0 +version: 3.20.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 2c8e0da..52de985 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,6 +37,11 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: + {{- if .eq .Values.replica.importType "microservice" }} + {{- with index .Values.replica.importDatabases 0 }} + database: {{- . | quote }} + {{- end }} + {{- end }} import: type: {{ .Values.replica.importType }} databases: -- 2.49.1 From 1b7018d3bdc0bba76b7d6ba3f388ec0d6646cb24 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:31:00 -0600 Subject: [PATCH 34/73] fix database naming --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 2195141..7f52df8 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.0 +version: 3.20.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 52de985..86f9cbc 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,9 +37,9 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - {{- if .eq .Values.replica.importType "microservice" }} + {{- if eq .Values.replica.importType "microservice" }} {{- with index .Values.replica.importDatabases 0 }} - database: {{- . | quote }} + database: {{- . | quote }} {{- end }} {{- end }} import: -- 2.49.1 From d3307d4f706655e39bfb939bb7199e3f3d4fe36d Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:39:52 -0600 Subject: [PATCH 35/73] use different function --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 7f52df8..d9227ab 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.1 +version: 3.20.2 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 86f9cbc..663621b 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -38,9 +38,7 @@ bootstrap: {{- else if eq .Values.mode "replica" }} initdb: {{- if eq .Values.replica.importType "microservice" }} - {{- with index .Values.replica.importDatabases 0 }} - database: {{- . | quote }} - {{- end }} + database: {{ first .Values.replica.importDatabases }} {{- end }} import: type: {{ .Values.replica.importType }} -- 2.49.1 From b1a6a2fd39a8fdc3a45ffdc7bc93513de1cd4d25 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:46:17 -0600 Subject: [PATCH 36/73] remove condition --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index d9227ab..b2c3cbb 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.2 +version: 3.20.3 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 663621b..e48e5e8 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,9 +37,7 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - {{- if eq .Values.replica.importType "microservice" }} database: {{ first .Values.replica.importDatabases }} - {{- end }} import: type: {{ .Values.replica.importType }} databases: -- 2.49.1 From 93d2f916fb85a9aa4b2508100cdb4b8bf3f6b6c8 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:53:59 -0600 Subject: [PATCH 37/73] use value for name --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 2 +- charts/postgres-cluster/values.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b2c3cbb..61b5619 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.3 +version: 3.20.4 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index e48e5e8..0e7b9ce 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,7 +37,7 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - database: {{ first .Values.replica.importDatabases }} + database: {{ .Values.replica.importDatabaseName }} import: type: {{ .Values.replica.importType }} databases: diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index c70cb60..824e15e 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -139,6 +139,9 @@ replica: importDatabases: - app + # If type microservice select the name for the imported database. + importDatabaseName: app + # If type microservice no roles are imported and ignored importRoles: [] -- 2.49.1 From 32e232d8e2ce09c3a97880955b0431a80425e99f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:08:17 -0600 Subject: [PATCH 38/73] force hardcoded value for testing --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 61b5619..71707fa 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.4 +version: 3.20.5 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 0e7b9ce..fcdf34c 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,7 +37,7 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - database: {{ .Values.replica.importDatabaseName }} + database: jellyplist import: type: {{ .Values.replica.importType }} databases: -- 2.49.1 From 158d4ca676e9932a5ba9d19e93c6dab846f6fd54 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:22:34 -0600 Subject: [PATCH 39/73] change method --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 7 ++++++- charts/postgres-cluster/templates/cluster.yaml | 1 + charts/postgres-cluster/values.yaml | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 71707fa..b5fe347 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.5 +version: 3.20.6 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index fcdf34c..baa9950 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,7 +37,12 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - database: jellyplist + {{- with .Values.replica.importDatabaseName }} + database: {{ . }} + {{- end }} + {{- with .Values.replica.importOwner }} + owner: {{ . }} + {{- end }} import: type: {{ .Values.replica.importType }} databases: diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index adea04d..f56ef91 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -60,4 +60,5 @@ spec: enablePodMonitor: {{ and .Values.cluster.monitoring.enabled .Values.cluster.monitoring.podMonitor.enabled }} {{ include "cluster.bootstrap" . | nindent 2 }} + {{ include "cluster.backup" . | nindent 2 }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 824e15e..af2a3af 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -142,6 +142,9 @@ replica: # If type microservice select the name for the imported database. importDatabaseName: app + # If type microservice select the name for the database owner. + importOwner: app + # If type microservice no roles are imported and ignored importRoles: [] -- 2.49.1 From 275fcd8568c0445ff9326314b9834b249b2c9f7c Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:26:40 -0600 Subject: [PATCH 40/73] use cluster values --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 8 +++----- charts/postgres-cluster/values.yaml | 6 ------ 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b5fe347..f562d65 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.6 +version: 3.20.7 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index baa9950..6b26c9b 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,11 +37,9 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - {{- with .Values.replica.importDatabaseName }} - database: {{ . }} - {{- end }} - {{- with .Values.replica.importOwner }} - owner: {{ . }} + {{- with .Values.cluster.initdb }} + {{- with (omit . "postInitApplicationSQL") }} + {{- . | toYaml | nindent 4 }} {{- end }} import: type: {{ .Values.replica.importType }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index af2a3af..c70cb60 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -139,12 +139,6 @@ replica: importDatabases: - app - # If type microservice select the name for the imported database. - importDatabaseName: app - - # If type microservice select the name for the database owner. - importOwner: app - # If type microservice no roles are imported and ignored importRoles: [] -- 2.49.1 From 1ac9444bb23a63406b3f7909e2cf9631850fb77a Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:29:50 -0600 Subject: [PATCH 41/73] fix condition flow --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index f562d65..500caa7 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.7 +version: 3.20.8 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 6b26c9b..dca1892 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -41,6 +41,7 @@ bootstrap: {{- with (omit . "postInitApplicationSQL") }} {{- . | toYaml | nindent 4 }} {{- end }} + {{- end }} import: type: {{ .Values.replica.importType }} databases: -- 2.49.1 From c36e4e371f37f52efe800217c25590b4ea367e01 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:40:21 -0600 Subject: [PATCH 42/73] reorganize values --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 14 +++++++------- charts/postgres-cluster/values.yaml | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 500caa7..d8f15cb 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.8 +version: 3.20.9 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index dca1892..965eb94 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -2,7 +2,7 @@ bootstrap: {{- if eq .Values.mode "standalone" }} initdb: - {{- with .Values.cluster.initdb }} + {{- with .Values.bootstrap.initdb }} {{- with (omit . "postInitApplicationSQL") }} {{- . | toYaml | nindent 4 }} {{- end }} @@ -29,7 +29,7 @@ bootstrap: - 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.bootstrap.initdb }} {{- range .postInitApplicationSQL }} {{- printf "- %s" . | nindent 6 }} {{- end }} @@ -37,11 +37,6 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - {{- with .Values.cluster.initdb }} - {{- with (omit . "postInitApplicationSQL") }} - {{- . | toYaml | nindent 4 }} - {{- end }} - {{- end }} import: type: {{ .Values.replica.importType }} databases: @@ -66,6 +61,11 @@ bootstrap: {{- end }} source: externalCluster: "{{ include "cluster.name" . }}-cluster" + {{- with .Values.bootstrap.initdb }} + {{- with (omit . "postInitApplicationSQL") }} + {{- . | toYaml | nindent 4 }} + {{- end }} + {{- end }} externalClusters: - name: "{{ include "cluster.name" . }}-cluster" {{- with .Values.replica.externalCluster }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index c70cb60..a897cae 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -80,6 +80,7 @@ cluster: hot_standby_feedback: "on" shared_preload_libraries: [] +bootstrap: # BootstrapInitDB 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 -- 2.49.1 From 202a534e8e632d52924823cb4c3248e3c140c4a6 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 23:48:11 -0600 Subject: [PATCH 43/73] fix missing field --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index d8f15cb..74cd6e5 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.9 +version: 3.20.10 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 965eb94..8da5f64 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -10,7 +10,7 @@ bootstrap: {{- if eq .Values.type "tensorchord" }} dataChecksums: true {{- end }} - {{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }} + {{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.bootstrap.initdb.postInitApplicationSQL) }} postInitApplicationSQL: {{- if eq .Values.type "postgis" }} - CREATE EXTENSION IF NOT EXISTS postgis; -- 2.49.1 From d2444fb5440bc7057a6e24354340764f35ae6520 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 22 Dec 2024 17:29:30 -0600 Subject: [PATCH 44/73] set switch for superuser --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/cluster.yaml | 1 + charts/postgres-cluster/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 74cd6e5..56f18f3 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.10 +version: 3.21.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index f56ef91..b8e4c12 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -18,6 +18,7 @@ spec: imagePullPolicy: {{ .Values.cluster.image.pullPolicy }} postgresUID: {{ .Values.cluster.postgresUID }} postgresGID: {{ .Values.cluster.postgresGID }} + enableSuperuserAccess: {{ .Values.cluster.enableSuperuserAccess }} walStorage: size: {{ .Values.cluster.walStorage.size }} storageClass: {{ .Values.cluster.walStorage.storageClass }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index a897cae..c873b3f 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -28,6 +28,8 @@ cluster: postgresUID: 26 postgresGID: 26 + enableSuperuserAccess: false + walStorage: size: 2Gi storageClass: "" -- 2.49.1 From 8ec7f590b2d6240198579a6f35843b4cc6316c28 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 24 Dec 2024 21:08:05 -0600 Subject: [PATCH 45/73] upgrade base image to 17 --- charts/postgres-cluster/Chart.yaml | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 56f18f3..b4615d7 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.21.0 +version: 4.0.0 description: Chart for cloudnative-pg cluster keywords: - database @@ -10,4 +10,4 @@ sources: maintainers: - name: alexlebens icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4 -appVersion: v1.24.1 +appVersion: v1.25.0 diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index c873b3f..84599ed 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -21,7 +21,7 @@ cluster: image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "16.6-22" + tag: "17.2-22" pullPolicy: IfNotPresent # The UID and GID of the postgres user inside the image -- 2.49.1 From 56fe199fb9b38b9aca754967602a73a124b94492 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 16:55:01 -0600 Subject: [PATCH 46/73] add precommit hooks --- .../renovate-update-notification/Dockerfile | 2 +- .gitignore | 2 +- .pre-commit-config.yaml | 19 ++++ charts/cloudflared/Chart.yaml | 2 +- charts/cloudflared/README.md | 40 +++++-- charts/cloudflared/templates/common.yaml | 4 +- charts/generic-device-plugin/Chart.yaml | 4 +- charts/generic-device-plugin/README.md | 44 ++++++-- .../templates/common.yaml | 8 +- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 102 ++++++++++++++++-- .../postgres-cluster/templates/_bootstrap.tpl | 2 +- 12 files changed, 190 insertions(+), 41 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.github/renovate-update-notification/Dockerfile b/.github/renovate-update-notification/Dockerfile index a8ad660..94bb82a 100644 --- a/.github/renovate-update-notification/Dockerfile +++ b/.github/renovate-update-notification/Dockerfile @@ -1,2 +1,2 @@ # This file is processed by Renovate bot so that it creates a PR on new major Renovate versions -FROM renovate/renovate:39 \ No newline at end of file +FROM renovate/renovate:39 diff --git a/.gitignore b/.gitignore index 7794620..f3e378f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ charts/**/charts/ __snapshot__/ # Docs -_site/ \ No newline at end of file +_site/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..b726d75 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,19 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-added-large-files + - id: check-yaml + exclude: 'charts/' + args: + - --multi + - repo: https://github.com/norwoodj/helm-docs + rev: v1.14.2 + hooks: + - id: helm-docs + args: + - --chart-search-root=charts + - --template-files=./_templates.gotmpl + - --template-files=README.md.gotmpl diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index cae45f1..37a7971 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.12.0 +version: 1.12.1 description: Cloudflared Tunnel keywords: - cloudflare diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index 542839f..30a8327 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,16 +1,38 @@ -## Introduction +# cloudflared -[Cloudflared](https://github.com/cloudflare/cloudflared) +![Version: 1.12.1](https://img.shields.io/badge/Version-1.12.1-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) -Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins. +Cloudflared Tunnel -This chart bootstraps a [Cloudflared](https://github.com/cloudflare/cloudflared) tunnel on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. +## Maintainers -## Prerequisites +| Name | Email | Url | +| ---- | ------ | --- | +| alexlebens | | | -- Kubernetes -- Helm +## Source Code -## Parameters +* +* -See the [values files](values.yaml). +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://bjw-s.github.io/helm-charts/ | common | 3.5.1 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| existingSecretKey | string | `"cf-tunnel-token"` | | +| existingSecretName | string | `"cloudflared-secret"` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"cloudflare/cloudflared"` | | +| image.tag | string | `"2024.12.2"` | | +| name | string | `"cloudflared"` | | +| resources.requests.cpu | string | `"100m"` | | +| resources.requests.memory | string | `"128Mi"` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/cloudflared/templates/common.yaml b/charts/cloudflared/templates/common.yaml index af92f76..03be908 100644 --- a/charts/cloudflared/templates/common.yaml +++ b/charts/cloudflared/templates/common.yaml @@ -4,7 +4,7 @@ {{ if not .Values.global.nameOverride }} global: nameOverride: {{ .Values.name }} -{{ end }} +{{ end }} controllers: main: type: deployment @@ -38,4 +38,4 @@ controllers: {{- $_ := mergeOverwrite .Values (include "cloudflared.hardcodedValues" . | fromYaml) -}} {{/* Render the templates */}} -{{ include "bjw-s.common.loader.generate" . }} \ No newline at end of file +{{ include "bjw-s.common.loader.generate" . }} diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index 3d3ba02..d4dbd9a 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.2 +version: 0.1.3 description: Generic Device Plugin keywords: - generic-device-plugin @@ -15,4 +15,4 @@ dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 -appVersion: 0.1.2 +appVersion: 0.1.3 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index 8094734..5f7678f 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,16 +1,42 @@ -## Introduction +# generic-device-plugin -[Generic Device Plugin](https://github.com/squat/generic-device-plugin) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) -The generic-device-plugin enables allocating generic Linux devices, such as serial devices, the FUSE device, or video cameras, to Kubernetes Pods. +Generic Device Plugin -This chart bootstraps a [Generic Device Plugin](https://github.com/squat/generic-device-plugin) daemonset on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. +## Maintainers -## Prerequisites +| Name | Email | Url | +| ---- | ------ | --- | +| alexlebens | | | -- Kubernetes -- Helm +## Source Code -## Parameters +* +* -See the [values files](values.yaml). +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://bjw-s.github.io/helm-charts/ | common | 3.5.1 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) | +| config.enabled | bool | `true` | | +| deviceDomain | string | `"squat.ai"` | | +| image.pullPolicy | string | `"Always"` | | +| image.repository | string | `"ghcr.io/squat/generic-device-plugin"` | | +| image.tag | string | `"latest"` | | +| name | string | `"generic-device-plugin"` | | +| resources.limit.cpu | string | `"100m"` | | +| resources.limit.memory | string | `"20Mi"` | | +| resources.requests.cpu | string | `"50m"` | | +| resources.requests.memory | string | `"10Mi"` | | +| service.listenPort | int | `8080` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/generic-device-plugin/templates/common.yaml b/charts/generic-device-plugin/templates/common.yaml index 79b6319..5a76ed5 100644 --- a/charts/generic-device-plugin/templates/common.yaml +++ b/charts/generic-device-plugin/templates/common.yaml @@ -1,6 +1,6 @@ -{{- include "bjw-s.common.loader.init" . }} +{{ include "bjw-s.common.loader.init" . }} -{{- define "genericDevicePlugin.hardcodedValues" -}} +{{ define "genericDevicePlugin.hardcodedValues" }} {{ if not .Values.global.nameOverride }} global: nameOverride: {{ .Values.name }} @@ -75,8 +75,8 @@ serviceMonitor: path: /metrics interval: 30s scrapeTimeout: 10s -{{- end -}} -{{- $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) -}} +{{ end }} +{{ $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) }} {{/* Render the templates */}} {{ include "bjw-s.common.loader.generate" . }} diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b4615d7..86ff2b2 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.0.0 +version: 4.0.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index c9f0b8b..d7c49c3 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,17 +1,99 @@ -## Introduction +# postgres-cluster -[CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg) +![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) -CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication. +Chart for cloudnative-pg cluster -This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. +## Maintainers -## Prerequisites +| Name | Email | Url | +| ---- | ------ | --- | +| alexlebens | | | -- Kubernetes -- Helm -- CloudNative PG Operator +## Source Code -## Parameters +* -See the [values files](values.yaml). +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| backup.backupIndex | int | `1` | | +| backup.backupName | string | `""` | | +| backup.data.compression | string | `"snappy"` | | +| backup.data.encryption | string | `""` | | +| backup.data.jobs | int | `2` | | +| backup.destinationPath | string | `""` | | +| backup.enabled | bool | `false` | | +| backup.endpointCA | string | `""` | | +| backup.endpointCredentials | string | `""` | | +| backup.endpointURL | string | `""` | | +| backup.historyTags.backupRetentionPolicy | string | `""` | | +| backup.retentionPolicy | string | `"14d"` | | +| backup.schedule | string | `"0 0 0 * * *"` | | +| backup.tags.backupRetentionPolicy | string | `""` | | +| backup.wal.compression | string | `"snappy"` | | +| backup.wal.encryption | string | `""` | | +| backup.wal.maxParallel | int | `2` | | +| bootstrap.initdb | object | `{}` | | +| cluster.additionalLabels | object | `{}` | | +| cluster.affinity.enablePodAntiAffinity | bool | `true` | | +| cluster.affinity.topologyKey | string | `"kubernetes.io/hostname"` | | +| cluster.annotations | object | `{}` | | +| cluster.enableSuperuserAccess | bool | `false` | | +| cluster.image.pullPolicy | string | `"IfNotPresent"` | | +| cluster.image.repository | string | `"ghcr.io/cloudnative-pg/postgresql"` | | +| cluster.image.tag | string | `"17.2-22"` | | +| cluster.instances | int | `3` | | +| cluster.logLevel | string | `"info"` | | +| cluster.monitoring.enabled | bool | `false` | | +| cluster.monitoring.podMonitor.enabled | bool | `true` | | +| cluster.monitoring.prometheusRule.enabled | bool | `false` | | +| cluster.monitoring.prometheusRule.excludeRules | list | `[]` | | +| cluster.postgresGID | int | `26` | | +| cluster.postgresUID | int | `26` | | +| cluster.postgresql.parameters.hot_standby_feedback | string | `"on"` | | +| cluster.postgresql.parameters.max_slot_wal_keep_size | string | `"2000MB"` | | +| cluster.postgresql.parameters.shared_buffers | string | `"128MB"` | | +| cluster.postgresql.shared_preload_libraries | list | `[]` | | +| cluster.primaryUpdateMethod | string | `"switchover"` | | +| cluster.primaryUpdateStrategy | string | `"unsupervised"` | | +| cluster.priorityClassName | string | `""` | | +| cluster.resources.limits.cpu | string | `"800m"` | | +| cluster.resources.limits.hugepages-2Mi | string | `"256Mi"` | | +| cluster.resources.limits.memory | string | `"1Gi"` | | +| cluster.resources.requests.cpu | string | `"10m"` | | +| cluster.resources.requests.memory | string | `"256Mi"` | | +| cluster.storage.size | string | `"10Gi"` | | +| cluster.storage.storageClass | string | `""` | | +| cluster.walStorage.size | string | `"2Gi"` | | +| cluster.walStorage.storageClass | string | `""` | | +| mode | string | `"standalone"` | | +| nameOverride | string | `""` | Override the name of the cluster | +| recovery.data.compression | string | `"snappy"` | | +| recovery.data.encryption | string | `""` | | +| recovery.data.jobs | int | `2` | | +| recovery.destinationPath | string | `""` | | +| recovery.endpointCA | string | `""` | | +| recovery.endpointCredentials | string | `""` | | +| recovery.endpointURL | string | `""` | | +| recovery.pitrTarget.time | string | `""` | | +| recovery.recoveryIndex | int | `1` | | +| recovery.recoveryInstanceName | string | `""` | | +| recovery.recoveryServerName | string | `""` | | +| recovery.wal.compression | string | `"snappy"` | | +| recovery.wal.encryption | string | `""` | | +| recovery.wal.maxParallel | int | `2` | | +| replica.externalCluster.connectionParameters.dbname | string | `"app"` | | +| replica.externalCluster.connectionParameters.host | string | `"postgresql"` | | +| replica.externalCluster.connectionParameters.user | string | `"app"` | | +| replica.externalCluster.password.key | string | `"password"` | | +| replica.externalCluster.password.name | string | `"postgresql"` | | +| replica.importDatabases[0] | string | `"app"` | | +| replica.importRoles | list | `[]` | | +| replica.importType | string | `"microservice"` | | +| replica.postImportApplicationSQL | list | `[]` | | +| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `postgis` * `timescaledb` * `tensorchord` | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 8da5f64..bb1b7f3 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -65,7 +65,7 @@ bootstrap: {{- with (omit . "postInitApplicationSQL") }} {{- . | toYaml | nindent 4 }} {{- end }} - {{- end }} + {{- end }} externalClusters: - name: "{{ include "cluster.name" . }}-cluster" {{- with .Values.replica.externalCluster }} -- 2.49.1 From 1b67b5cbb670d874f06b7afdd2cc69d24badee4d Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 16:59:49 -0600 Subject: [PATCH 47/73] add description of values --- charts/cloudflared/Chart.yaml | 2 +- charts/cloudflared/README.md | 15 ++++++--------- charts/cloudflared/values.yaml | 9 +++++++++ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 37a7971..9ec9c02 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.12.1 +version: 1.12.2 description: Cloudflared Tunnel keywords: - cloudflare diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index 30a8327..c63251c 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.12.1](https://img.shields.io/badge/Version-1.12.1-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) +![Version: 1.12.2](https://img.shields.io/badge/Version-1.12.2-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) Cloudflared Tunnel @@ -25,14 +25,11 @@ Cloudflared Tunnel | Key | Type | Default | Description | |-----|------|---------|-------------| -| existingSecretKey | string | `"cf-tunnel-token"` | | -| existingSecretName | string | `"cloudflared-secret"` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"cloudflare/cloudflared"` | | -| image.tag | string | `"2024.12.2"` | | -| name | string | `"cloudflared"` | | -| resources.requests.cpu | string | `"100m"` | | -| resources.requests.memory | string | `"128Mi"` | | +| 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":"2024.12.2"}` | Default image | +| name | string | `"cloudflared"` | Name override of release | +| resources | object | `{"requests":{"cpu":"100m","memory":"128Mi"}}` | Default resources | ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 1857190..ab3ce88 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -1,10 +1,19 @@ +# -- Name override of release name: cloudflared + +# -- Name of existing secret that contains Cloudflare token existingSecretName: cloudflared-secret + +# -- Name of key that contains the token in the existingSecret existingSecretKey: cf-tunnel-token + +# -- Default image image: repository: cloudflare/cloudflared tag: "2024.12.2" pullPolicy: IfNotPresent + +# -- Default resources resources: requests: cpu: 100m -- 2.49.1 From 11d3dd927bb09a2ce1c67d4ac7da9eeec239738a Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 17:00:37 -0600 Subject: [PATCH 48/73] update dependency chart --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 9ec9c02..c3199c4 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.12.2 +version: 1.12.3 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.5.1 + version: 3.6.0 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 appVersion: "2024.12.2" diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index c63251c..77fc63d 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.12.2](https://img.shields.io/badge/Version-1.12.2-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) +![Version: 1.12.3](https://img.shields.io/badge/Version-1.12.3-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) Cloudflared Tunnel @@ -19,7 +19,7 @@ Cloudflared Tunnel | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.5.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 | ## Values -- 2.49.1 From d5bb83bf84f29dd92b4877449ec34ad76d6129d6 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 17:03:45 -0600 Subject: [PATCH 49/73] add description of values --- charts/generic-device-plugin/Chart.yaml | 4 ++-- charts/generic-device-plugin/README.md | 19 +++++++------------ charts/generic-device-plugin/values.yaml | 6 ++++++ 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index d4dbd9a..8c4da1a 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.3 +version: 0.1.4 description: Generic Device Plugin keywords: - generic-device-plugin @@ -15,4 +15,4 @@ dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ version: 3.5.1 -appVersion: 0.1.3 +appVersion: 0.1.4 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index 5f7678f..51bed6a 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) +![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![AppVersion: 0.1.4](https://img.shields.io/badge/AppVersion-0.1.4-informational?style=flat-square) Generic Device Plugin @@ -25,18 +25,13 @@ Generic Device Plugin | Key | Type | Default | Description | |-----|------|---------|-------------| +| 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.enabled | bool | `true` | | -| deviceDomain | string | `"squat.ai"` | | -| image.pullPolicy | string | `"Always"` | | -| image.repository | string | `"ghcr.io/squat/generic-device-plugin"` | | -| image.tag | string | `"latest"` | | -| name | string | `"generic-device-plugin"` | | -| resources.limit.cpu | string | `"100m"` | | -| resources.limit.memory | string | `"20Mi"` | | -| resources.requests.cpu | string | `"50m"` | | -| resources.requests.memory | string | `"10Mi"` | | -| service.listenPort | int | `8080` | | +| deviceDomain | string | `"squat.ai"` | Domain used by devices for identifcation | +| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest"}` | 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 | +| service | object | `{"listenPort":8080}` | Service port | ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/generic-device-plugin/values.yaml b/charts/generic-device-plugin/values.yaml index 60c5ce3..532c29c 100644 --- a/charts/generic-device-plugin/values.yaml +++ b/charts/generic-device-plugin/values.yaml @@ -1,15 +1,20 @@ +# -- Name override of release name: generic-device-plugin +# -- Default image image: repository: ghcr.io/squat/generic-device-plugin pullPolicy: Always tag: latest +# -- Domain used by devices for identifcation deviceDomain: squat.ai +# -- Service port service: listenPort: 8080 +# -- Default resources resources: limit: cpu: 100m @@ -18,6 +23,7 @@ resources: cpu: 50m memory: 10Mi +# -- Config map config: enabled: true # -- generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) -- 2.49.1 From 77dd85362e145996949276c7fe40d23b901e9be1 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 17:04:09 -0600 Subject: [PATCH 50/73] update dependency chart --- charts/generic-device-plugin/Chart.yaml | 6 +++--- charts/generic-device-plugin/README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index 8c4da1a..5e891c1 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.4 +version: 0.1.5 description: Generic Device Plugin keywords: - generic-device-plugin @@ -14,5 +14,5 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.5.1 -appVersion: 0.1.4 + version: 3.6.0 +appVersion: 0.1.5 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index 51bed6a..bff25c6 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![AppVersion: 0.1.4](https://img.shields.io/badge/AppVersion-0.1.4-informational?style=flat-square) +![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![AppVersion: 0.1.5](https://img.shields.io/badge/AppVersion-0.1.5-informational?style=flat-square) Generic Device Plugin @@ -19,7 +19,7 @@ Generic Device Plugin | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.5.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 | ## Values -- 2.49.1 From ffc253ef7d2674540bd7dfe5ca138ab569ee04dc Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 30 Dec 2024 17:10:54 -0600 Subject: [PATCH 51/73] add description of values --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 113 ++++++++++++---------------- charts/postgres-cluster/values.yaml | 105 ++++++++++++++------------ 3 files changed, 104 insertions(+), 116 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 86ff2b2..bfdf03c 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.0.1 +version: 4.0.2 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index d7c49c3..19a9988 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.0.2](https://img.shields.io/badge/Version-4.0.2-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -18,81 +18,64 @@ Chart for cloudnative-pg cluster | Key | Type | Default | Description | |-----|------|---------|-------------| -| backup.backupIndex | int | `1` | | -| backup.backupName | string | `""` | | -| backup.data.compression | string | `"snappy"` | | -| backup.data.encryption | string | `""` | | -| backup.data.jobs | int | `2` | | -| backup.destinationPath | string | `""` | | +| backup.backupIndex | int | `1` | Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}" | +| backup.backupName | string | `""` | Name of the backup cluster in the object store, defaults to "cluster.name" | +| backup.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | +| backup.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. | +| backup.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. | +| backup.destinationPath | string | `""` | S3 path starting with "s3://" | | backup.enabled | bool | `false` | | -| backup.endpointCA | string | `""` | | -| backup.endpointCredentials | string | `""` | | -| backup.endpointURL | string | `""` | | +| backup.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt | +| backup.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY | +| backup.endpointURL | string | `""` | S3 endpoint starting with "https://" | | backup.historyTags.backupRetentionPolicy | string | `""` | | -| backup.retentionPolicy | string | `"14d"` | | -| backup.schedule | string | `"0 0 0 * * *"` | | -| backup.tags.backupRetentionPolicy | string | `""` | | -| backup.wal.compression | string | `"snappy"` | | -| backup.wal.encryption | string | `""` | | -| backup.wal.maxParallel | int | `2` | | -| bootstrap.initdb | object | `{}` | | +| backup.retentionPolicy | string | `"14d"` | Retention policy for backups | +| backup.schedule | string | `"0 0 0 * * *"` | Scheduled backup in cron format | +| backup.tags | object | `{"backupRetentionPolicy":""}` | Tags to add to backups. Add in key value beneath the type. | +| backup.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | +| backup.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. | +| backup.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. | +| bootstrap | object | `{"initdb":{}}` | 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 | +| bootstrap.initdb | object | `{}` | Example values database: app owner: app secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch postInitApplicationSQL: - CREATE TABLE IF NOT EXISTS example; | | cluster.additionalLabels | object | `{}` | | -| cluster.affinity.enablePodAntiAffinity | bool | `true` | | -| cluster.affinity.topologyKey | string | `"kubernetes.io/hostname"` | | +| cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration | | cluster.annotations | object | `{}` | | -| cluster.enableSuperuserAccess | bool | `false` | | -| cluster.image.pullPolicy | string | `"IfNotPresent"` | | -| cluster.image.repository | string | `"ghcr.io/cloudnative-pg/postgresql"` | | -| cluster.image.tag | string | `"17.2-22"` | | +| cluster.enableSuperuserAccess | bool | `false` | Create secret containing credentials of superuser | +| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-22"}` | Default image | | cluster.instances | int | `3` | | | cluster.logLevel | string | `"info"` | | -| cluster.monitoring.enabled | bool | `false` | | -| cluster.monitoring.podMonitor.enabled | bool | `true` | | -| cluster.monitoring.prometheusRule.enabled | bool | `false` | | -| cluster.monitoring.prometheusRule.excludeRules | list | `[]` | | +| cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | | cluster.postgresGID | int | `26` | | -| cluster.postgresUID | int | `26` | | -| cluster.postgresql.parameters.hot_standby_feedback | string | `"on"` | | -| cluster.postgresql.parameters.max_slot_wal_keep_size | string | `"2000MB"` | | -| cluster.postgresql.parameters.shared_buffers | string | `"128MB"` | | -| cluster.postgresql.shared_preload_libraries | list | `[]` | | -| cluster.primaryUpdateMethod | string | `"switchover"` | | -| cluster.primaryUpdateStrategy | string | `"unsupervised"` | | +| cluster.postgresUID | int | `26` | The UID and GID of the postgres user inside the image | +| cluster.postgresql | object | `{"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"shared_preload_libraries":[]}` | Parameters to be set for the database itself See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration | +| cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). | +| cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | | cluster.priorityClassName | string | `""` | | -| cluster.resources.limits.cpu | string | `"800m"` | | -| cluster.resources.limits.hugepages-2Mi | string | `"256Mi"` | | -| cluster.resources.limits.memory | string | `"1Gi"` | | -| cluster.resources.requests.cpu | string | `"10m"` | | -| cluster.resources.requests.memory | string | `"256Mi"` | | +| cluster.resources | object | `{"limits":{"cpu":"800m","hugepages-2Mi":"256Mi","memory":"1Gi"},"requests":{"cpu":"10m","memory":"256Mi"}}` | Default resources | | cluster.storage.size | string | `"10Gi"` | | | cluster.storage.storageClass | string | `""` | | -| cluster.walStorage.size | string | `"2Gi"` | | -| cluster.walStorage.storageClass | string | `""` | | -| mode | string | `"standalone"` | | +| cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size | +| mode | string | `"standalone"` | Cluster mode of operation. Available modes: * `standalone` - Default mode. Creates new or updates an existing CNPG cluster. * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup * `replica` - Create database as a replica from another CNPG cluster | | nameOverride | string | `""` | Override the name of the cluster | -| recovery.data.compression | string | `"snappy"` | | -| recovery.data.encryption | string | `""` | | -| recovery.data.jobs | int | `2` | | -| recovery.destinationPath | string | `""` | | -| recovery.endpointCA | string | `""` | | -| recovery.endpointCredentials | string | `""` | | -| recovery.endpointURL | string | `""` | | -| recovery.pitrTarget.time | string | `""` | | -| recovery.recoveryIndex | int | `1` | | -| recovery.recoveryInstanceName | string | `""` | | -| recovery.recoveryServerName | string | `""` | | -| recovery.wal.compression | string | `"snappy"` | | -| recovery.wal.encryption | string | `""` | | -| recovery.wal.maxParallel | int | `2` | | -| replica.externalCluster.connectionParameters.dbname | string | `"app"` | | -| replica.externalCluster.connectionParameters.host | string | `"postgresql"` | | -| replica.externalCluster.connectionParameters.user | string | `"app"` | | -| replica.externalCluster.password.key | string | `"password"` | | -| replica.externalCluster.password.name | string | `"postgresql"` | | -| replica.importDatabases[0] | string | `"app"` | | -| replica.importRoles | list | `[]` | | -| replica.importType | string | `"microservice"` | | -| replica.postImportApplicationSQL | list | `[]` | | +| recovery | object | `{"data":{"compression":"snappy","encryption":"","jobs":2},"destinationPath":"","endpointCA":"","endpointCredentials":"","endpointURL":"","pitrTarget":{"time":""},"recoveryIndex":1,"recoveryInstanceName":"","recoveryServerName":"","wal":{"compression":"snappy","encryption":"","maxParallel":2}}` | Recovery settings when booting cluster from external cluster | +| recovery.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | +| recovery.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. | +| recovery.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. | +| recovery.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt | +| recovery.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY | +| recovery.endpointURL | string | `""` | S3 https endpoint and the s3:// path | +| recovery.pitrTarget | object | `{"time":""}` | Point in time recovery target in RFC3339 format | +| recovery.recoveryIndex | int | `1` | Generate external cluster name, uses: {{ .Release.Name }}postgresql--cluster-backup-index-{{ .Values.recovery.recoveryIndex }} | +| recovery.recoveryInstanceName | string | `""` | Name of the recovery cluster in the object store, defaults to ".Release.Name" | +| recovery.recoveryServerName | string | `""` | Name of the recovery cluster in the object store, defaults to "cluster.name" | +| recovery.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | +| recovery.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. | +| recovery.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. | +| replica.externalCluster | object | `{"connectionParameters":{"dbname":"app","host":"postgresql","user":"app"},"password":{"key":"password","name":"postgresql"}}` | External cluster connection, password specifies a secret name and the key containing the password value | +| replica.importDatabases | list | `["app"]` | If type microservice only one database is allowed, default is app as standard in cnpg clusters | +| replica.importRoles | list | `[]` | If type microservice no roles are imported and ignored | +| replica.importType | string | `"microservice"` | See [here](https://cloudnative-pg.io/documentation/current/database_import/) for different import types * `microservice` - Single database import as expected from cnpg clusters * `monolith` - Import multiple databases and roles | +| replica.postImportApplicationSQL | list | `[]` | If import type is monolith postImportApplicationSQL is not supported and ignored | | type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `postgis` * `timescaledb` * `tensorchord` | ---------------------------------------------- diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 84599ed..d4e47e2 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -1,7 +1,6 @@ # -- Override the name of the cluster nameOverride: "" -### # -- Type of the CNPG database. Available types: # * `postgresql` # * `postgis` @@ -9,8 +8,7 @@ nameOverride: "" # * `tensorchord` type: postgresql -### -# Cluster mode of operation. Available modes: +# -- Cluster mode of operation. Available modes: # * `standalone` - Default mode. Creates new or updates an existing CNPG cluster. # * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup # * `replica` - Create database as a replica from another CNPG cluster @@ -19,17 +17,20 @@ mode: standalone cluster: instances: 3 + # -- Default image image: repository: ghcr.io/cloudnative-pg/postgresql tag: "17.2-22" pullPolicy: IfNotPresent - # The UID and GID of the postgres user inside the image + # -- The UID and GID of the postgres user inside the image postgresUID: 26 postgresGID: 26 + # -- Create secret containing credentials of superuser enableSuperuserAccess: false + # -- Default storage size walStorage: size: 2Gi storageClass: "" @@ -37,6 +38,7 @@ cluster: size: 10Gi storageClass: "" + # -- Default resources resources: requests: memory: 256Mi @@ -46,26 +48,26 @@ cluster: cpu: 800m hugepages-2Mi: 256Mi - # See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration + # -- See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration affinity: enablePodAntiAffinity: true topologyKey: kubernetes.io/hostname additionalLabels: {} annotations: {} - priorityClassName: "" - # Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been + # -- Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been # successfully updated. It can be switchover (default) or in-place (restart). primaryUpdateMethod: switchover - # Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been + # -- Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been # successfully updated: it can be automated (unsupervised - default) or manual (supervised) primaryUpdateStrategy: unsupervised logLevel: "info" + # -- Enable default monitoring and alert rules monitoring: enabled: false podMonitor: @@ -74,6 +76,7 @@ cluster: enabled: false excludeRules: [] + # -- Parameters to be set for the database itself # See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration postgresql: parameters: @@ -82,73 +85,76 @@ cluster: hot_standby_feedback: "on" shared_preload_libraries: [] +# -- 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 bootstrap: - # BootstrapInitDB 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 + # -- Example values + # database: app + # owner: app + # secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch + # postInitApplicationSQL: + # - CREATE TABLE IF NOT EXISTS example; initdb: {} - # database: app - # owner: app - # secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch - # postInitApplicationSQL: - # - CREATE TABLE IF NOT EXISTS example; +# -- Recovery settings when booting cluster from external cluster recovery: - # Point in time recovery target in RFC3339 format + + # -- Point in time recovery target in RFC3339 format pitrTarget: time: "" - # S3 https endpoint and the s3:// path + # -- S3 https endpoint and the s3:// path endpointURL: "" destinationPath: "" - # Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt + # -- Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt endpointCA: "" - # Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY + # -- Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY endpointCredentials: "" - # Generate external cluster name, uses: {{ .Release.Name }}postgresql--cluster-backup-index-{{ .Values.recovery.recoveryIndex }} + # -- Generate external cluster name, uses: {{ .Release.Name }}postgresql--cluster-backup-index-{{ .Values.recovery.recoveryIndex }} recoveryIndex: 1 - # Name of the recovery cluster in the object store, defaults to "cluster.name" + # -- Name of the recovery cluster in the object store, defaults to "cluster.name" recoveryServerName: "" - # Name of the recovery cluster in the object store, defaults to ".Release.Name" + # -- Name of the recovery cluster in the object store, defaults to ".Release.Name" recoveryInstanceName: "" wal: - # WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. + # -- WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy - # Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. + # -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" - # Number of WAL files to be archived or restored in parallel. + # -- Number of WAL files to be archived or restored in parallel. maxParallel: 2 data: - # Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. + # -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy - # Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. + # -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" - # Number of data files to be archived or restored in parallel. + # -- Number of data files to be archived or restored in parallel. jobs: 2 replica: - # See https://cloudnative-pg.io/documentation/current/database_import/ + # -- See [here](https://cloudnative-pg.io/documentation/current/database_import/) for different import types # * `microservice` - Single database import as expected from cnpg clusters # * `monolith` - Import multiple databases and roles importType: microservice - # If type microservice only one database is allowed, default is app as standard in cnpg clusters + # -- If type microservice only one database is allowed, default is app as standard in cnpg clusters importDatabases: - app - # If type microservice no roles are imported and ignored + # -- If type microservice no roles are imported and ignored importRoles: [] - # If import type is monolith postImportApplicationSQL is not supported and ignored + # -- If import type is monolith postImportApplicationSQL is not supported and ignored postImportApplicationSQL: [] - # External cluster connection, password specifies a secret name and the key containing the password value + # -- External cluster connection, password specifies a secret name and the key containing the password value externalCluster: connectionParameters: host: postgresql @@ -161,48 +167,47 @@ replica: backup: enabled: false - # S3 endpoint starting with "https://" + # -- S3 endpoint starting with "https://" endpointURL: "" - # S3 path starting with "s3://" + # -- S3 path starting with "s3://" destinationPath: "" - # Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt + # -- Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt endpointCA: "" - # Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY + # -- Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY endpointCredentials: "" - # Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}" + # -- Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}" backupIndex: 1 - # Name of the backup cluster in the object store, defaults to "cluster.name" + # -- Name of the backup cluster in the object store, defaults to "cluster.name" backupName: "" - # Tags to add to backups. Add in key value beneath the type. + # -- Tags to add to backups. Add in key value beneath the type. tags: backupRetentionPolicy: "" historyTags: backupRetentionPolicy: "" - # Configuration for the WAL and data files. wal: - # WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. + # -- WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy - # Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. + # -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" - # Number of WAL files to be archived or restored in parallel. + # -- Number of WAL files to be archived or restored in parallel. maxParallel: 2 data: - # Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. + # -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy - # Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. + # -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" - # Number of data files to be archived or restored in parallel. + # -- Number of data files to be archived or restored in parallel. jobs: 2 - # Retention policy for backups + # -- Retention policy for backups retentionPolicy: "14d" - # Scheduled backup in cron format + # -- Scheduled backup in cron format schedule: "0 0 0 * * *" -- 2.49.1 From e2dfd70dc41323718a8f142342dbcbfb819a5eaa Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 7 Jan 2025 13:45:34 -0600 Subject: [PATCH 52/73] change default resources --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index bfdf03c..b5739ff 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.0.2 +version: 4.0.3 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 19a9988..1339ea6 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.0.2](https://img.shields.io/badge/Version-4.0.2-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.0.3](https://img.shields.io/badge/Version-4.0.3-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -51,7 +51,7 @@ Chart for cloudnative-pg cluster | cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). | | cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | | cluster.priorityClassName | string | `""` | | -| cluster.resources | object | `{"limits":{"cpu":"800m","hugepages-2Mi":"256Mi","memory":"1Gi"},"requests":{"cpu":"10m","memory":"256Mi"}}` | Default resources | +| cluster.resources | object | `{"limits":{"cpu":"1000m","hugepages-2Mi":"256Mi","memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources | | cluster.storage.size | string | `"10Gi"` | | | cluster.storage.storageClass | string | `""` | | | cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index d4e47e2..9c98511 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -42,10 +42,10 @@ cluster: resources: requests: memory: 256Mi - cpu: 10m + cpu: 100m limits: - memory: 1Gi - cpu: 800m + memory: 2Gi + cpu: 1000m hugepages-2Mi: 256Mi # -- See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration -- 2.49.1 From 3b0481fcb193e2e1abc657a810558f27d30cc500 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 7 Jan 2025 14:22:25 -0600 Subject: [PATCH 53/73] add default rules --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 +- .../templates/prometheus-rule.yaml | 67 +++++++++++++++++++ charts/postgres-cluster/values.yaml | 1 + 4 files changed, 71 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b5739ff..90c9919 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.0.3 +version: 4.1.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 1339ea6..79f1518 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.0.3](https://img.shields.io/badge/Version-4.0.3-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -44,7 +44,7 @@ Chart for cloudnative-pg cluster | cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-22"}` | Default image | | cluster.instances | int | `3` | | | cluster.logLevel | string | `"info"` | | -| cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | +| cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enableDefaultRules":true,"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | | cluster.postgresGID | int | `26` | | | cluster.postgresUID | int | `26` | The UID and GID of the postgres user inside the image | | cluster.postgresql | object | `{"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"shared_preload_libraries":[]}` | Parameters to be set for the database itself See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration | diff --git a/charts/postgres-cluster/templates/prometheus-rule.yaml b/charts/postgres-cluster/templates/prometheus-rule.yaml index 363d308..3c1f834 100644 --- a/charts/postgres-cluster/templates/prometheus-rule.yaml +++ b/charts/postgres-cluster/templates/prometheus-rule.yaml @@ -27,4 +27,71 @@ spec: - {{ $tpl }} {{- end -}} {{- end -}} + {{- if .Values.cluster.monitoring.prometheusRule.enableDefaultRules }} + - name: cloudnative-pg/default-rules + rules: + - alert: LongRunningTransaction + annotations: + description: Pod {{ $labels.pod }} is taking more than 5 minutes (300 seconds) for a query. + summary: A query is taking longer than 5 minutes. + expr: |- + cnpg_backends_max_tx_duration_seconds > 300 + for: 1m + labels: + severity: warning + - alert: BackendsWaiting + annotations: + description: Pod {{ $labels.pod }} has been waiting for longer than 5 minutes + summary: If a backend is waiting for longer than 5 minutes + expr: |- + cnpg_backends_waiting_total > 300 + for: 1m + labels: + severity: warning + - alert: PGDatabaseXidAge + annotations: + description: Over 300,000,000 transactions from frozen xid on pod {{ $labels.pod }} + summary: Number of transactions from the frozen XID to the current one + expr: |- + cnpg_pg_database_xid_age > 300000000 + for: 1m + labels: + severity: warning + - alert: PGReplication + annotations: + description: Standby is lagging behind by over 300 seconds (5 minutes) + summary: The standby is lagging behind the primary + expr: |- + cnpg_pg_replication_lag > 300 + for: 1m + labels: + severity: warning + - alert: LastFailedArchiveTime + annotations: + description: Archiving failed for {{ $labels.pod }} + summary: Checks the last time archiving failed. Will be < 0 when it has not failed. + expr: |- + (cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 1 + for: 1m + labels: + severity: warning + - alert: DatabaseDeadlockConflicts + annotations: + description: There are over 10 deadlock conflicts in {{ $labels.pod }} + summary: Checks the number of database conflicts + expr: |- + cnpg_pg_stat_database_deadlocks > 10 + for: 1m + labels: + severity: warning + - alert: ReplicaFailingReplication + annotations: + description: Replica {{ $labels.pod }} is failing to replicate + summary: Checks if the replica is failing to replicate + expr: |- + cnpg_pg_replication_in_recovery > cnpg_pg_replication_is_wal_receiver_up + for: 1m + labels: + severity: warning + {{- end }} {{ end }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 9c98511..607acde 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -74,6 +74,7 @@ cluster: enabled: true prometheusRule: enabled: false + enableDefaultRules: true excludeRules: [] # -- Parameters to be set for the database itself -- 2.49.1 From 35f331e29a1cb2ee56db59eee3d152c1ec7504d9 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 8 Jan 2025 15:20:28 -0600 Subject: [PATCH 54/73] fix helm/prom bracket interaction --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- .../templates/prometheus-rule.yaml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 90c9919..d33b113 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.0 +version: 4.1.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 79f1518..ae99687 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster diff --git a/charts/postgres-cluster/templates/prometheus-rule.yaml b/charts/postgres-cluster/templates/prometheus-rule.yaml index 3c1f834..fee857d 100644 --- a/charts/postgres-cluster/templates/prometheus-rule.yaml +++ b/charts/postgres-cluster/templates/prometheus-rule.yaml @@ -14,10 +14,10 @@ spec: - name: cloudnative-pg/{{ include "cluster.name" . }} rules: {{- $dict := dict "excludeRules" .Values.cluster.monitoring.prometheusRule.excludeRules -}} - {{- $_ := set $dict "value" "{{ $value }}" -}} + {{- $_ := set $dict "value" "{{`{{`}} $value {{`}}`}}" -}} {{- $_ := set $dict "namespace" .Release.Namespace -}} {{- $_ := set $dict "cluster" (printf "%s-cluster" (include "cluster.name" .) ) -}} - {{- $_ := set $dict "labels" (dict "job" "{{ $labels.job }}" "node" "{{ $labels.node }}" "pod" "{{ $labels.pod }}") -}} + {{- $_ := set $dict "labels" (dict "job" "{{`{{`}} $labels.job {{`}}`}}" "node" "{{`{{`}} $labels.node {{`}}`}}" "pod" "{{`{{`}} $labels.pod {{`}}`}}") -}} {{- $_ := set $dict "podSelector" (printf "%s-cluster-([1-9][0-9]*)$" (include "cluster.name" .) ) -}} {{- $_ := set $dict "Values" .Values -}} {{- $_ := set $dict "Template" .Template -}} @@ -32,7 +32,7 @@ spec: rules: - alert: LongRunningTransaction annotations: - description: Pod {{ $labels.pod }} is taking more than 5 minutes (300 seconds) for a query. + description: Pod {{`{{`}} $labels.pod {{`}}`}} is taking more than 5 minutes (300 seconds) for a query. summary: A query is taking longer than 5 minutes. expr: |- cnpg_backends_max_tx_duration_seconds > 300 @@ -41,7 +41,7 @@ spec: severity: warning - alert: BackendsWaiting annotations: - description: Pod {{ $labels.pod }} has been waiting for longer than 5 minutes + description: Pod {{`{{`}} $labels.pod {{`}}`}} has been waiting for longer than 5 minutes summary: If a backend is waiting for longer than 5 minutes expr: |- cnpg_backends_waiting_total > 300 @@ -50,7 +50,7 @@ spec: severity: warning - alert: PGDatabaseXidAge annotations: - description: Over 300,000,000 transactions from frozen xid on pod {{ $labels.pod }} + description: Over 300,000,000 transactions from frozen xid on pod {{`{{`}} $labels.pod {{`}}`}} summary: Number of transactions from the frozen XID to the current one expr: |- cnpg_pg_database_xid_age > 300000000 @@ -68,7 +68,7 @@ spec: severity: warning - alert: LastFailedArchiveTime annotations: - description: Archiving failed for {{ $labels.pod }} + description: Archiving failed for {{`{{`}} $labels.pod {{`}}`}} summary: Checks the last time archiving failed. Will be < 0 when it has not failed. expr: |- (cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 1 @@ -77,7 +77,7 @@ spec: severity: warning - alert: DatabaseDeadlockConflicts annotations: - description: There are over 10 deadlock conflicts in {{ $labels.pod }} + description: There are over 10 deadlock conflicts in {{`{{`}} $labels.pod {{`}}`}} summary: Checks the number of database conflicts expr: |- cnpg_pg_stat_database_deadlocks > 10 @@ -86,7 +86,7 @@ spec: severity: warning - alert: ReplicaFailingReplication annotations: - description: Replica {{ $labels.pod }} is failing to replicate + description: Replica {{`{{`}} $labels.pod {{`}}`}} is failing to replicate summary: Checks if the replica is failing to replicate expr: |- cnpg_pg_replication_in_recovery > cnpg_pg_replication_is_wal_receiver_up -- 2.49.1 From ec6f44c6bc9fc0265568f9a5d253d52838437d92 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 8 Jan 2025 15:33:59 -0600 Subject: [PATCH 55/73] change resource --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index d33b113..982a85a 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.1 +version: 4.1.2 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index ae99687..324a20e 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.2](https://img.shields.io/badge/Version-4.1.2-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -51,7 +51,7 @@ Chart for cloudnative-pg cluster | cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). | | cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | | cluster.priorityClassName | string | `""` | | -| cluster.resources | object | `{"limits":{"cpu":"1000m","hugepages-2Mi":"256Mi","memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources | +| cluster.resources | object | `{"limits":{"cpu":1,"hugepages-2Mi":"256Mi","memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources | | cluster.storage.size | string | `"10Gi"` | | | cluster.storage.storageClass | string | `""` | | | cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 607acde..5208a22 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -45,7 +45,7 @@ cluster: cpu: 100m limits: memory: 2Gi - cpu: 1000m + cpu: 1 hugepages-2Mi: 256Mi # -- See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration -- 2.49.1 From 09c693d3717371486326ebb688fb950594ed5eda Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 8 Jan 2025 15:50:21 -0600 Subject: [PATCH 56/73] reduce resource request --- charts/cloudflared/Chart.yaml | 2 +- charts/cloudflared/README.md | 4 ++-- charts/cloudflared/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index c3199c4..a673272 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.12.3 +version: 1.12.4 description: Cloudflared Tunnel keywords: - cloudflare diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index 77fc63d..8c57288 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.12.3](https://img.shields.io/badge/Version-1.12.3-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) +![Version: 1.12.4](https://img.shields.io/badge/Version-1.12.4-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) Cloudflared Tunnel @@ -29,7 +29,7 @@ Cloudflared Tunnel | existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token | | image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2024.12.2"}` | Default image | | name | string | `"cloudflared"` | Name override of release | -| resources | object | `{"requests":{"cpu":"100m","memory":"128Mi"}}` | Default resources | +| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources | ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index ab3ce88..338e53c 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -16,5 +16,5 @@ image: # -- Default resources resources: requests: - cpu: 100m + cpu: 10m memory: 128Mi -- 2.49.1 From 5259488c056ebe7a43172386acecd3680ca7a351 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 8 Jan 2025 17:39:10 -0600 Subject: [PATCH 57/73] chagne resources --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 982a85a..2469507 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.2 +version: 4.1.3 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 324a20e..f1f88e5 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.2](https://img.shields.io/badge/Version-4.1.2-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.3](https://img.shields.io/badge/Version-4.1.3-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -51,7 +51,7 @@ Chart for cloudnative-pg cluster | cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). | | cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | | cluster.priorityClassName | string | `""` | | -| cluster.resources | object | `{"limits":{"cpu":1,"hugepages-2Mi":"256Mi","memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources | +| cluster.resources | object | `{"limits":{"cpu":"1","hugepages-2Mi":"256Mi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources | | cluster.storage.size | string | `"10Gi"` | | | cluster.storage.storageClass | string | `""` | | | cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 5208a22..d7861c8 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -44,8 +44,7 @@ cluster: memory: 256Mi cpu: 100m limits: - memory: 2Gi - cpu: 1 + cpu: '1' hugepages-2Mi: 256Mi # -- See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration -- 2.49.1 From 3f06bf148cc51b341bd04864ac997d58fade9f63 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 17 Jan 2025 17:22:00 -0600 Subject: [PATCH 58/73] update image --- charts/cloudflared/Chart.yaml | 6 +++--- charts/cloudflared/README.md | 6 +++--- charts/cloudflared/values.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index a673272..76ad687 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.12.4 +version: 1.13.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.6.0 + version: 3.6.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2024.12.2" +appVersion: "2025.1.0" diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index 8c57288..d2629b7 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.12.4](https://img.shields.io/badge/Version-1.12.4-informational?style=flat-square) ![AppVersion: 2024.12.2](https://img.shields.io/badge/AppVersion-2024.12.2-informational?style=flat-square) +![Version: 1.13.0](https://img.shields.io/badge/Version-1.13.0-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) Cloudflared Tunnel @@ -19,7 +19,7 @@ Cloudflared Tunnel | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 | +| https://bjw-s.github.io/helm-charts/ | common | 3.6.1 | ## 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":"2024.12.2"}` | Default image | +| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.1.0"}` | Default image | | name | string | `"cloudflared"` | Name override of release | | resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources | diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 338e53c..a2a38dd 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token # -- Default image image: repository: cloudflare/cloudflared - tag: "2024.12.2" + tag: "2025.1.0" pullPolicy: IfNotPresent # -- Default resources -- 2.49.1 From 8392d67790ce9995bdf9d109e6c14c3bccd69211 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 17 Jan 2025 17:23:14 -0600 Subject: [PATCH 59/73] update chart --- charts/generic-device-plugin/Chart.yaml | 6 +++--- charts/generic-device-plugin/README.md | 6 +++--- charts/generic-device-plugin/values.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index 5e891c1..0b54a2d 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.5 +version: 0.1.6 description: Generic Device Plugin keywords: - generic-device-plugin @@ -14,5 +14,5 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.6.0 -appVersion: 0.1.5 + version: 3.6.1 +appVersion: 0.1.6 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index bff25c6..a348c4c 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![AppVersion: 0.1.5](https://img.shields.io/badge/AppVersion-0.1.5-informational?style=flat-square) +![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![AppVersion: 0.1.6](https://img.shields.io/badge/AppVersion-0.1.6-informational?style=flat-square) Generic Device Plugin @@ -19,7 +19,7 @@ Generic Device Plugin | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 | +| https://bjw-s.github.io/helm-charts/ | common | 3.6.1 | ## Values @@ -28,7 +28,7 @@ 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 | `"squat.ai"` | Domain used by devices for identifcation | -| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest"}` | Default image | +| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest@sha256:ba6f0b4cf6c858d6ad29ba4d32e4da11638abbc7d96436bf04f582a97b2b8821"}` | 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 | | service | object | `{"listenPort":8080}` | Service port | diff --git a/charts/generic-device-plugin/values.yaml b/charts/generic-device-plugin/values.yaml index 532c29c..2fdfd12 100644 --- a/charts/generic-device-plugin/values.yaml +++ b/charts/generic-device-plugin/values.yaml @@ -4,8 +4,8 @@ name: generic-device-plugin # -- Default image image: repository: ghcr.io/squat/generic-device-plugin + tag: latest@sha256:ba6f0b4cf6c858d6ad29ba4d32e4da11638abbc7d96436bf04f582a97b2b8821 pullPolicy: Always - tag: latest # -- Domain used by devices for identifcation deviceDomain: squat.ai -- 2.49.1 From 81d3ecf237066792ca9d326d1b48f9d3441cde8b Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 30 Jan 2025 21:08:38 -0600 Subject: [PATCH 60/73] adjust schedule --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 16 ++++++++-------- charts/postgres-cluster/values.yaml | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 2469507..74a7ec6 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.3 +version: 4.1.4 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index f1f88e5..1ffe6a5 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.3](https://img.shields.io/badge/Version-4.1.3-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.4](https://img.shields.io/badge/Version-4.1.4-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -22,19 +22,19 @@ Chart for cloudnative-pg cluster | backup.backupName | string | `""` | Name of the backup cluster in the object store, defaults to "cluster.name" | | backup.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | | backup.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. | -| backup.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. | +| backup.data.jobs | int | `1` | Number of data files to be archived or restored in parallel. | | backup.destinationPath | string | `""` | S3 path starting with "s3://" | | backup.enabled | bool | `false` | | | backup.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt | | backup.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY | | backup.endpointURL | string | `""` | S3 endpoint starting with "https://" | | backup.historyTags.backupRetentionPolicy | string | `""` | | -| backup.retentionPolicy | string | `"14d"` | Retention policy for backups | -| backup.schedule | string | `"0 0 0 * * *"` | Scheduled backup in cron format | +| backup.retentionPolicy | string | `"7d"` | Retention policy for backups | +| backup.schedule | string | `"0 0 */3 * *"` | Scheduled backup in cron format | | backup.tags | object | `{"backupRetentionPolicy":""}` | Tags to add to backups. Add in key value beneath the type. | | backup.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | | backup.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. | -| backup.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. | +| backup.wal.maxParallel | int | `1` | Number of WAL files to be archived or restored in parallel. | | bootstrap | object | `{"initdb":{}}` | 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 | | bootstrap.initdb | object | `{}` | Example values database: app owner: app secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch postInitApplicationSQL: - CREATE TABLE IF NOT EXISTS example; | | cluster.additionalLabels | object | `{}` | | @@ -57,10 +57,10 @@ Chart for cloudnative-pg cluster | cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size | | mode | string | `"standalone"` | Cluster mode of operation. Available modes: * `standalone` - Default mode. Creates new or updates an existing CNPG cluster. * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup * `replica` - Create database as a replica from another CNPG cluster | | nameOverride | string | `""` | Override the name of the cluster | -| recovery | object | `{"data":{"compression":"snappy","encryption":"","jobs":2},"destinationPath":"","endpointCA":"","endpointCredentials":"","endpointURL":"","pitrTarget":{"time":""},"recoveryIndex":1,"recoveryInstanceName":"","recoveryServerName":"","wal":{"compression":"snappy","encryption":"","maxParallel":2}}` | Recovery settings when booting cluster from external cluster | +| recovery | object | `{"data":{"compression":"snappy","encryption":"","jobs":1},"destinationPath":"","endpointCA":"","endpointCredentials":"","endpointURL":"","pitrTarget":{"time":""},"recoveryIndex":1,"recoveryInstanceName":"","recoveryServerName":"","wal":{"compression":"snappy","encryption":"","maxParallel":1}}` | Recovery settings when booting cluster from external cluster | | recovery.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | | recovery.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. | -| recovery.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. | +| recovery.data.jobs | int | `1` | Number of data files to be archived or restored in parallel. | | recovery.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt | | recovery.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY | | recovery.endpointURL | string | `""` | S3 https endpoint and the s3:// path | @@ -70,7 +70,7 @@ Chart for cloudnative-pg cluster | recovery.recoveryServerName | string | `""` | Name of the recovery cluster in the object store, defaults to "cluster.name" | | recovery.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. | | recovery.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. | -| recovery.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. | +| recovery.wal.maxParallel | int | `1` | Number of WAL files to be archived or restored in parallel. | | replica.externalCluster | object | `{"connectionParameters":{"dbname":"app","host":"postgresql","user":"app"},"password":{"key":"password","name":"postgresql"}}` | External cluster connection, password specifies a secret name and the key containing the password value | | replica.importDatabases | list | `["app"]` | If type microservice only one database is allowed, default is app as standard in cnpg clusters | | replica.importRoles | list | `[]` | If type microservice no roles are imported and ignored | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index d7861c8..43563ad 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -129,14 +129,14 @@ recovery: # -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" # -- Number of WAL files to be archived or restored in parallel. - maxParallel: 2 + maxParallel: 1 data: # -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy # -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" # -- Number of data files to be archived or restored in parallel. - jobs: 2 + jobs: 1 replica: # -- See [here](https://cloudnative-pg.io/documentation/current/database_import/) for different import types @@ -197,17 +197,17 @@ backup: # -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" # -- Number of WAL files to be archived or restored in parallel. - maxParallel: 2 + maxParallel: 1 data: # -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy # -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" # -- Number of data files to be archived or restored in parallel. - jobs: 2 + jobs: 1 # -- Retention policy for backups - retentionPolicy: "14d" + retentionPolicy: "7d" # -- Scheduled backup in cron format - schedule: "0 0 0 * * *" + schedule: "0 0 */3 * *" -- 2.49.1 From 08473fc26530430107f0d81be9bad281a48407fd Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 17 Feb 2025 20:16:25 -0600 Subject: [PATCH 61/73] update image --- charts/cloudflared/Chart.yaml | 6 +++--- charts/cloudflared/README.md | 6 +++--- charts/cloudflared/values.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 76ad687..6f66b4d 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.13.0 +version: 1.14.0 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.6.1 + version: 3.7.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2025.1.0" +appVersion: "2025.2.0" diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index d2629b7..9421c77 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.13.0](https://img.shields.io/badge/Version-1.13.0-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) +![Version: 1.14.0](https://img.shields.io/badge/Version-1.14.0-informational?style=flat-square) ![AppVersion: 2025.2.0](https://img.shields.io/badge/AppVersion-2025.2.0-informational?style=flat-square) Cloudflared Tunnel @@ -19,7 +19,7 @@ Cloudflared Tunnel | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.6.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.7.1 | ## 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.1.0"}` | Default image | +| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.2.0"}` | Default image | | name | string | `"cloudflared"` | Name override of release | | resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources | diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index a2a38dd..8a0e387 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token # -- Default image image: repository: cloudflare/cloudflared - tag: "2025.1.0" + tag: "2025.2.0" pullPolicy: IfNotPresent # -- Default resources -- 2.49.1 From 94184ea5694b8633c4b3a3295b2859a84b85ada2 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 17 Feb 2025 20:17:36 -0600 Subject: [PATCH 62/73] update chart --- charts/generic-device-plugin/Chart.yaml | 6 +++--- charts/generic-device-plugin/README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index 0b54a2d..f4a7fa3 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.6 +version: 0.1.7 description: Generic Device Plugin keywords: - generic-device-plugin @@ -14,5 +14,5 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.6.1 -appVersion: 0.1.6 + version: 3.7.1 +appVersion: 0.1.7 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index a348c4c..e9e2abe 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![AppVersion: 0.1.6](https://img.shields.io/badge/AppVersion-0.1.6-informational?style=flat-square) +![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![AppVersion: 0.1.7](https://img.shields.io/badge/AppVersion-0.1.7-informational?style=flat-square) Generic Device Plugin @@ -19,7 +19,7 @@ Generic Device Plugin | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.6.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.7.1 | ## Values -- 2.49.1 From 27edd0a1ef539c35e8b5f8f5dda961cadab249b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 20:17:48 -0600 Subject: [PATCH 63/73] Update helm/chart-testing-action action to v2.7.0 (#77) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/lint-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index b24ee59..8771ef9 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -22,7 +22,7 @@ jobs: check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.6.1 + uses: helm/chart-testing-action@v2.7.0 - name: Run chart-testing (list-changed) id: list-changed -- 2.49.1 From 94b6b4b0fbc0f8151616a944b2c6a0a398a4f80f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 20:17:54 -0600 Subject: [PATCH 64/73] Update helm/chart-releaser-action action to v1.7.0 (#76) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6af231c..9f4e6c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,6 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.6.0 + uses: helm/chart-releaser-action@v1.7.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" -- 2.49.1 From 81aac4790e31a0d4546ddd2bafcdeb12f595e4e2 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 17 Feb 2025 20:19:25 -0600 Subject: [PATCH 65/73] update image --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 74a7ec6..622e603 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.4 +version: 4.1.5 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 1ffe6a5..ca4b1b5 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.4](https://img.shields.io/badge/Version-4.1.4-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.1.5](https://img.shields.io/badge/Version-4.1.5-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -41,7 +41,7 @@ Chart for cloudnative-pg cluster | cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration | | cluster.annotations | object | `{}` | | | cluster.enableSuperuserAccess | bool | `false` | Create secret containing credentials of superuser | -| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-22"}` | Default image | +| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-34"}` | Default image | | cluster.instances | int | `3` | | | cluster.logLevel | string | `"info"` | | | cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enableDefaultRules":true,"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 43563ad..7dc83b8 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -20,7 +20,7 @@ cluster: # -- Default image image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "17.2-22" + tag: "17.2-34" pullPolicy: IfNotPresent # -- The UID and GID of the postgres user inside the image -- 2.49.1 From 9f66bd588c31c9c0771cea29df5e7e602cb1462f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 26 Feb 2025 13:38:48 -0600 Subject: [PATCH 66/73] remove days --- .github/renovate.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index db53a35..685d96e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -43,8 +43,7 @@ "addLabels": [ "image" ], - "automerge": false, - "minimumReleaseAge": "3 days" + "automerge": false }, { "description": "Label charts", @@ -54,8 +53,7 @@ "addLabels": [ "chart" ], - "automerge": false, - "minimumReleaseAge": "3 days" + "automerge": false } ] } -- 2.49.1 From 39134cbd9583187809951f9acfdd300e73f97767 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 26 Feb 2025 13:54:41 -0600 Subject: [PATCH 67/73] use deb version --- .github/renovate.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 685d96e..c74cc7d 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -35,6 +35,16 @@ ], "automerge": false }, + { + "description": "Label charts", + "matchDatasources": [ + "helm" + ], + "addLabels": [ + "chart" + ], + "automerge": false + }, { "description": "Label images", "matchDatasources": [ @@ -46,14 +56,15 @@ "automerge": false }, { - "description": "Label charts", + "description": "CNPG image", "matchDatasources": [ - "helm" + "docker" ], "addLabels": [ - "chart" + "image" ], - "automerge": false + "automerge": false, + "versioning": "deb" } ] } -- 2.49.1 From 86e87dbbba99910e18f6624429f345f5da85711f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 26 Feb 2025 13:55:58 -0600 Subject: [PATCH 68/73] add dep name --- .github/renovate.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index c74cc7d..e3dcbcb 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -57,6 +57,9 @@ }, { "description": "CNPG image", + "matchDepNames": [ + "ghcr.io/cloudnative-pg/postgresql" + ], "matchDatasources": [ "docker" ], -- 2.49.1 From 78afcf24d362e7cbf2471a811a64728b843511f6 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 26 Feb 2025 13:57:44 -0600 Subject: [PATCH 69/73] update version --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 622e603..e27715a 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.1.5 +version: 4.2.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index ca4b1b5..591b6b4 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.1.5](https://img.shields.io/badge/Version-4.1.5-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.2.0](https://img.shields.io/badge/Version-4.2.0-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -41,7 +41,7 @@ Chart for cloudnative-pg cluster | cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration | | cluster.annotations | object | `{}` | | | cluster.enableSuperuserAccess | bool | `false` | Create secret containing credentials of superuser | -| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-34"}` | Default image | +| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.4-2-bullseye"}` | Default image | | cluster.instances | int | `3` | | | cluster.logLevel | string | `"info"` | | | cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enableDefaultRules":true,"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 7dc83b8..3cf9696 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -20,7 +20,7 @@ cluster: # -- Default image image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "17.2-34" + tag: "17.4-2-bullseye" pullPolicy: IfNotPresent # -- The UID and GID of the postgres user inside the image -- 2.49.1 From e28f44b6978bcb7ef34f3f0b118a26990ab743d3 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 3 Mar 2025 11:16:15 -0600 Subject: [PATCH 70/73] update image --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/README.md | 4 ++-- charts/cloudflared/values.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 6f66b4d..5c68e30 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.14.0 +version: 1.14.1 description: Cloudflared Tunnel keywords: - cloudflare @@ -15,4 +15,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.7.1 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 -appVersion: "2025.2.0" +appVersion: "2025.2.1" diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index 9421c77..dbede89 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.14.0](https://img.shields.io/badge/Version-1.14.0-informational?style=flat-square) ![AppVersion: 2025.2.0](https://img.shields.io/badge/AppVersion-2025.2.0-informational?style=flat-square) +![Version: 1.14.1](https://img.shields.io/badge/Version-1.14.1-informational?style=flat-square) ![AppVersion: 2025.2.1](https://img.shields.io/badge/AppVersion-2025.2.1-informational?style=flat-square) Cloudflared Tunnel @@ -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.2.0"}` | Default image | +| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.2.1"}` | Default image | | name | string | `"cloudflared"` | Name override of release | | resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources | diff --git a/charts/cloudflared/values.yaml b/charts/cloudflared/values.yaml index 8a0e387..4ae251c 100644 --- a/charts/cloudflared/values.yaml +++ b/charts/cloudflared/values.yaml @@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token # -- Default image image: repository: cloudflare/cloudflared - tag: "2025.2.0" + tag: "2025.2.1" pullPolicy: IfNotPresent # -- Default resources -- 2.49.1 From c549882df9689ac82c3c8eb173cb9e33cd7548c3 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 3 Mar 2025 11:17:13 -0600 Subject: [PATCH 71/73] update image --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 4 ++-- charts/postgres-cluster/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index e27715a..0783274 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 4.2.0 +version: 4.2.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 591b6b4..1fa29b4 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 4.2.0](https://img.shields.io/badge/Version-4.2.0-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) +![Version: 4.2.1](https://img.shields.io/badge/Version-4.2.1-informational?style=flat-square) ![AppVersion: v1.25.0](https://img.shields.io/badge/AppVersion-v1.25.0-informational?style=flat-square) Chart for cloudnative-pg cluster @@ -41,7 +41,7 @@ Chart for cloudnative-pg cluster | cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration | | cluster.annotations | object | `{}` | | | cluster.enableSuperuserAccess | bool | `false` | Create secret containing credentials of superuser | -| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.4-2-bullseye"}` | Default image | +| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.4-3-bullseye"}` | Default image | | cluster.instances | int | `3` | | | cluster.logLevel | string | `"info"` | | | cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enableDefaultRules":true,"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 3cf9696..a33f6b3 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -20,7 +20,7 @@ cluster: # -- Default image image: repository: ghcr.io/cloudnative-pg/postgresql - tag: "17.4-2-bullseye" + tag: "17.4-3-bullseye" pullPolicy: IfNotPresent # -- The UID and GID of the postgres user inside the image -- 2.49.1 From 02bec682c28d4f268c7f02246eeadc906aba8e53 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 5 Mar 2025 17:56:08 -0600 Subject: [PATCH 72/73] update library chart --- charts/cloudflared/Chart.yaml | 4 ++-- charts/cloudflared/README.md | 4 ++-- charts/generic-device-plugin/Chart.yaml | 4 ++-- charts/generic-device-plugin/README.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 5c68e30..251c950 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflared -version: 1.14.1 +version: 1.14.2 description: Cloudflared Tunnel keywords: - cloudflare @@ -13,6 +13,6 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.7.1 + version: 3.7.2 icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4 appVersion: "2025.2.1" diff --git a/charts/cloudflared/README.md b/charts/cloudflared/README.md index dbede89..44210f9 100644 --- a/charts/cloudflared/README.md +++ b/charts/cloudflared/README.md @@ -1,6 +1,6 @@ # cloudflared -![Version: 1.14.1](https://img.shields.io/badge/Version-1.14.1-informational?style=flat-square) ![AppVersion: 2025.2.1](https://img.shields.io/badge/AppVersion-2025.2.1-informational?style=flat-square) +![Version: 1.14.2](https://img.shields.io/badge/Version-1.14.2-informational?style=flat-square) ![AppVersion: 2025.2.1](https://img.shields.io/badge/AppVersion-2025.2.1-informational?style=flat-square) Cloudflared Tunnel @@ -19,7 +19,7 @@ Cloudflared Tunnel | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.7.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.7.2 | ## Values diff --git a/charts/generic-device-plugin/Chart.yaml b/charts/generic-device-plugin/Chart.yaml index f4a7fa3..a9e0823 100644 --- a/charts/generic-device-plugin/Chart.yaml +++ b/charts/generic-device-plugin/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: generic-device-plugin -version: 0.1.7 +version: 0.1.8 description: Generic Device Plugin keywords: - generic-device-plugin @@ -14,5 +14,5 @@ maintainers: dependencies: - name: common repository: https://bjw-s.github.io/helm-charts/ - version: 3.7.1 + version: 3.7.2 appVersion: 0.1.7 diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index e9e2abe..28d1ae9 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![AppVersion: 0.1.7](https://img.shields.io/badge/AppVersion-0.1.7-informational?style=flat-square) +![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![AppVersion: 0.1.7](https://img.shields.io/badge/AppVersion-0.1.7-informational?style=flat-square) Generic Device Plugin @@ -19,7 +19,7 @@ Generic Device Plugin | Repository | Name | Version | |------------|------|---------| -| https://bjw-s.github.io/helm-charts/ | common | 3.7.1 | +| https://bjw-s.github.io/helm-charts/ | common | 3.7.2 | ## Values -- 2.49.1 From 99ed8cce53758ea8ad6d2cc0d826c70d544005dc Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 13 Mar 2025 23:02:05 -0500 Subject: [PATCH 73/73] change config --- .github/renovate-update-notification/Dockerfile | 2 -- .github/renovate.json => renovate.json | 0 2 files changed, 2 deletions(-) delete mode 100644 .github/renovate-update-notification/Dockerfile rename .github/renovate.json => renovate.json (100%) diff --git a/.github/renovate-update-notification/Dockerfile b/.github/renovate-update-notification/Dockerfile deleted file mode 100644 index 94bb82a..0000000 --- a/.github/renovate-update-notification/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions -FROM renovate/renovate:39 diff --git a/.github/renovate.json b/renovate.json similarity index 100% rename from .github/renovate.json rename to renovate.json -- 2.49.1