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

Deprecate absolute path support for cafile & support blanking out #40

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

mdegat01
Copy link
Owner

@mdegat01 mdegat01 commented Apr 10, 2021

Based on other addons, correct approach is to be opinionated about where files should be. Therefore deprecating the ability to provide an absolute path for cafile and requiring it be in /ssl. Using an absolute path only gives a warning for now, will remove in a future release (sometime May 2021 or later).

Also switch check on cafile option to is_empty instead of exists. This works better with the UI-based config since it won't let you remove string-type config options, only blank them out.

@mdegat01 mdegat01 added the enhancement Enhancement of the code, not introducing new features. label Apr 10, 2021
@mdegat01 mdegat01 merged commit dbbd897 into main Apr 10, 2021
@mdegat01 mdegat01 deleted the cafile-in-ssl branch April 10, 2021 18:44
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of the code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant