interconnectedcloud / qdr-operator

Apache License 2.0
9 stars 15 forks source link

Secrets generated by certmgr not being deleted #10

Open ajssmith opened 5 years ago

ajssmith commented 5 years ago

When certificate resource is deleted, dependent secret is not being removed.

Look into owner reference being setup correctly...

ajssmith commented 5 years ago

https://github.com/jetstack/cert-manager/issues/296

ajssmith commented 5 years ago

I verified that secrets are removed with setting the EnableCertificateOwnerRef in the cert-manager controller. This was done by modifying deploy/manifests/cert-manager.yaml per the following:

       args:
       - --cluster-resource-namespace=$(POD_NAMESPACE)
       - --leader-election-namespace=$(POD_NAMESPACE)
       - --enable-certificate-owner-ref=true
       ports:
       - containerPort: 9402

Will need to investigate how best to enable for use with the qdr operator.