[2.0.0] Refactoring & Security fixes#151
Open
clyso-dr wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This major update brings the chart to Wazuh 4.14.3, significantly improves security posture, fixes several template bugs, and refactors configuration management.
Features & Enhancements:
appVersionto 4.14.3 and chartversionto 2.0.0.cert-managerdependency to 1.19.3.values.yaml.nodePortsupport for Agent, Dashboard, and Manager cluster services.dnsNames(SANs) tofilebeatandnodecertificates for robust TLS validation and changed thefilebeatcommonName to the manager's fullname.ClusterIssuerin all certificate templates.WAZUH_API_URLand injectingWAZUH_API_PORT.Security Improvements:
automountServiceAccountTokendefault tofalseacross all ServiceAccounts.indexer-security).0777to0755.fsGroupcontext (1000/101) to Indexer setup job and Manager StatefulSet.Refactoring:
_helpers.tpl. Manager configuration files are now elegantly loaded using.Files.Get(e.g.,script.sh,local_decoder.xml,local_rules.xml).Bug Fixes:
wazuh.indexer.fullnameinstead ofwazuh.fullname).indexer.fullnamefor dashboard/manager instead ofwazuh.fullname)..Values.indexer.annotationsinstead of.Values.dashboard.annotations.BREAKING CHANGE: This release introduces several breaking changes that require manual intervention during upgrades:
master.conf,worker.conf, andopensearch.ymlare now loaded via.Files.Getfrom external files. Inline overrides viavalues.yamlfor these specific config blocks are no longer supported and will be ignored.spec.selector.matchLabelsis immutable in Kubernetes, existing agent DaemonSets must be manually deleted (kubectl delete ds <release-name>-wazuh-agent) prior to upgrading.automountServiceAccountTokenis now set tofalseby default. If you rely on custom scripts or sidecars that communicate with the Kubernetes API, you must explicitly set this back totruein yourvalues.yaml.