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(cloudnative-pg): update helm-release ( 0.22.1 → 0.23.0 ) #4199

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

tyriis-automation[bot]
Copy link
Contributor

@tyriis-automation tyriis-automation bot commented Dec 23, 2024

This PR contains the following updates:

Package Update Change OpenSSF
cloudnative-pg (source) minor 0.22.1 -> 0.23.0 OpenSSF Scorecard

Warning

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


Release Notes

cloudnative-pg/charts (cloudnative-pg)

v0.23.0

Compare Source

CloudNativePG Operator Helm Chart

What's Changed
New Contributors

Full Changelog: cloudnative-pg/charts@cloudnative-pg-v0.23.0-rc1...cloudnative-pg-v0.23.0


Configuration

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

🚦 Automerge: Enabled.

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.

@tyriis-automation
Copy link
Contributor Author

--- kubernetes/kube-nas/apps/database-system/cloudnative-pg/operator Kustomization: flux-system/cloudnative-pg HelmRelease: database-system/cloudnative-pg

+++ kubernetes/kube-nas/apps/database-system/cloudnative-pg/operator Kustomization: flux-system/cloudnative-pg HelmRelease: database-system/cloudnative-pg

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

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

@tyriis-automation
Copy link
Contributor Author

--- HelmRelease: database-system/cloudnative-pg ServiceAccount: database-system/cloudnative-pg

+++ HelmRelease: database-system/cloudnative-pg ServiceAccount: database-system/cloudnative-pg

@@ -1,10 +1,11 @@

 ---
 apiVersion: v1
 kind: ServiceAccount
 metadata:
   name: cloudnative-pg
+  namespace: database-system
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 
--- HelmRelease: database-system/cloudnative-pg ConfigMap: database-system/cnpg-controller-manager-config

+++ HelmRelease: database-system/cloudnative-pg ConfigMap: database-system/cnpg-controller-manager-config

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: ConfigMap
 metadata:
   name: cnpg-controller-manager-config
+  namespace: database-system
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 data: {}
 
--- HelmRelease: database-system/cloudnative-pg ConfigMap: database-system/cnpg-default-monitoring

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

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: ConfigMap
 metadata:
   name: cnpg-default-monitoring
+  namespace: database-system
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
     cnpg.io/reload: ''
 data:
--- HelmRelease: database-system/cloudnative-pg ClusterRole: database-system/cloudnative-pg

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

@@ -8,12 +8,36 @@

     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 rules:
 - apiGroups:
   - ''
   resources:
+  - nodes
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - admissionregistration.k8s.io
+  resources:
+  - mutatingwebhookconfigurations
+  - validatingwebhookconfigurations
+  verbs:
+  - get
+  - patch
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
+  - clusterimagecatalogs
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - ''
+  resources:
   - configmaps
   - secrets
   - services
   verbs:
   - create
   - delete
@@ -38,20 +62,12 @@

   verbs:
   - create
   - patch
 - apiGroups:
   - ''
   resources:
-  - nodes
-  verbs:
-  - get
-  - list
-  - watch
-- apiGroups:
-  - ''
-  resources:
   - persistentvolumeclaims
   - pods
   - pods/exec
   verbs:
   - create
   - delete
@@ -74,20 +90,12 @@

   - get
   - list
   - patch
   - update
   - watch
 - apiGroups:
-  - admissionregistration.k8s.io
-  resources:
-  - mutatingwebhookconfigurations
-  - validatingwebhookconfigurations
-  verbs:
-  - get
-  - patch
-- apiGroups:
   - apps
   resources:
   - deployments
   verbs:
   - create
   - delete
@@ -140,35 +148,40 @@

   - watch
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - create
   - delete
   - get
   - list
   - patch
   - update
   - watch
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups/status
+  - databases/status
+  - publications/status
   - scheduledbackups/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - postgresql.cnpg.io
-  resources:
-  - clusterimagecatalogs
+  - subscriptions/status
+  verbs:
+  - get
+  - patch
+  - update
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
   - imagecatalogs
   verbs:
   - get
   - list
   - watch
 - apiGroups:
--- HelmRelease: database-system/cloudnative-pg ClusterRole: database-system/cloudnative-pg-view

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

@@ -10,13 +10,16 @@

 rules:
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - get
   - list
   - watch
 
--- HelmRelease: database-system/cloudnative-pg ClusterRole: database-system/cloudnative-pg-edit

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

@@ -10,14 +10,17 @@

 rules:
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - create
   - delete
   - deletecollection
   - patch
   - update
--- HelmRelease: database-system/cloudnative-pg Service: database-system/cnpg-webhook-service

+++ HelmRelease: database-system/cloudnative-pg Service: database-system/cnpg-webhook-service

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: Service
 metadata:
   name: cnpg-webhook-service
+  namespace: database-system
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 spec:
   type: ClusterIP
--- HelmRelease: database-system/cloudnative-pg Deployment: database-system/cloudnative-pg

+++ HelmRelease: database-system/cloudnative-pg Deployment: database-system/cloudnative-pg

@@ -1,45 +1,50 @@

 ---
 apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: cloudnative-pg
+  namespace: database-system
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 spec:
   replicas: 1
   selector:
     matchLabels:
       app.kubernetes.io/name: cloudnative-pg
       app.kubernetes.io/instance: cloudnative-pg
   template:
     metadata:
+      annotations:
+        checksum/rbac: ff38ac70451ccbf34ad83fdaad9dfcb390d4f5e0040af6e1b8e6f84639cd0ff1
+        checksum/monitoring-config: 3d5b4e0174511005e6d2f1f366e086e579614547736ce2fc4fe685192a5193a7
       labels:
         app.kubernetes.io/name: cloudnative-pg
         app.kubernetes.io/instance: cloudnative-pg
     spec:
       containers:
       - args:
         - controller
         - --leader-elect
+        - --max-concurrent-reconciles=10
         - --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.24.1
+          value: ghcr.io/cloudnative-pg/cloudnative-pg:1.25.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.24.1
+        image: ghcr.io/cloudnative-pg/cloudnative-pg:1.25.0
         imagePullPolicy: IfNotPresent
         livenessProbe:
           httpGet:
             path: /readyz
             port: 9443
             scheme: HTTPS

@tyriis-automation
Copy link
Contributor Author

--- HelmRelease: database/cloudnative-pg ServiceAccount: database/cloudnative-pg

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

@@ -1,10 +1,11 @@

 ---
 apiVersion: v1
 kind: ServiceAccount
 metadata:
   name: cloudnative-pg
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-controller-manager-config

+++ HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-controller-manager-config

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: ConfigMap
 metadata:
   name: cnpg-controller-manager-config
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 data: {}
 
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-default-monitoring

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

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: ConfigMap
 metadata:
   name: cnpg-default-monitoring
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
     cnpg.io/reload: ''
 data:
--- HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg

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

@@ -8,12 +8,36 @@

     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 rules:
 - apiGroups:
   - ''
   resources:
+  - nodes
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - admissionregistration.k8s.io
+  resources:
+  - mutatingwebhookconfigurations
+  - validatingwebhookconfigurations
+  verbs:
+  - get
+  - patch
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
+  - clusterimagecatalogs
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - ''
+  resources:
   - configmaps
   - secrets
   - services
   verbs:
   - create
   - delete
@@ -38,20 +62,12 @@

   verbs:
   - create
   - patch
 - apiGroups:
   - ''
   resources:
-  - nodes
-  verbs:
-  - get
-  - list
-  - watch
-- apiGroups:
-  - ''
-  resources:
   - persistentvolumeclaims
   - pods
   - pods/exec
   verbs:
   - create
   - delete
@@ -74,20 +90,12 @@

   - get
   - list
   - patch
   - update
   - watch
 - apiGroups:
-  - admissionregistration.k8s.io
-  resources:
-  - mutatingwebhookconfigurations
-  - validatingwebhookconfigurations
-  verbs:
-  - get
-  - patch
-- apiGroups:
   - apps
   resources:
   - deployments
   verbs:
   - create
   - delete
@@ -140,35 +148,40 @@

   - watch
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - create
   - delete
   - get
   - list
   - patch
   - update
   - watch
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups/status
+  - databases/status
+  - publications/status
   - scheduledbackups/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - postgresql.cnpg.io
-  resources:
-  - clusterimagecatalogs
+  - subscriptions/status
+  verbs:
+  - get
+  - patch
+  - update
+- apiGroups:
+  - postgresql.cnpg.io
+  resources:
   - imagecatalogs
   verbs:
   - get
   - list
   - watch
 - apiGroups:
--- HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg-view

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

@@ -10,13 +10,16 @@

 rules:
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - get
   - list
   - watch
 
--- HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg-edit

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

@@ -10,14 +10,17 @@

 rules:
 - apiGroups:
   - postgresql.cnpg.io
   resources:
   - backups
   - clusters
+  - databases
   - poolers
+  - publications
   - scheduledbackups
+  - subscriptions
   verbs:
   - create
   - delete
   - deletecollection
   - patch
   - update
--- HelmRelease: database/cloudnative-pg Service: database/cnpg-webhook-service

+++ HelmRelease: database/cloudnative-pg Service: database/cnpg-webhook-service

@@ -1,11 +1,12 @@

 ---
 apiVersion: v1
 kind: Service
 metadata:
   name: cnpg-webhook-service
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 spec:
   type: ClusterIP
--- HelmRelease: database/cloudnative-pg Deployment: database/cloudnative-pg

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

@@ -1,45 +1,50 @@

 ---
 apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: cloudnative-pg
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 spec:
   replicas: 1
   selector:
     matchLabels:
       app.kubernetes.io/name: cloudnative-pg
       app.kubernetes.io/instance: cloudnative-pg
   template:
     metadata:
+      annotations:
+        checksum/rbac: ab8dcac3d79c2357f99ceb4f9750b878fd2a1aa86952a2bf2ee5b4a3a34d3bfc
+        checksum/monitoring-config: ad3bd264e89aea9050532020e9f9f7a1ec15c654dbaa77497553912aede8b3d0
       labels:
         app.kubernetes.io/name: cloudnative-pg
         app.kubernetes.io/instance: cloudnative-pg
     spec:
       containers:
       - args:
         - controller
         - --leader-elect
+        - --max-concurrent-reconciles=10
         - --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.24.1
+          value: ghcr.io/cloudnative-pg/cloudnative-pg:1.25.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.24.1
+        image: ghcr.io/cloudnative-pg/cloudnative-pg:1.25.0
         imagePullPolicy: IfNotPresent
         livenessProbe:
           httpGet:
             path: /readyz
             port: 9443
             scheme: HTTPS
--- HelmRelease: database/cloudnative-pg PodMonitor: database/cloudnative-pg

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

@@ -1,11 +1,12 @@

 ---
 apiVersion: monitoring.coreos.com/v1
 kind: PodMonitor
 metadata:
   name: cloudnative-pg
+  namespace: database
   labels:
     app.kubernetes.io/name: cloudnative-pg
     app.kubernetes.io/instance: cloudnative-pg
     app.kubernetes.io/managed-by: Helm
 spec:
   selector:

@tyriis-automation
Copy link
Contributor Author

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

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

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

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

@tyriis-automation
Copy link
Contributor Author

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 2 0 0.01s
✅ REPOSITORY gitleaks yes no 3.91s
✅ YAML prettier 2 0 0.41s
✅ YAML yamllint 2 0 0.36s

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

@tyriis-automation tyriis-automation bot merged commit c0d96e8 into main Dec 23, 2024
18 checks passed
@tyriis-automation tyriis-automation bot deleted the renovate/cloudnative-pg-0.x branch December 23, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants