Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a helper script and updates the Kubernetes/kustomize configuration so certificate artifacts are organized per-component (indexer/dashboard/manager) and consumed via separate secrets.
Changes:
- Updated Wazuh manager StatefulSets to mount certificates from a new
manager-certssecret instead ofindexer-certs. - Refactored
wazuh/kustomization.yml(and installation docs) to source certificate files fromwazuh/config/<component>/certs/. - Added
tools/utils/deployment/certificates-conf.shand updated CI workflows to generate/copy/chown certificate files automatically.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| wazuh/wazuh_managers/wazuh-worker-sts.yaml | Switches manager worker cert secret reference to manager-certs. |
| wazuh/wazuh_managers/wazuh-master-sts.yaml | Switches manager master cert secret reference to manager-certs. |
| wazuh/kustomization.yml | Splits cert inputs into indexer-certs, dashboard-certs, and manager-certs; updates file paths to config/.... |
| tools/utils/deployment/certificates-conf.sh | New script to generate, copy, and set ownership for certs into wazuh/config/.... |
| docs/ref/getting-started/installation.md | Updates documented secretGenerator file paths to config/.... |
| .gitignore | Ignores generated wazuh/config/ directory. |
| .github/workflows/local-deployment-test.yml | Uses the new certificate configuration script in CI. |
| .github/workflows/eks-deployment-test.yml | Uses the new certificate configuration script in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4 tasks
c-bordon
approved these changes
Apr 8, 2026
…2284-certificates-conf-script
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.
Related issue #1370
EKS Test: https://github.com/wazuh/wazuh-kubernetes/actions/runs/24087990036