Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

repo-jeeves[bot]
Copy link
Contributor

@repo-jeeves repo-jeeves bot commented Jul 30, 2024

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

Compare Source

CloudNativePG Operator Helm Chart

What's Changed

New Contributors

Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.5...cloudnative-pg-v0.21.6

| datasource | package        | from   | to     |
| ---------- | -------------- | ------ | ------ |
| helm       | cloudnative-pg | 0.21.5 | 0.21.6 |
@repo-jeeves repo-jeeves bot added renovate/helm Issue relates to a Renovate helm update type/patch Issue relates to a patch version bump cluster/main Changes made in the main cluster size/XS Marks a PR that changes 0-9 lines, ignoring generated files labels Jul 30, 2024
@repo-jeeves
Copy link
Contributor Author

repo-jeeves bot commented Jul 30, 2024

--- HelmRelease: dbms/cloudnative-pg ConfigMap: dbms/cnpg-default-monitoring

+++ HelmRelease: dbms/cloudnative-pg ConfigMap: dbms/cnpg-default-monitoring

@@ -83,12 +83,13 @@

       query: |
         SELECT datname
           , pg_catalog.pg_database_size(datname) AS size_bytes
           , 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"
             description: "Name of the database"
         - size_bytes:
             usage: "GAUGE"
@@ -246,12 +247,77 @@

         - buffers_backend_fsync:
             usage: "COUNTER"
             description: "Number of times a backend had to execute its own fsync call (normally the background writer handles those even when the backend does its own write)"
         - buffers_alloc:
             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
           , xact_commit
           , xact_rollback
--- HelmRelease: dbms/cloudnative-pg ClusterRole: dbms/cloudnative-pg

+++ HelmRelease: dbms/cloudnative-pg ClusterRole: dbms/cloudnative-pg

@@ -128,24 +128,20 @@

 - apiGroups:
   - admissionregistration.k8s.io
   resources:
   - mutatingwebhookconfigurations
   verbs:
   - get
-  - list
-  - patch
-  - update
+  - patch
 - apiGroups:
   - admissionregistration.k8s.io
   resources:
   - validatingwebhookconfigurations
   verbs:
   - get
-  - list
-  - patch
-  - update
+  - patch
 - apiGroups:
   - apiextensions.k8s.io
   resources:
   - customresourcedefinitions
   verbs:
   - get
--- HelmRelease: dbms/cloudnative-pg Deployment: dbms/cloudnative-pg

+++ HelmRelease: dbms/cloudnative-pg Deployment: dbms/cloudnative-pg

@@ -26,20 +26,20 @@

         - --config-map-name=cnpg-controller-manager-config
         - --webhook-port=9443
         command:
         - /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:
             path: /readyz
             port: 9443
             scheme: HTTPS

@repo-jeeves
Copy link
Contributor Author

repo-jeeves bot commented Jul 30, 2024

--- kubernetes/main/apps/dbms/cloudnative-pg/cloudnative-pg Kustomization: flux-system/dbms-cloudnative-pg HelmRelease: dbms/cloudnative-pg

+++ kubernetes/main/apps/dbms/cloudnative-pg/cloudnative-pg Kustomization: flux-system/dbms-cloudnative-pg HelmRelease: dbms/cloudnative-pg

@@ -13,13 +13,13 @@

     spec:
       chart: cloudnative-pg
       sourceRef:
         kind: HelmRepository
         name: cloudnative-pg-charts
         namespace: flux-system
-      version: 0.21.5
+      version: 0.21.6
   install:
     createNamespace: true
     remediation:
       retries: 3
   interval: 15m
   maxHistory: 3

@repo-jeeves
Copy link
Contributor Author

repo-jeeves bot commented Jul 30, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 1.0s
✅ REPOSITORY git_diff yes no 0.04s
✅ REPOSITORY secretlint yes no 2.57s
✅ YAML prettier 1 0 0.35s
✅ YAML yamllint 1 0 0.28s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@szinn szinn merged commit 41bcd2f into main Jul 30, 2024
16 checks passed
@szinn szinn deleted the renovate/main-cloudnative-pg-0.x branch July 30, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster/main Changes made in the main cluster renovate/helm Issue relates to a Renovate helm update size/XS Marks a PR that changes 0-9 lines, ignoring generated files type/patch Issue relates to a patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant