-
Notifications
You must be signed in to change notification settings - Fork 33
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
Migrate inline_values to path_to_inline_values for package install #386
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
==========================================
- Coverage 25.23% 24.60% -0.64%
==========================================
Files 195 196 +1
Lines 16908 17079 +171
==========================================
- Hits 4267 4202 -65
- Misses 12423 12678 +255
+ Partials 218 199 -19 ☔ View full report in Codecov by Sentry. |
...es/tanzupackageinstall/package_install_resource.go - has acceptance tests ...esources/tanzupackageinstall/spec/cluster_scope.go - we don't have construct tests across the provider ...nternal/resources/tanzupackageinstall/spec/spec.go - we don't have construct tests across the provider ...nal/resources/helmrelease/resource_helm_release.go - has acceptance tests internal/helper/yaml.go - let me know if tests are needed for this file, since it's a simple file reading opration. |
3234b40
to
b0dd2b1
Compare
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.
Looking at the changes, see text & label changes for many resources beyond PackageInstall. Suggest that appropriate owners of said resources/features be looped for approval - to ensure there isn't any loss of information or intent.
b0dd2b1
to
e6b4fb6
Compare
23f2da4
to
d415320
Compare
Removed all unrelated changes. |
internal/resources/tanzupackageinstall/package_install_resource.go
Outdated
Show resolved
Hide resolved
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.
Migrating inline_values to path_to_inline_values seems like a breaking change, to me. Due to which existing customer Terraform scripts & states might break once these proposed changes are merged.
Would suggest not removing inline_values completely instead adding as addition field path_to_inline_values to package install; so that existing TF scripts & states in use aren't broken. And future usage can be adapt to use recommended path_to_inline_values.
Please note that final say here is with the feature team. So if FT feel the need to make such breaking changes, please go ahead and confirm intent to handle all customer tickets or feedback that the change brings.
bef6f69
to
c8b3462
Compare
a23ce68
to
a61dc2b
Compare
Sure. |
afea995
to
6c82979
Compare
Signed-off-by: Ishan Gupta <gishan@vmware.com>
Signed-off-by: Ishan Gupta <gishan@vmware.com>
Signed-off-by: Ishan Gupta <gishan@vmware.com>
Signed-off-by: Ishan Gupta <gishan@vmware.com>
Signed-off-by: Ishan Gupta <gishan@vmware.com>
6c82979
to
2cdf849
Compare
@AkbaraliShaikh / @ramya-bangera / @vmw-vjn / @ankitsny Please take a look again. |
@ishangupta-ds - You plan to merge this to main now? or it should go to the feature branch for tap saas? |
@ramya-bangera these bug fixes / changes are for already released SaaS features via Terraform, not related to the TAP enablement. |
Signed-off-by: Ishan Gupta <gishan@vmware.com>
Please take a look again. @AkbaraliShaikh / @ramya-bangera |
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Fully Support for Tanzu Package by migrating inline_values to path_to_inline_values for package install.
Right now, when installing the Tanzu Package, inline_values can only be specified as String or float. However, most of the Tanzu Package has structural parameters rather than String or Float. Therefore, most Tanzu Packages cannot be deployed with the TMC Provider.
This PR also fixes broken tests for some packaging feature APIs. Namely -
Packages
,Helm Feature
andHelm Release
.Fixes #362
Since values is written in YAML, YAML support is desirable.
Enhancement / Bug fix PR.
Screenshots: