---
apiVersion: v1
kind: Service
metadata:
  name: machine-api-operator
  namespace: openshift-machine-api
  annotations:
    exclude.release.openshift.io/internal-openshift-hosted: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    include.release.openshift.io/single-node-developer: "true"
    service.alpha.openshift.io/serving-cert-secret-name: machine-api-operator-tls
  labels:
    k8s-app: machine-api-operator
spec:
  type: ClusterIP
  ports:
  - name: https
    port: 8443
    targetPort: https
  selector:
    k8s-app: machine-api-operator
  sessionAffinity: None
---
apiVersion: v1
kind: Service
metadata:
  name: machine-api-controllers
  namespace: openshift-machine-api
  annotations:
    exclude.release.openshift.io/internal-openshift-hosted: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    include.release.openshift.io/single-node-developer: "true"
    service.alpha.openshift.io/serving-cert-secret-name: machine-api-controllers-tls
  labels:
    k8s-app: controller
spec:
  type: ClusterIP
  ports:
  - name: machine-mtrc
    targetPort: machine-mtrc
    port: 8441
  - name: machineset-mtrc
    targetPort: machineset-mtrc
    port: 8442
  - name: mhc-mtrc
    targetPort: mhc-mtrc
    port: 8444
  selector:
    k8s-app: controller
  sessionAffinity: None
