-
Notifications
You must be signed in to change notification settings - Fork 21
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
Move wazuh certificates #647
Move wazuh certificates #647
Conversation
Wazuh certificates were stored in etc/kayobe/ansible/wazuh/certificates or etc/kayobe/ansible/wazuh/custom_certificates. There are a few issues with these locations: - they are in the base configuration, so not scoped to a Kayobe environment. This means that multiple environments could have duplicate certificates - it’s under the ansible directory, but isn’t really Ansible code - it’s configuration @jackhodgkiss pointed out that we can use the same directory for custom certificates and auto-generated certificates
0a36022
to
788e709
Compare
Was hard to get both examples working with git mv, so I've removed them.
I think at this point someone needs to do some testing. |
Co-authored-by: Mark Goddard <[email protected]>
…certificates' into feature/environment-aware-wazuh-certificates
This is what the help text looks like:
For which you do:
|
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff, thanks!
Just noticed this went into antelope. Shouldn't it have gone into yoga? |
Possibly. Isn't it a breaking change though? |
I'd call it an unbreaking change, but potato potato... |
It's worth a discussion, but I'd suggest squashing and cherry picking to yoga, then announcing in Slack about the change. Your nice prechecks should catch any issues. |
Wazuh certificates were stored in etc/kayobe/ansible/wazuh/certificates or etc/kayobe/ansible/wazuh/custom_certificates. There are a few issues with these locations:
they are in the base configuration, so not scoped to a Kayobe environment. This means that multiple environments could have duplicate certificates
it’s under the ansible directory, but isn’t really Ansible code - it’s configuration
@jackhodgkiss pointed out that we can use the same directory for custom certificates and auto-generated certificates