workload Select() function updates the selector, but not the toPodSelectorConfig function #2238
Labels
bug
Something isn't working
@component/cdk8s-plus
Issue related to cdk8s-plus
effort/medium
1 week tops
feature-request
New/Enhanced functionality wanted
Description of the bug:
When updating the matchlabels for a workload (say, a deployment), updating the pod selector does not update the output of the toPodSelectorConfig function
Reproduction Steps:
Create a deployment, and update the selector labels:
Results in the correct matchLabels in my deployment
However, when trying to use said deployment for a Service (or any other thing that uses an IPodSelector)
Results in
Environment:
Other:
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: