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
Fix: allow external cloud resources to be kept when Application is deleted #2698
Conversation
…leted Provide an option for users whether to keep provisioned cloud resources when Terraform-typed Application is deleted. Fix kubevela#2697
38b70c5
to
2ff4c72
Compare
Codecov Report
@@ Coverage Diff @@
## master #2698 +/- ##
==========================================
+ Coverage 58.60% 61.69% +3.09%
==========================================
Files 186 186
Lines 17759 17756 -3
==========================================
+ Hits 10407 10955 +548
+ Misses 6181 5608 -573
- Partials 1171 1193 +22
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
||
// ProviderReference specifies the reference to Provider | ||
ProviderReference *types.Reference `json:"providerRef,omitempty"` | ||
v1beta1.BaseConfigurationSpec `json:",inline"` |
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.
do we keep the compatiblity here?
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, the CRD didn't change and I have tested VPC with remote git repo. And I will port e2e tests from https://github.com/oam-dev/terraform-controller/blob/master/.github/workflows/e2e-test.yml to this repo once it got stable.
/backport 1.1 |
Backport failed for Please cherry-pick the changes locally. git fetch origin release-1.1
git worktree add -d .worktree/backport-2698-to-release-1.1 origin/release-1.1
cd .worktree/backport-2698-to-release-1.1
git checkout -b backport-2698-to-release-1.1
ancref=$(git merge-base 3df47d74f1937afa78a6241b1e168de51dd35118 849214960c13f81e0c1bd05fbcc620c8d920d23a)
git cherry-pick -x $ancref..849214960c13f81e0c1bd05fbcc620c8d920d23a |
Provide an option for users whether to keep provisioned cloud resources when Terraform-typed Application is deleted.
Fix #2697
Description of your changes
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Special notes for your reviewer