Skip to content
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

optionally use cert manager for mutating web hook certificates #17

Merged
merged 2 commits into from
May 7, 2021

Conversation

ntfrnzn
Copy link
Contributor

@ntfrnzn ntfrnzn commented May 4, 2021

Adds option to the values.yaml so that the install can use cert-manager to generate the web-hook certificate

Fixes the issue of the cert not having the the right SANs. See kubeflow/spark-operator#1224, and consider kubeflow/spark-operator#1178 and other issues.

The standard installation uses a script as as init job to generate the certificate secret. This PR allows
cert-manager to generate the secret instead. In either case, the actual mutating web hook configuration
is generated in code rather than by helm manifest [?], but the secret is mounted into the pod and read
from the filesystem in any case.

@ntfrnzn ntfrnzn requested a review from thorsteinnth May 4, 2021 03:23
@ntfrnzn ntfrnzn merged commit 21b6529 into main May 7, 2021
@liranp liranp deleted the spark-operator-cert branch June 1, 2021 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants