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

shared ossec.conf for both master and worker nodes #638

Open
dracon80 opened this issue Apr 11, 2024 · 0 comments
Open

shared ossec.conf for both master and worker nodes #638

dracon80 opened this issue Apr 11, 2024 · 0 comments

Comments

@dracon80
Copy link

I've searched the previous issues and can't see anything in relation to this.
At present there is a master.conf and a worker.conf and each statefulset references one or the other. Is there a reason that something similar to "to_be_replaced_by_hostname" hasn't been implemented to allow an environment variable to be set and update the value for role?
I was thinking of a token "to_be_replaced_by_role" and have the script replace the value based on an environment variable. This would then allow the use of a single shared ossec.conf file and remove the need to keep them in sync.

Is this a bad idea or something to be avoided. Happy to look at put in a pull request if it would be considered.

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

No branches or pull requests

1 participant