Describe the bug
When using manifests generated by the quarkus kubernetes extension, issues are encountered updating versions of deployed software. This is because labelselectors in deployments and other kubernetes objects are immutable. When using software such as fluxcd, the manifest is not able to be updated without deleting the old deployment, or naming the new deployment something else, as labelSelectors cannot be updated in a deployment manifest.
Expected behavior
LabelSelector will not include:
app.kubernetes.io/version
in the manifests generated
Actual behaviorapp.kubernetes.io/version is included in the manifests
To Reproduce
Steps to reproduce the behavior:
Generate build for a versioned release.
Deploy the build to kubernetes
Generate a build for a new version
Try to apply manifests with kubectl apply. Observe failure due to immutable labelSelector.
Describe the bug When using manifests generated by the quarkus kubernetes extension, issues are encountered updating versions of deployed software. This is because labelselectors in deployments and other kubernetes objects are immutable. When using software such as fluxcd, the manifest is not able to be updated without deleting the old deployment, or naming the new deployment something else, as labelSelectors cannot be updated in a deployment manifest.
Expected behavior LabelSelector will not include:
app.kubernetes.io/version
in the manifests generated
Actual behavior
app.kubernetes.io/version
is included in the manifestsTo Reproduce Steps to reproduce the behavior:
https://github.com/quarkusio/quarkus/issues/11070
$upstream:11070$