Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Allow to configure location for webhook certificates #261

Merged
merged 2 commits into from
May 29, 2020

Conversation

lrgar
Copy link
Contributor

@lrgar lrgar commented May 28, 2020

To support scenarios where our own bootstrapper doesn't handle the webhook objects (e.g., leaving it to OLM), we should allow the certificate directory and file names to be configurable.

Adding these command line arguments to the Operator binary,

Name Description Default
--certs-dir Directory to look certificate files for. /mnt/webhook-certs
--cert File name of the public certificate inside the directory. tls.crt
--cert-key File name of the private key inside the directory. tls.key

The arguments are only recognized by the webhook-server subcommand. For the other subcommands, they are ignored.

@lrgar lrgar requested a review from DTMad May 28, 2020 06:43
@lrgar lrgar merged commit b11c8ab into master May 29, 2020
@lrgar lrgar deleted the feature/custom-cert-args branch May 29, 2020 04:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants