You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(devena-mono) Propagate stderr from kustomize build
The goal here is to propagate warnings (which is all that's assumed to
written to stderr) so they can e.g. be presented during PRs. For this
reason the warnings are written between two delimiters so they can
always be unambiguously parsed.
Tests weren't added since these would depend on the version of
`kustomize` being run and I don't think it's worth the effort trying to
add setup around that just for this small behaviour change. Sample
output (by adding a `patchesStrategicMerge:` to one of our existing
manifests):
Found kustomization build dir: services/opslevel-k8s-reconciler/k8s-manifests/base
Running `kustomize build services/opslevel-k8s-reconciler/k8s-manifests/base`
Built: services/opslevel-k8s-reconciler/k8s-manifests/base
---start Warnings---
Warnings for: services/opslevel-k8s-reconciler/k8s-manifests/base
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
---End warnings---
Ticket: DENA-247
0 commit comments