Add support for serviceLabels in PXC

Description

When deploying a database, if you try and use the serviceLabels field, it is ignored.

apiVersion: pxc.percona.com/v1 kind: PerconaXtraDBCluster metadata: name: mysql-database spec: pxc:   labels:       app: my-database     serviceLabels:       app: my-database

 

The expected behaviour is that on the mysql-database-mysql-pxc service, the app=my-database label would appear on it.
 
Note: I've got a fix for this locally. I just wanted to create a Jira issue to link the Pull Request too.

Environment

None

is duplicated by

Activity

Aaditya Dubey October 24, 2023 at 11:18 AM

Hi ,

Thank you for the report and updates, Marking this as duplicate!

Luke Morfill October 22, 2023 at 11:08 AM

Oops, looks like I've created a duplicate issue: https://jira.percona.com/browse/K8SPXC-927

Doesn't seem like I can delete this one

Duplicate

Details

Assignee

Reporter

Needs QA

Yes

Affects versions

Priority

Smart Checklist

Created October 22, 2023 at 10:26 AM
Updated March 5, 2024 at 5:22 PM
Resolved October 24, 2023 at 11:19 AM

Flag notifications