Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default termination-log to disabled to make sure SpiceDB does not fail to start #1393

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

vroldanbet
Copy link
Contributor

@vroldanbet vroldanbet commented Jun 12, 2023

While /dev/termination-log is the default path to
termination logs in kube environments, for non-kube
environments the process may not have permission
to write to this path and would fail to start.

This makes the termination log default to disabled
if the flag has a value of empty string.

@vroldanbet vroldanbet requested a review from a team June 12, 2023 15:38
@github-actions github-actions bot added the area/CLI Affects the command line label Jun 12, 2023
@vroldanbet vroldanbet self-assigned this Jun 12, 2023
@vroldanbet vroldanbet force-pushed the default-termination-log-tmp branch 2 times, most recently from ba6891a to 484c53c Compare June 12, 2023 15:56
@github-actions github-actions bot added the area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) label Jun 12, 2023
While /dev/termination-log is the default path to
termination logs in kube environments, for non-kube
environments the process may not have permission
to write to this path and would fail to start.

This makes the termination log default to disabled
if the flag has a value of empty string.
@vroldanbet vroldanbet force-pushed the default-termination-log-tmp branch from 484c53c to 5c32f8d Compare June 12, 2023 15:57
@vroldanbet vroldanbet changed the title default to tmp to make sure SpiceDB does not fail to start default to disabled to make sure SpiceDB does not fail to start Jun 12, 2023
@vroldanbet vroldanbet changed the title default to disabled to make sure SpiceDB does not fail to start default termination-log to disabled to make sure SpiceDB does not fail to start Jun 12, 2023
Copy link
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vroldanbet vroldanbet enabled auto-merge June 12, 2023 15:58
@vroldanbet vroldanbet added this pull request to the merge queue Jun 12, 2023
@vroldanbet vroldanbet merged commit d953561 into main Jun 12, 2023
@vroldanbet vroldanbet deleted the default-termination-log-tmp branch June 12, 2023 16:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants