generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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 chart cloudnative-pg to 0.22.0 #31
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-default-monitoring
+++ HelmRelease: database/cloudnative-pg ConfigMap: database/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"
@@ -202,12 +203,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
@@ -245,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: database/cloudnative-pg ClusterRole: database/cloudnative-pg
+++ HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg
@@ -35,20 +35,12 @@
verbs:
- create
- patch
- apiGroups:
- ''
resources:
- - namespaces
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - ''
- resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
@@ -136,32 +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
-- apiGroups:
- - apiextensions.k8s.io
- resources:
- - customresourcedefinitions
- verbs:
- - get
- - list
- - update
+ - patch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
@@ -233,12 +213,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 +248,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.0
+ value: ghcr.io/cloudnative-pg/cloudnative-pg:1.24.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.0
+ image: ghcr.io/cloudnative-pg/cloudnative-pg:1.24.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /readyz
port: 9443
scheme: HTTPS |
--- kubernetes/apps/database/cloudnative-pg/app Kustomization: flux-system/cloudnative-pg HelmRelease: database/cloudnative-pg
+++ kubernetes/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.0
+ version: 0.22.0
dependsOn:
- name: local-path-provisioner
namespace: storage
install:
remediation:
retries: 3 |
f4b4518
to
c64280e
Compare
c64280e
to
724a5cc
Compare
724a5cc
to
9b9117f
Compare
9b9117f
to
6672972
Compare
6672972
to
6ed4819
Compare
6ed4819
to
ccd1f8d
Compare
ccd1f8d
to
1bdf8c6
Compare
1bdf8c6
to
a1a0773
Compare
a1a0773
to
0df59e4
Compare
b2dbb19
to
6abd089
Compare
5531648
to
46b62df
Compare
46b62df
to
6c99511
Compare
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
6c99511
to
40857d2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.0
->0.22.0
Release Notes
cloudnative-pg/charts (cloudnative-pg)
v0.22.0
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.6...cloudnative-pg-v0.22.0
v0.21.6
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
hostNetwork
in chart by @marckhair in https://github.com/cloudnative-pg/charts/pull/324New Contributors
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.5...cloudnative-pg-v0.21.6
v0.21.5
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.4...cloudnative-pg-v0.21.5
v0.21.4
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.3...cloudnative-pg-v0.21.4
v0.21.3
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
New Contributors
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.2...cloudnative-pg-v0.21.3
v0.21.2
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
New Contributors
Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.21.1...cloudnative-pg-v0.21.2
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@cloudnative-pg-v0.20.2...cloudnative-pg-v0.21.0
v0.20.2
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
v1.22.2
"1"
by @orlovmyk in https://github.com/cloudnative-pg/charts/pull/203New Contributors
Full Changelog: https://github.com/cloudnative-pg/charts/compare/ cloudnative-pg-v0.20.1...cloudnative-pg-v0.20.2
v0.20.1
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
cnpg-sandbox
by @gbartolini in https://github.com/cloudnative-pg/charts/pull/6161a6322
by @renovate in https://github.com/cloudnative-pg/charts/pull/13065d7f2d
by @renovate in https://github.com/cloudnative-pg/charts/pull/153New Contributors
Full Changelog: https://github.com/cloudnative-pg/charts/commits/cloudnative-pg-v0.20.1
Configuration
📅 Schedule: Branch creation - "on saturday" (UTC), 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.