-
Notifications
You must be signed in to change notification settings - Fork 69
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: allow delete the provisioning resources #354
Conversation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Codecov ReportBase: 79.31% // Head: 77.20% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #354 +/- ##
==========================================
- Coverage 79.31% 77.20% -2.11%
==========================================
Files 23 24 +1
Lines 1750 2018 +268
==========================================
+ Hits 1388 1558 +170
- Misses 278 368 +90
- Partials 84 92 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
3ce0a16
to
85059f8
Compare
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> Fix test script Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> better error reporting in CI Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> report stderr Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> relative path Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> fix git cred test Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> wait job done Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> debug Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> debug Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> debug Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> debug Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> smaller resource request Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
68db52c
to
24190d6
Compare
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
chart/values.yaml
Outdated
cpu: "1000m" | ||
memory: "2Gi" | ||
cpu: "500m" | ||
memory: "1Gi" |
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.
you can keep the limits quota, just reduce the requests.
chart/values.yaml
Outdated
cpu: "1000m" | ||
memory: "2Gi" | ||
cpu: "500m" | ||
memory: "1Gi" |
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.
can we make it even smaller?
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.
Yes, this is for pod where run terraform apply
which doesn't require much resources
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.
generally LGTM
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp qiaozhongpei.qzp@alibaba-inc.com
Add a feature gate:
AllowDeleteProvisioningResource
. When enabled, controller will allow to delete Configuration in the state ofProvisioningAndChecking
. This is useful when developing new configuration.Here's some examples.
Before, we have no method to delete this Configuration other than delete the
finalizer
fields manually and delete the created resources on vendor's console, which is tedious and annoying.Now created resource can be deleted by controller automatically.