xxxxxxxxxx
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: hello-ca-tls
namespace: foobar
spec:
# name of the tls secret to store
# the generated certificate/key pair
secretName: hello-deployment-tls-ca-key-pair
isCA: true
issuerRef:
# issuer created in step 1
name: hello-myself-tls
kind: Issuer
commonName: "foo1.bar1"
dnsNames:
# one or more fully-qualified domain name
# can be defined here
- foo1.bar1