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

webhook tls certs: option to create via certmanager or existingSecretRef #384

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

awoimbee
Copy link
Collaborator

This allows deploying Trow without having to create a ClusterRole for the webhook patch logic.

To keep things tidy, all resources defined in templates/webhooks/patch/ are now inside templates/webhooks/tls-patch.yaml.

@awoimbee awoimbee requested a review from amouat October 11, 2024 08:51
@awoimbee awoimbee self-assigned this Oct 11, 2024
@awoimbee awoimbee force-pushed the aw/webhook-tls-certs-created-by-certmanager branch from 4047318 to b552806 Compare October 11, 2024 11:24
@awoimbee awoimbee added enhancement helm Relates to the Trow helm chart labels Oct 11, 2024
@awoimbee awoimbee merged commit 10019bf into main Oct 17, 2024
4 of 5 checks passed
@awoimbee awoimbee deleted the aw/webhook-tls-certs-created-by-certmanager branch October 17, 2024 15:48
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "trow.fullname" . }}-admission

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awoimbee Do you want to use -webhooks as the suffix, to match what is used in the annotations in the *webhook.yaml files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement helm Relates to the Trow helm chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants