From d8550f04f2017e04fc6a4725f3948b3386d416e8 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 18 May 2026 14:48:56 -0500 Subject: [PATCH] fix: wrong naming --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- charts/postgres-cluster/templates/pod-monitor.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 3f7132e..8dd7143 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 7.13.2 +version: 7.13.3 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 35fb68f..4fc3a12 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 7.13.2](https://img.shields.io/badge/Version-7.13.2-informational?style=flat-square) ![AppVersion: v1.29.1](https://img.shields.io/badge/AppVersion-v1.29.1-informational?style=flat-square) +![Version: 7.13.3](https://img.shields.io/badge/Version-7.13.3-informational?style=flat-square) ![AppVersion: v1.29.1](https://img.shields.io/badge/AppVersion-v1.29.1-informational?style=flat-square) Cloudnative-pg Cluster diff --git a/charts/postgres-cluster/templates/pod-monitor.yaml b/charts/postgres-cluster/templates/pod-monitor.yaml index 4d3e729..7219cda 100644 --- a/charts/postgres-cluster/templates/pod-monitor.yaml +++ b/charts/postgres-cluster/templates/pod-monitor.yaml @@ -3,15 +3,15 @@ apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: - name: {{ include "cluster.name" $ }} + name: {{ include "cluster.name" $ }}-cluster namespace: {{ include "cluster.namespace" $ }} labels: - app.kubernetes.io/name: {{ include "cluster.name" $ }} + app.kubernetes.io/name: {{ include "cluster.name" $ }}-cluster {{- include "cluster.labels" $ | nindent 4 }} spec: selector: matchLabels: - cnpg.io/cluster: {{ include "cluster.name" $ }} + cnpg.io/cluster: {{ include "cluster.name" $ }}-cluster cnpg.io/podRole: instance podMetricsEndpoints: - port: metrics