Carvel provides a set of reliable, single-purpose, composable tools that aid in your application building, configuration, and deployment to Kubernetes. This repo contains information regarding the Carvel open-source community.
Describe the problem/challenge you have
I write ytt code that validates configuration options as passed in to values files (for kapp-controller PackageInstall objects). I love being able to assert. However, sometimes warning the user is appropriate as well. When I tried this, albeit naively print("warning: <message>"), I found kapp-controller wouldn't bubble up my message to the PackageInstall when I described it.
Describe the solution you'd likekapp-controller
kapp-controller is able to detect when a templating step has passed, but with warnings
kapp-controller bubbles up those logs
kapp-controller has a status for something like InstallationSuccessfulButWithWarnings :shrug: on PackageInstalls?
ytt(optional):
provides helpers in the standard library to warn users
Anything else you would like to add:
Hopefully I didn't miss that this already exists :flushed: I grepped through the latest kapp-controller docs
for warn and didn't find anything useful
Describe the problem/challenge you have I write ytt code that validates configuration options as passed in to values files (for kapp-controller PackageInstall objects). I love being able to assert. However, sometimes warning the user is appropriate as well. When I tried this, albeit naively
print("warning: <message>")
, I found kapp-controller wouldn't bubble up my message to the PackageInstall when I described it.Describe the solution you'd like kapp-controller
ytt(optional): provides helpers in the standard library to warn users
Anything else you would like to add: Hopefully I didn't miss that this already exists :flushed: I grepped through the latest kapp-controller docs for
warn
and didn't find anything useful