apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: kubernetes-dashboard namespace: kubernetes-dashboard spec: secretName: certificate-test-dashboard dnsNames: - test-cluser-dashboard.localhost issuerRef: name: clusterissuer-le kind: ClusterIssuer