Fix Helm Implementation generation for empty objects and arrays in Capact CLI
Allow additional properties for objects generated with
Testing
To test this PR, check out this branch and run:
# with old CLI
capact manifest generate implementation helm cap.implementation.secret-storage-backend.install ./deploy/kubernetes/charts/secret-storage-backend -o /tmp/generated-old
# with new CLI, from this branch
go run ./cmd/cli/main.go manifest generate implementation helm cap.implementation.secret-storage-backend.install ./deploy/kubernetes/charts/secret-storage-backend -o /tmp/generated-new
Description
Changes proposed in this pull request:
Testing
To test this PR, check out this branch and run:
You can compare the values with real manifests from https://github.com/capactio/hub-manifests/blob/main/manifests/implementation/aws/secrets-manager/storage/install.yaml
For more details, see the Steps to reproduce from #663.
Related issue(s)
Resolves #663