Skip to content

Commit

Permalink
adust LabelMonitoring to account for new label in PGO Monitoring stack (
Browse files Browse the repository at this point in the history
#107)

Co-authored-by: Philip Hurst <[email protected]>
  • Loading branch information
philrhurst and Philip Hurst authored Oct 3, 2024
1 parent 7a82608 commit d41109f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/util/naming.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ const (
// LabelRole is used to identify object roles.
LabelRole = labelPrefix + "role"

// LabelMonitoring is used to identify monitoring Pods
LabelMonitoring = "app.kubernetes.io/name=postgres-operator-monitoring"
// LabelMonitoring is used to identify monitoring Pods.
// Older versions of PGO monitoring use the label 'postgres-operator-monitoring'.
LabelMonitoring = "app.kubernetes.io/name in (postgres-operator-monitoring,crunchy-monitoring)"

// LabelOperator is used to identify operator Pods
LabelOperator = "postgres-operator.crunchydata.com/control-plane"
Expand Down

0 comments on commit d41109f

Please sign in to comment.