tilt
tilt copied to clipboard
Allow setting custom text for local_resource as an alternative to its name
Describe the Feature You Want
local_resource would support a text property, that functions the same as cmd_button text property - rendered on the resource as its name, but without the uniqueness constraints
Current Behavior
n/a
Why Do You Want This?
We have a dir structure that we want to express as a combination of local resources and their labels.
This is what we want:
Additional context Add any other context or screenshots about the feature request here.
+1
This should also be what workload_to_resource_function() sets.
Then we don't mess around with / change the resource's real unique id/name used by k8s_resource(), and it remains predictable and consistent with k8s names.