-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
As an operator of the APPUiO Cloud control-api
I want to get valid webhook TLS certificates out of the box
So that I can run the control-api without having to manually create and maintain TLS certificates
Context
Currently, the control-api expects that the webhook serving certificates are managed externally, and configured by hand, cf.
Lines 21 to 23 in 37b1020
| webhook-certs/tls.key: | |
| mkdir -p webhook-certs | |
| openssl req -x509 -newkey rsa:4096 -nodes -keyout webhook-certs/tls.key -out webhook-certs/tls.crt -days 3650 -subj "/CN=webhook-service.control-api.svc" -addext "subjectAltName = DNS:webhook-service.control-api.svc, DNS:webhook-service.default.svc" |
Out of Scope
- TBD
Further links
Acceptance Criteria
- The control-api issues and renews TLS serving certificates for the provided webhooks itself
Implementation Ideas
- Model implementation after Kyverno's implementation, cf. https://github.com/kyverno/kyverno/tree/ad19108d34f80592dcbeafdbc9943673ee120f99/pkg/tls and usages of that package.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request