billimek / k8s-gitops

GitOps principles to define kubernetes cluster state via code
Apache License 2.0
641 stars 84 forks source link

fix(helm): update chart cloudnative-pg ( 0.21.5 → 0.21.6 ) #3952

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Update Change
cloudnative-pg (source) patch 0.21.5 -> 0.21.6

Release Notes

cloudnative-pg/charts (cloudnative-pg) ### [`v0.21.6`](https://togithub.com/cloudnative-pg/charts/releases/tag/cloudnative-pg-v0.21.6) [Compare Source](https://togithub.com/cloudnative-pg/charts/compare/cloudnative-pg-v0.21.5...cloudnative-pg-v0.21.6) CloudNativePG Operator Helm Chart ##### What's Changed - Add walStorage capability and remove gkeEnvironment conflict in cluster chart. by [@​rocket357](https://togithub.com/rocket357) in [https://github.com/cloudnative-pg/charts/pull/312](https://togithub.com/cloudnative-pg/charts/pull/312) - chore(deps): update actions/setup-python action to v5.1.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/cloudnative-pg/charts/pull/330](https://togithub.com/cloudnative-pg/charts/pull/330) - chore(deps): update docker/login-action action to v3.3.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/cloudnative-pg/charts/pull/333](https://togithub.com/cloudnative-pg/charts/pull/333) - chore: add support for `hostNetwork` in chart by [@​marckhair](https://togithub.com/marckhair) in [https://github.com/cloudnative-pg/charts/pull/324](https://togithub.com/cloudnative-pg/charts/pull/324) - feat(cloudnative-pg): Configuration of PodMonitor relabeling rules by [@​npdgm](https://togithub.com/npdgm) in [https://github.com/cloudnative-pg/charts/pull/148](https://togithub.com/cloudnative-pg/charts/pull/148) - fix: linter - trailing white spaces by [@​sxd](https://togithub.com/sxd) in [https://github.com/cloudnative-pg/charts/pull/339](https://togithub.com/cloudnative-pg/charts/pull/339) - Release cloudnative-pg-v0.21.6 by [@​github-actions](https://togithub.com/github-actions) in [https://github.com/cloudnative-pg/charts/pull/340](https://togithub.com/cloudnative-pg/charts/pull/340) ##### New Contributors - [@​rocket357](https://togithub.com/rocket357) made their first contribution in [https://github.com/cloudnative-pg/charts/pull/312](https://togithub.com/cloudnative-pg/charts/pull/312) - [@​marckhair](https://togithub.com/marckhair) made their first contribution in [https://github.com/cloudnative-pg/charts/pull/324](https://togithub.com/cloudnative-pg/charts/pull/324) - [@​npdgm](https://togithub.com/npdgm) made their first contribution in [https://github.com/cloudnative-pg/charts/pull/148](https://togithub.com/cloudnative-pg/charts/pull/148) **Full Changelog**: https://github.com/cloudnative-pg/charts/compare/cloudnative-pg-v0.21.5...cloudnative-pg-v0.21.6

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 2 months ago

Helm Release Diff: default/cloudnative-pg/chart/cloudnative-pg.yaml

--- /tmp/tmp.iOBmn4emtK 2024-07-30 12:44:22.759398439 +0000
+++ /tmp/tmp.z4oYp8w4TD 2024-07-30 12:44:24.331412300 +0000
@@ -112,6 +112,7 @@
           , pg_catalog.age(datfrozenxid) AS xid_age
           , pg_catalog.mxid_age(datminmxid) AS mxid_age
         FROM pg_catalog.pg_database
+        WHERE datallowconn
       metrics:
         - datname:
             usage: "LABEL"
@@ -276,6 +277,71 @@
             usage: "COUNTER"
             description: "Number of buffers allocated"

+    pg_stat_bgwriter_17:
+      runonserver: ">=17.0.0"
+      name: pg_stat_bgwriter
+      query: |
+        SELECT buffers_clean
+          , maxwritten_clean
+          , buffers_alloc
+          , EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
+        FROM pg_catalog.pg_stat_bgwriter
+      metrics:
+        - buffers_clean:
+            usage: "COUNTER"
+            description: "Number of buffers written by the background writer"
+        - maxwritten_clean:
+            usage: "COUNTER"
+            description: "Number of times the background writer stopped a cleaning scan because it had written too many buffers"
+        - buffers_alloc:
+            usage: "COUNTER"
+            description: "Number of buffers allocated"
+        - stats_reset_time:
+            usage: "GAUGE"
+            description: "Time at which these statistics were last reset"
+
+    pg_stat_checkpointer:
+      runonserver: ">=17.0.0"
+      query: |
+        SELECT num_timed AS checkpoints_timed
+          , num_requested AS checkpoints_req
+          , restartpoints_timed
+          , restartpoints_req
+          , restartpoints_done
+          , write_time
+          , sync_time
+          , buffers_written
+          , EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
+        FROM pg_catalog.pg_stat_checkpointer
+      metrics:
+        - checkpoints_timed:
+            usage: "COUNTER"
+            description: "Number of scheduled checkpoints that have been performed"
+        - checkpoints_req:
+            usage: "COUNTER"
+            description: "Number of requested checkpoints that have been performed"
+        - restartpoints_timed:
+            usage: "COUNTER"
+            description: "Number of scheduled restartpoints due to timeout or after a failed attempt to perform it"
+        - restartpoints_req:
+            usage: "COUNTER"
+            description: "Number of requested restartpoints that have been performed"
+        - restartpoints_done:
+            usage: "COUNTER"
+            description: "Number of restartpoints that have been performed"
+        - write_time:
+            usage: "COUNTER"
+            description: "Total amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are written to disk, in milliseconds"
+        - sync_time:
+            usage: "COUNTER"
+            description: "Total amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are synchronized to disk, in milliseconds"
+        - buffers_written:
+            usage: "COUNTER"
+            description: "Number of buffers written during checkpoints and restartpoints"
+        - stats_reset_time:
+            usage: "GAUGE"
+            description: "Time at which these statistics were last reset"
+
     pg_stat_database:
       query: |
         SELECT datname
@@ -548,18 +614,14 @@
       - mutatingwebhookconfigurations
     verbs:
       - get
-      - list
       - patch
-      - update
   - apiGroups:
       - admissionregistration.k8s.io
     resources:
       - validatingwebhookconfigurations
     verbs:
       - get
-      - list
       - patch
-      - update
   - apiGroups:
       - apiextensions.k8s.io
     resources:
@@ -861,14 +923,14 @@
             - /manager
           env:
             - name: OPERATOR_IMAGE_NAME
-              value: "ghcr.io/cloudnative-pg/cloudnative-pg:1.23.2"
+              value: "ghcr.io/cloudnative-pg/cloudnative-pg:1.23.3"
             - name: OPERATOR_NAMESPACE
               valueFrom:
                 fieldRef:
                   fieldPath: metadata.namespace
             - name: MONITORING_QUERIES_CONFIGMAP
               value: "cnpg-default-monitoring"
-          image: "ghcr.io/cloudnative-pg/cloudnative-pg:1.23.2"
+          image: "ghcr.io/cloudnative-pg/cloudnative-pg:1.23.3"
           imagePullPolicy: IfNotPresent
           livenessProbe:
             httpGet: