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

feat(helm): update cloudnative-pg ( 0.20.2 → 0.21.1 ) #4593

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

lumiere-bot[bot]
Copy link
Contributor

@lumiere-bot lumiere-bot bot commented Apr 25, 2024

This PR contains the following updates:

Package Update Change
cloudnative-pg (source) minor 0.20.2 -> 0.21.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cloudnative-pg/charts (cloudnative-pg)

v0.21.1

Compare Source

CloudNativePG Operator Helm Chart

What's Changed

New Contributors

Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.0...cloudnative-pg-v0.21.1

v0.21.0

Compare Source

CloudNativePG Operator Helm Chart

What's Changed

New Contributors

Full Changelog: cloudnative-pg/charts@cluster-v0.0.8...cloudnative-pg-v0.21.0


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@lumiere-bot lumiere-bot bot requested a review from coolguy1771 as a code owner April 25, 2024 12:09
@lumiere-bot lumiere-bot bot added type/minor area/kubernetes Changes made in the kubernetes directory cluster/kyak labels Apr 25, 2024
@lumiere-bot
Copy link
Contributor Author

lumiere-bot bot commented Apr 25, 2024

--- kubernetes/kyak/apps/database/cloudnative-pg/app Kustomization: flux-system/cloudnative-pg HelmRelease: database/cloudnative-pg

+++ kubernetes/kyak/apps/database/cloudnative-pg/app Kustomization: flux-system/cloudnative-pg HelmRelease: database/cloudnative-pg

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

     spec:
       chart: cloudnative-pg
       sourceRef:
         kind: HelmRepository
         name: cloudnative-pg
         namespace: flux-system
-      version: 0.20.2
+      version: 0.21.1
   dependsOn: []
   install:
     remediation:
       retries: 3
   interval: 30m
   uninstall:

@lumiere-bot
Copy link
Contributor Author

lumiere-bot bot commented Apr 25, 2024

--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-grafana-dashboard

+++ HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-grafana-dashboard

