apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: {{ include "baremetal-operator.fullname" . }}-serving-cert labels: {{- include "baremetal-operator.labels" . | nindent 4 }} spec: dnsNames: - baremetal-operator-webhook-service.{{ .Release.Namespace }}.svc - baremetal-operator-webhook-service.{{ .Release.Namespace }}.svc.cluster.local issuerRef: kind: Issuer name: {{ include "baremetal-operator.fullname" . }}-selfsigned-issuer secretName: bmo-webhook-server-cert