Open imnasnainaec opened 1 day ago
A solution would be in deploy/scripts/setup_files/cluster_config.yaml
to add:
# Add an empty analytics key if not defined in the OS Environment variables
if "HONEYCOMB_API_KEY" not in os.environ:
os.environ["HONEYCOMB_API_KEY"] = ""
in an appropriate place before the line helm_cmd.append(arg.format(**os.environ))
.
However, there might be a better, more general solution.
If the environment variable
HONEYCOMB_API_KEY
is not set, thenfails:
because
deploy/scripts/setup_files/cluster_config.yaml
hasWe need to allow for that environment variable to be undefined, so that devs can work on a local Docker/Kubernetes deployment without having the analytics secret key.