-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
group 'cert-manager.io' does not work #179
Comments
I see this happens if the Policy fails to match the linked CertificateRequest apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: certificate-example
namespace: test
spec:
dnsNames:
- name.local
issuerRef:
kind: ClusterIssuer
name: selfsigned-issuer
# group: cert-manager.io
secretName: certificate-example Policy will match the linked CertificateRequest apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: certificate-example
namespace: test
spec:
dnsNames:
- name.local
issuerRef:
kind: ClusterIssuer
name: selfsigned-issuer
group: cert-manager.io
secretName: certificate-example |
@leotomas837 I think you are observing the same issue as @sastorsl. The problem with the patch-operator is that the Even if approver-policy is under the cert-manager umbrella, I think it doesn't make sense to require the issuer-matcher to match a blank issuer group with Suggest closing this issue. |
@sastorsl @erikgb I am unable to test right now as we stopped using the patch-operator due to finding a better alternative and the patch-operator does not look maintain anymore. I am closing the issue for now and will re-open if the issue persists. |
I wanted to allow all
it works. |
Chart patch-operator install a self signed issuer here, yet the following policy is not considered by the approver policy (
Request is not applicable for any policy so ignoring
when describing the CR). It works by changing thegroup: cert-manager.io
togroup: '*'
. It should work withgroup: cert-manager.io
as described in the policy examples of your repository, is this due to the fact that is a self-signed issuer ?And as you can see in the link of the patch-operator chart I put, the self-signed issuer is of type
Issuer
from groupcert-manager.io
.Here is the policy:
The text was updated successfully, but these errors were encountered: