Closed ishangupta-ds closed 4 months ago
Attention: Patch coverage is 11.27451%
with 181 lines
in your changes are missing coverage. Please review.
Project coverage is 24.60%. Comparing base (
0dfb827
) to head (c0dd7f0
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
...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.
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.
Removed all unrelated changes.
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.
Sure.
@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.
Please take a look again. @AkbaraliShaikh / @ramya-bangera
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: