wordpress-operator
wordpress-operator copied to clipboard
spec.podMetadata not copying into deployed pod
What happened: I am trying to pass labels into the pod using the spec.podMetadata object, but the deployed pod doesn't result in containing any labels.
What you expected to happen: Expected the deployed pod to have the labels passed in via spec.podMetadata.labels.
How to reproduce it (as minimally and precisely as possible):
Add a spec.podMetadata like:
podMetadata:
labels:
custom_label: abc