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
Implement csi templating on select attributes #25
Conversation
Hi @blaggacao. Thanks for your PR. I'm waiting for a jetstack or 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. Instructions 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. |
closes cert-manager#20 Signed-off-by: David Arnold <dar@xoe.solutions>
Signed-off-by: David Arnold <dar@xoe.solutions>
/joke |
@blaggacao: What kind of dog lives in a particle accelerator? A Fermilabrador Retriever. In response to this:
Instructions 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. |
@JoshVanL I'd iterate on this with some practical experience. Since we're in alpha, I hope we have the freedom to break things. Some ideas that are more oriented towards one practical use case (the one I have in mind):
|
/assign @JoshVanL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow response @blaggacao, thanks for putting this together!
Just the one comment to add 🙂
/approve
/assign @blaggacao
@@ -0,0 +1,62 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this file out of the API and into cert-manager-csi/pkg/util/template
?
Also rename file to template.go
.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: blaggacao, JoshVanL The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I would be happy with all of those changes as attributes given to the driver, as a shorthand for the templating in this PR. Indeed can be a follow up PR, but not a blocker for v0.1. Will also merge the website PR when this gets merged. |
Actually, I'm starting to think if this marginal PR should be merged, since the real problem is workload identity. And after some additional research, it appears to me as if workload identity and mTLS is better handled by something like https://spiffe.io. So I'm not sure if we're being fair to users presenting them with a "half-way" / "somewhat of a" solution. I mean cert-manager still has it's well defined use case, apart from workload identity management. I'm going to close this, for that reason, maybe if we can develop a fairer and more educational stance towards user, this workload attestation might be reconsidered. Maybe, rather than going down the road of this PR, cert-manager could join the effort and implement it's own SPIFFE implementation based on Certificates (and leaving out on JWT) - that might make more sense to users, future and existing - why not via CSI 😉 ... Thank you for your review! I was about to decide upon this PR anyway since I made a deep dive into spiffe the last few days. |
closes #20
Contrary to suggestion in #20, I figured plain golang templating would be more friction-less / less friction-full.
Docs are ready: cert-manager/website#271