-
Notifications
You must be signed in to change notification settings - Fork 29
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
Generating certificates without a cert-manager #226
Conversation
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.
Thank you for your work. There are some requests.
Would you please add a new e2e pattern using this certificate like below?
- Add
init-cluster-with-certificate
(or better name) target ine2e/Makefile
. - Add new test pattern in
.github/wokflows/e2e.yaml
with new makefile option and latest k8s version.
charts/pvc-autoresizer/templates/controller/mutatingwebhookconfiguration.yaml
Outdated
Show resolved
Hide resolved
@tropnikovvl please fix the following error in both
|
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.
I added the comment in mistake, I will wait for the CI to pass.
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.
Deployment requires a secret pvc-autoresizer-controller
, but pvc-autoresizer-tls
may be created. Would you check and fix it?
61c8c71
to
acff4ed
Compare
The PR looks good. Please squash commits and add signed-off-by to the merged commit. I'll approve this after that and all tests BTW, signed-off-by is necessary for all commits. The DCO test fails because the second last commit doesn't have this commit. Squashing will resolve this. |
This PR includes unrelated ones like this. Please be careful not to include these commits to squashed single commit. |
a344ce1
to
0a39860
Compare
Done |
I'm getting a strange certificate mismatch error.
I doubt the name discrepancy has anything to do with this.
|
I ran the e2e test locally and checked some manifests. I found ca.crt in Secret is not equal to caBundle in MutatingWebhookConfiguration. In other systems like TopoLVM, this value is equal. Could you check in your environment and try to get these values to be equal? |
I fixed the problem, it was related to different contexts in helm |
Signed-off-by: Vladislav Tropnikov <vladislav.tropnikov@genestack.com>
Signed-off-by: Vladislav Tropnikov <vladislav.tropnikov@genestack.com>
What should the feature do:
Automatically create a certificate for a webhook in the absence of a cert-manager
What is use case behind this feature:
There is no need to install extra applications in the cluster and support them (cert-manager)
#223