@@ -6,12 +6,97 @@

   namespace: database
   labels:
     grafana_dashboard: '1'
 data:
   cnp.json: |-
     {
+      "__inputs": [
+        {
+          "name": "DS_PROMETHEUS",
+          "label": "Prometheus",
+          "description": "",
+          "type": "datasource",
+          "pluginId": "prometheus",
+          "pluginName": "Prometheus"
+        },
+        {
+          "name": "DS_EXPRESSION",
+          "label": "Expression",
+          "description": "",
+          "type": "datasource",
+          "pluginId": "__expr__"
+        }
+      ],
+      "__elements": {},
+      "__requires": [
+        {
+          "type": "datasource",
+          "id": "__expr__",
+          "version": "1.0.0"
+        },
+        {
+          "type": "panel",
+          "id": "alertlist",
+          "name": "Alert list",
+          "version": ""
+        },
+        {
+          "type": "panel",
+          "id": "bargauge",
+          "name": "Bar gauge",
+          "version": ""
+        },
+        {
+          "type": "panel",
+          "id": "gauge",
+          "name": "Gauge",
+          "version": ""
+        },
+        {
+          "type": "grafana",
+          "id": "grafana",
+          "name": "Grafana",
+          "version": "10.3.3"
+        },
+        {
+          "type": "panel",
+          "id": "heatmap",
+          "name": "Heatmap",
+          "version": ""
+        },
+        {
+          "type": "datasource",
+          "id": "prometheus",
+          "name": "Prometheus",
+          "version": "1.0.0"
+        },
+        {
+          "type": "panel",
+          "id": "stat",
+          "name": "Stat",
+          "version": ""
+        },
+        {
+          "type": "panel",
+          "id": "table",
+          "name": "Table",
+          "version": ""
+        },
+        {
+          "type": "panel",
+          "id": "text",
+          "name": "Text",
+          "version": ""
+        },
+        {
+          "type": "panel",
+          "id": "timeseries",
+          "name": "Time series",
+          "version": ""
+        }
+      ],
       "annotations": {
         "list": [
           {
             "builtIn": 1,
             "datasource": {
               "type": "datasource",
@@ -31,12 +116,13 @@

           }
         ]
       },
       "editable": true,
       "fiscalYearStartMonth": 0,
       "graphTooltip": 1,
+      "id": null,
       "links": [
         {
           "asDropdown": false,
           "icon": "external link",
           "includeVars": false,
           "keepTime": false,
@@ -50,51 +136,25 @@

           "url": ""
         }
       ],
       "liveNow": false,
       "panels": [
         {
-          "collapsed": true,
-          "gridPos": {
-            "h": 1,
-            "w": 24,
-            "x": 0,
-            "y": 0
-          },
-          "id": 563,
-          "panels": [],
-          "title": "Row title",
-          "type": "row"
-        },
-        {
-          "collapsed": false,
-          "gridPos": {
-            "h": 1,
-            "w": 24,
-            "x": 0,
-            "y": 1
-          },
-          "id": 562,
-          "panels": [],
-          "title": "Summary",
-          "type": "row"
-        },
-        {
           "datasource": {
             "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
           "gridPos": {
             "h": 7,
             "w": 3,
             "x": 0,
-            "y": 2
-          },
-          "id": 334,
+            "y": 0
+          },
+          "id": 676,
           "options": {
-            "alertInstanceLabelFilter": "{namespace=~\"$namespace\",pod=~\"$cluster-[0-9]+$\"}",
+            "alertInstanceLabelFilter": "{namespace=~\"$namespace\",pod=~\"$instances\"}",
             "alertName": "",
             "dashboardAlerts": false,
             "folder": "",
             "groupBy": [],
             "groupMode": "default",
             "maxItems": 20,
@@ -115,85 +175,476 @@

           "datasource": {
             "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
           "gridPos": {
             "h": 1,
-            "w": 15,
+            "w": 4,
             "x": 3,
-            "y": 2
+            "y": 0
+          },
+          "id": 586,
+          "options": {
+            "code": {
+              "language": "plaintext",
+              "showLineNumbers": false,
+              "showMiniMap": false
+            },
+            "content": "",
+            "mode": "markdown"
+          },
+          "pluginVersion": "10.3.3",
+          "title": "Health",
+          "type": "text"
+        },
+        {
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "gridPos": {
+            "h": 1,
+            "w": 12,
+            "x": 7,
+            "y": 0
           },
           "id": 336,
           "options": {
             "code": {
               "language": "plaintext",
               "showLineNumbers": false,
               "showMiniMap": false
             },
             "content": "",
             "mode": "markdown"
           },
-          "pluginVersion": "10.2.2",
+          "pluginVersion": "10.3.3",
           "title": "Overview",
           "type": "text"
         },
         {
           "datasource": {
             "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
           "gridPos": {
             "h": 1,
-            "w": 3,
-            "x": 18,
-            "y": 2
+            "w": 2,
+            "x": 19,
+            "y": 0
           },
           "id": 352,
           "options": {
             "code": {
               "language": "plaintext",
               "showLineNumbers": false,
               "showMiniMap": false
             },
             "content": "",
             "mode": "markdown"
           },
-          "pluginVersion": "10.2.2",
+          "pluginVersion": "10.3.3",
           "title": "Storage",
           "type": "text"
         },
         {
           "datasource": {
             "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
           "gridPos": {
             "h": 1,
             "w": 3,
             "x": 21,
-            "y": 2
+            "y": 0
           },
           "id": 354,
           "options": {
             "code": {
               "language": "plaintext",
               "showLineNumbers": false,
               "showMiniMap": false
             },
             "content": "",
             "mode": "markdown"
           },
-          "pluginVersion": "10.2.2",
+          "pluginVersion": "10.3.3",
           "title": "Backups",
           "type": "text"
         },
         {
           "datasource": {
             "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
+          "description": "Cluster Replication Health represents the availability of replica servers available to replace the primary in case of a failure.",
+          "fieldConfig": {
+            "defaults": {
+              "color": {
+                "mode": "thresholds"
+              },
+              "mappings": [
+                {
+                  "options": {
+                    "0": {
+                      "color": "red",
+                      "index": 2,
+                      "text": "None"
+                    },
+                    "1": {
+                      "color": "orange",
+                      "index": 1,
+                      "text": "Degraded"
+                    }
+                  },
+                  "type": "value"
+                },
+                {
+                  "options": {
+                    "from": 2,
+                    "result": {
+                      "color": "green",
+                      "index": 0,
+                      "text": "Healthy"
+                    },
+                    "to": 999
+                  },
+                  "type": "range"
+                }
+              ],
+              "thresholds": {
+                "mode": "absolute",
+                "steps": [
+                  {
+                    "color": "green",
+                    "value": null
+                  }
+                ]
+              },
+              "unitScale": true
+            },
+            "overrides": []
+          },
+          "gridPos": {
+            "h": 2,
+            "w": 2,
+            "x": 3,
+            "y": 1
+          },
+          "id": 585,
+          "options": {
+            "colorMode": "background",
+            "graphMode": "none",
+            "justifyMode": "auto",
+            "orientation": "auto",
+            "reduceOptions": {
+              "calcs": [
+                "lastNotNull"
+              ],
+              "fields": "",
+              "values": false
+            },
+            "showPercentChange": false,
+            "textMode": "auto",
+            "wideLayout": true
+          },
+          "pluginVersion": "10.3.3",
+          "targets": [
+            {
+              "datasource": {
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
+              },
+              "editorMode": "code",
+              "expr": "max(cnpg_pg_replication_streaming_replicas{namespace=~\"$namespace\", pod=~\"$instances\"} - cnpg_pg_replication_is_wal_receiver_up{namespace=~\"$namespace\", pod=~\"$instances\"})",
+              "legendFormat": "Replication",
+              "range": true,
+              "refId": "A"
+            }
+          ],
+          "type": "stat"
+        },
+        {
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "description": "High lag indicates issue with replication. Network or storage interfaces may not have enough bandwidth to handle incoming traffic and replication at the same time.",
+          "fieldConfig": {
+            "defaults": {
+              "color": {
+                "mode": "thresholds"
+              },
+              "mappings": [
+                {
+                  "options": {
+                    "match": "null",
+                    "result": {
[Diff truncated by flux-local]
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-default-monitoring

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

@@ -202,12 +202,13 @@

             description: "Last failed WAL LSN"
         - stats_reset_time:
             usage: "GAUGE"
             description: "Time at which these statistics were last reset"
 
     pg_stat_bgwriter:
+      runonserver: "<17.0.0"
       query: |
         SELECT checkpoints_timed
           , checkpoints_req
           , checkpoint_write_time
           , checkpoint_sync_time
           , buffers_checkpoint
--- HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg

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

@@ -233,12 +233,20 @@

   - get
   - patch
   - update
 - apiGroups:
   - postgresql.cnpg.io
   resources:
+  - clusterimagecatalogs
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
   - clusters
   verbs:
   - create
   - delete
   - get
   - list
@@ -260,12 +268,20 @@

   - patch
   - update
   - watch
 - apiGroups:
   - postgresql.cnpg.io
   resources:
+  - imagecatalogs
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
   - poolers
   verbs:
   - create
   - delete
   - get
   - list
--- HelmRelease: database/cloudnative-pg Deployment: database/cloudnative-pg

+++ HelmRelease: database/cloudnative-pg Deployment: database/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.22.2
+          value: ghcr.io/cloudnative-pg/cloudnative-pg:1.23.0
         - name: OPERATOR_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
         - name: MONITORING_QUERIES_CONFIGMAP
           value: cnpg-default-monitoring
-        image: ghcr.io/cloudnative-pg/cloudnative-pg:1.22.2
+        image: ghcr.io/cloudnative-pg/cloudnative-pg:1.23.0
         imagePullPolicy: IfNotPresent
         livenessProbe:
           httpGet:
             path: /readyz
             port: 9443
             scheme: HTTPS

@lumiere-bot lumiere-bot bot force-pushed the renovate/kyak-cloudnative-pg-0.x branch from 77a6ff1 to a956fca Compare April 27, 2024 15:07
@lumiere-bot lumiere-bot bot changed the title feat(helm): update cloudnative-pg ( 0.20.2 → 0.21.0 ) feat(helm): update cloudnative-pg ( 0.20.2 → 0.21.1 ) Apr 27, 2024
@coolguy1771 coolguy1771 merged commit a884fc0 into main Apr 29, 2024
10 of 12 checks passed
@coolguy1771 coolguy1771 deleted the renovate/kyak-cloudnative-pg-0.x branch April 29, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant