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

Fixes 54: Verifies that configuration files exist before trying to lo… #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdlerFleurant
Copy link

If configuration file is missing, the operator would fail to start with error that kind '' is not valid.
This fixes the situation and will load the default configuration if no file is present.

This issue is due do an issue in micro/go-config: https://github.com/micro/go-config/issues/99

@AdlerFleurant
Copy link
Author

@etsauer , can you take a look into this before #51 ?

Copy link
Collaborator

@etsauer etsauer left a comment

Choose a reason for hiding this comment

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

@AdlerFleurant the core functionality changes look ok, but it also looks like you've unintentionally changed the logger. Can you undo that?

pkg/config/config.go Show resolved Hide resolved
@AdlerFleurant
Copy link
Author

@etsauer , can we take a look at this as without this, we can't build the cert-operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants