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

Update CRD caBundle if certificate secret is up to date #1240

Merged
merged 4 commits into from
Oct 17, 2022

Conversation

chrismuellner
Copy link
Collaborator

Description

When the webhook certificate exists on the cluster the caBundle field of the CRD conversion webhook was never updated.

How can this be tested?

  1. Install Operator (Webhook should be running without error logs)
  2. Delete .spec.conversion.webhook.clientConfig.caBundle
  3. Restart Operator pod

CRD should be updated to include correct caBundle!

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly
  • I have read and understood the contribution guidelines

@chrismuellner chrismuellner added the bug Something isn't working label Oct 13, 2022
@luhi-DT
Copy link
Collaborator

luhi-DT commented Oct 13, 2022

Should we lower the success duration? So that if its happening we fix ourselves faster? Or would documenting that error be enough? https://github.com/Dynatrace/dynatrace-operator/pull/1240/files#diff-3c112205f7106d35079e2a488cc54f58481a8bdad2d3cf2a0aee1c05683bd2fbR22

@chrismuellner chrismuellner marked this pull request as ready for review October 14, 2022 12:34
@chrismuellner chrismuellner requested a review from a team as a code owner October 14, 2022 12:34
@chrismuellner chrismuellner enabled auto-merge (squash) October 17, 2022 10:51
@chrismuellner chrismuellner merged commit 8948fc2 into release-0.9 Oct 17, 2022
@chrismuellner chrismuellner deleted the fix/crd-certificate-update branch October 17, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants