-
Notifications
You must be signed in to change notification settings - Fork 7
fix: CRS generated CA Deployment has extra quotes #867
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jimmidyson
reviewed
Aug 15, 2024
@dkoshkin So with this error the deployment shows as ready but it's not working properly so we should check the status configmap too? |
8b58d09
to
4aa91d8
Compare
4aa91d8
to
f203f8a
Compare
The new ConfigMap test failed as expected without this fix #868 (comment) |
jimmidyson
approved these changes
Aug 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing it and improving the tests!
mhrabovcin
approved these changes
Aug 19, 2024
Merged
dlipovetsky
pushed a commit
that referenced
this pull request
Aug 20, 2024
🤖 I have created a release *beep* *boop* --- ## 0.14.3 (2024-08-20) <!-- Release notes generated using configuration in .github/release.yaml at main --> ## What's Changed ### Fixes 🔧 * fix: CRS generated CA Deployment has extra quotes by @dkoshkin in #867 * fix: Use same security context & priority class for helm-repository pod by @jimmidyson in #871 ### Other Changes * build: Include debug symbols in release image executable by @dlipovetsky in #873 * build: Use new clusterctl-aws name for clusterawsadm by @jimmidyson in #863 **Full Changelog**: v0.14.2...v0.14.3 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?:
Fixes an issue with CRS genertated CA Deployment not working because of extra quotes.
The extra quotes are only an issue in
--node-group-auto-discovery=
, but the same script replaces all occurrences. It should be safe to drop the single quotes everywhere though because the name and namespace will be strings and won't be interpreted as numbers by yaml.Which issue(s) this PR fixes:
Fixes #
How Has This Been Tested?:
Special notes for your reviewer:
I think we can improve the e2e tests by checking that all Deployments are Ready on the self-managed clusters, but I did not do that as part of this PR.The tests already do thatcluster-api-runtime-extensions-nutanix/test/e2e/clusterautoscaler_helpers.go
Line 115 in f632224
Instead we can also wait for the status ConfigMap to be
Running
This is what the data will contain for a working Deployment:
And for non working: