Add secretTemplate to Certificate resources created by ingress-shim#6839
Conversation
|
Hi @mangeshhambarde. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Mangesh Hambarde <1411192+mangeshhambarde@users.noreply.github.com>
1ff6f6e to
44a0e3f
Compare
Signed-off-by: Mangesh Hambarde <1411192+mangeshhambarde@users.noreply.github.com>
44a0e3f to
f3bfc93
Compare
SgtCoDFish
left a comment
There was a problem hiding this comment.
/lgtm
/approve
Looks great, thank you for this! Feels like we can be confident about this with the tests being there 😁 🚀
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SgtCoDFish The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| Namespace: gen.DefaultTestNamespace, | ||
| Annotations: map[string]string{ | ||
| cmapi.IngressClusterIssuerNameAnnotationKey: "issuer-name", | ||
| cmapi.IngressSecretTemplate: `{ "annotations": { "example-annotation" : "dummy-value" }, "labels": { "example-label" : "dummy-value" } }`, |
There was a problem hiding this comment.
I think it will be easier to read and create these annotations if there was a separate annotation for SecretTemplateAnnotations and SecretTemplateLabels.
|
/test pull-cert-manager-master-e2e-v1-28-upgrade |
|
can you pls help me, i try to add this in my ingress config but have this error |
|
you might want to wrap the whole thing in |
|
This new annotation has not been documented: |
Pull Request Motivation
These are the changes for implementing #6838.
This allows ingress-shim users to set the
secretTemplatefield on generatedCertificateresources. This makes using secret sync tools (e.g. kubernetes-reflector) much simpler for ingress-shim users.Added a new Ingress annotation
cert-manager.io/secret-templatewhose value is a JSON representation ofsecretTemplate.Kind
feature
Release Note