Files
kustomize/api
Jim Ramsay cb80659c22 Preserve scalar types when using the replacement filter
Erasing the scalar type tag leads to unfortunate circumstances, in that
the resulting yaml code is valid yaml, but will not meet the object
spec.

For example, using the replacement transformer to take a port number as
a string from a ConfigMap and set a Pod port would previously end up
with:
 - containerPort: "8080"
when the spec requires that this is not a string:
 - containerPort: 8080

Added unit tests for conversion to and from integers and booleans, plus
creation from string and creation from integer.

The creation behavior needs some refinement in a future PR.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2022-03-09 06:39:12 -05:00
..
2021-03-15 18:34:36 -07:00
2022-02-02 12:36:03 -05:00
2021-03-17 06:35:30 -07:00
2022-02-02 12:36:03 -05:00
2022-02-09 16:16:10 -08:00
2022-02-09 16:16:10 -08:00
2019-11-14 16:37:49 -08:00