-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat(appset): add 'project' to the Cluster Generator params #20338
feat(appset): add 'project' to the Cluster Generator params #20338
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
f919e1c
to
a6a1fa1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20338 +/- ##
==========================================
+ Coverage 55.96% 56.00% +0.03%
==========================================
Files 322 322
Lines 44717 44723 +6
==========================================
+ Hits 25025 25046 +21
+ Misses 17095 17083 -12
+ Partials 2597 2594 -3 ☔ View full report in Codecov by Sentry. |
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.
I like the idea, but I think we should default to an empty string or nil instead of default
.
Clusters can be either project-scoped or unscoped. If the project
field isn't populated, it's unscoped. project: default
to me implies "scoped to the default project".
@crenshaw-dev Thanks for your review. My concern with setting the project to nil or an empty string is that for applications generated from unscoped clusters, using If the validation failure is acceptable, I am happy to make the change. |
I think if the user's intent is to use the default project for unscoped clusters, they could use |
Signed-off-by: cef <moncef.abboud95@gmail.com>
a6a1fa1
to
8a6e31d
Compare
@crenshaw-dev Thank you for the explanation. It makes perfect sense. I made the changes. |
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.
Thanks!
…#20338) Signed-off-by: cef <moncef.abboud95@gmail.com> Signed-off-by: austin5219 <3936059+austin5219@users.noreply.github.com>
…#20338) Signed-off-by: cef <moncef.abboud95@gmail.com> Signed-off-by: Adrian Aneci <aneci@adobe.com>
Closes #18814
Description
This PR adds the
project
parameter to the Cluster generator. If the cluster doesn't have aproject
field within its Secret, the param's value defaults todefault
.Checklist: