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

Only pass --admin-subject if --remote-management is true; fix boolean handling #1228

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

tashian
Copy link
Contributor

@tashian tashian commented Jan 11, 2023

No description provided.

@tashian
Copy link
Contributor Author

tashian commented Jan 11, 2023

Closes #1227

setup_args=("${setup_args[@]}" --acme)
fi
if [ -n "${DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT}" ]; then
setup_args=("${setup_args[@]}" --remote-management)
if [ "${DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT}" == "true" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with having to set them to true. It might be an option to have it take multiple truthy/falsy values that then get used, but that could be done later.

@tashian tashian merged commit cc6b87d into master Jan 11, 2023
@tashian tashian deleted the carl/entrypoint-boolean-fix branch January 11, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants