Closed kernel-sanders closed 3 months ago
It's defined in the .env
file. Are you seeing this in other OS' or just Debian?
I take it back, not it's not.
@DefSecSentinel why would we not be defining this? It definitely was at some point.
I wonder if this is causing any of the Fleet shakiness?
KIBANA_HOST
is only defined in the docker-compose for the fleet-server, but is used in theelastic-container.sh
file.
My apologies, the last commit should have used LOCAL_KBN_URL
. I've already created a pull request (#51) to address this. Could you please confirm if it works @DefSecSentinel?
I just ran this off of main
and it deployed the rules properly.
While I agree the bug should be fixed, are you not seeing the rules enabled?
I fixed this issue and validated the fix by standing up a fresh 8.15.0 stack on macOS with all Fleet settings properly populated and the expected output shown in the terminal.
48 introduced a bug. Output of
./elastic-container start
after removing the> /dev/null 2>&1
from theset_fleet_values > /dev/null 2>&1
line:KIBANA_HOST
is only defined in the docker-compose for the fleet-server, but is used in theelastic-container.sh
file.To Reproduce Steps to reproduce the behavior:
./elastic-container.sh start
on a fresh systemExpected behavior The script should not exit with status
1
on first run. It should setup the container in the same was as before #48.Some CI testing (build from scratch in a github actions runner, validate success) could be used to catch these types of issues before they make it to main.