Closed DimamoN closed 2 years ago
I also ran into this issue. Please fix.
The issue here is that k2tf skips outputting any attribute that appear to be unset (e.g. empty string or zero value).
In this case run_as_user
is 0, so it's deliberately not included in the output. I'm exploring ways to fix this.
Any fix on the reported issue. Getting same error at my end.
Hi, I found an issue in k2tf, version 0.2.5. The spec.template.spec.containers.securityContext is not appears in a result file.
Example:
Converting:
Result:
There no securityContext in converted terraform file. How it should be: