t3c makes too many environment-level assumptions w/o any ability to override #7857
Labels
cache-config
Cache config generation
improvement
The functionality exists but it could be improved in some way.
low impact
affects only a small portion of a CDN, and cannot itself break one
medium difficulty
the estimated level of effort to resolve this issue is medium
Current behavior:
t3c apply
on a given instance running trafficserver, it makes a bunch of assumptions about pathingTS_HOME
env var does allow for setting the base pathing for configurationt3c-check-refs
--p
/--trafficserver-plugin-dir
- https://github.com/apache/trafficcontrol/blob/2eb00e0cfd8e83ee77ea6016ceaaa272538d55a3/cache-config/t3c-check-refs/README.md/opt/trafficserver/libexec/trafficserver
and there doesn't appear to be a meaningful way to pass a value that would get passed to thet3c-check-refs
calls that happen withint3c apply
Impact:
t3c
properly on a cache host (edge/mid) that's been installed with OS-level packagesNew behavior:
TS_HOME
to set the default of this value to make it possible to pass an environment-specific/custom path where trafficserver plugins can be foundTS_PLUGIN_ROOT
env var check which would simply read the env var in and default to the current value (/opt/trafficserver/libexec/trafficserver
)plugins.config
file`
The text was updated successfully, but these errors were encountered: