Skip to content

Implement webhook certificate management in the controller #99

@simu

Description

@simu

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.

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"
for the helper tooling in the local-env setup and https://hub.syn.tools/control-api/how-tos/tls.html for the instructions for the Commodore component for the control-api.

Out of Scope

  • TBD

Further links

Acceptance Criteria

  • The control-api issues and renews TLS serving certificates for the provided webhooks itself

Implementation Ideas

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions