apiVersion: v1
kind: Service
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/hostname: {{ regexSplit ":" .Values.api.endpoint -1 | first }}
    external-dns.alpha.kubernetes.io/ttl: "60"
  name: kubezero-api
  namespace: kube-system
spec:
  type: ClusterIP
  clusterIP: None
  selector:
    component: kube-apiserver
    tier: control-plane
