Skip to content

Commit 4ad07e2

Browse files
committed
Update service selector to match deployment label
Changed the service's selector label to k8s-app=cloud-manager-operator to ensure it matches the deployment’s [template label](https://github.com/openshift/cluster-cloud-controller-manager-operator/blob/5fc7a51c0cd1955c8e450a11a58d65b4823aa6a5/manifests/0000_26_cloud-controller-manager-operator_11_deployment.yaml#L25). This enables the service to correctly discover the pod and creates an EndpointSlice for port 9258, which is necessary for proper documentation created by the communication matrix (see further explanation described in the opened [bug](https://issues.redhat.com/browse/OCPBUGS-53300))
1 parent 5fc7a51 commit 4ad07e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/0000_26_cloud-controller-manager-operator_05_metrics-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ spec:
1818
port: 9258
1919
targetPort: https
2020
selector:
21-
app: cloud-manager-operator
21+
k8s-app: cloud-manager-operator
2222
sessionAffinity: None

0 commit comments

Comments
 (0)