apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: tls-secret namespace: argocd spec: # Secret names are always required. secretName: tls-secret # At least one of commonName (possibly through literalSubject), dnsNames, uris, emailAddresses, ipAddresses or otherNames is required. dnsNames: - argocd-test.streams.sunet.se # Issuer references are always required. issuerRef: name: letsencrypt # We can reference ClusterIssuers by changing the kind here. # The default value is Issuer (i.e. a locally namespaced Issuer) kind: ClusterIssuer