apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: ca-cert namespace: cert-manager spec: isCA: true commonName: cluster-ca secretName: ca-cert-secret privateKey: algorithm: ECDSA size: 256 issuerRef: name: self-signed-issuer kind: ClusterIssuer group: cert-manager.io