Closed jimsheldon closed 1 year ago
I have stared a branch with this feature https://github.com/drone/go-convert/compare/issue86-initial
example-6.yaml
currently fails tests because this is seen as a mix of a string and an int, but the PortBindings
struct only supports strings.
ports:
- 8080:80
- 9090
Should portBindings
be omitted when using Kubernetes infra?
Added in #87
Example GitHub yaml
Converts to this v1 yaml with
ports
set correctlyPorts are lost when downgrading to v0 yaml
The step should downgrade to this
NOTE: the port binding is not an int, it is a string, so quotes are required