Skip to content

Add certificates configuration script#1369

Merged
c-bordon merged 6 commits intomainfrom
change/2284-certificates-conf-script
Apr 9, 2026
Merged

Add certificates configuration script#1369
c-bordon merged 6 commits intomainfrom
change/2284-certificates-conf-script

Conversation

@vcerenu
Copy link
Copy Markdown
Member

@vcerenu vcerenu commented Apr 1, 2026

@vcerenu vcerenu requested review from a team and Copilot April 1, 2026 19:41
@vcerenu vcerenu self-assigned this Apr 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-certs secret instead of indexer-certs.
  • Refactored wazuh/kustomization.yml (and installation docs) to source certificate files from wazuh/config/<component>/certs/.
  • Added tools/utils/deployment/certificates-conf.sh and 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.

Comment thread wazuh/kustomization.yml
Comment thread docs/ref/getting-started/installation.md
Comment thread docs/ref/getting-started/installation.md
Comment thread tools/utils/deployment/certificates-conf.sh
Comment thread tools/utils/deployment/certificates-conf.sh
Comment thread tools/utils/deployment/certificates-conf.sh
Comment thread tools/utils/deployment/certificates-conf.sh Outdated
Comment thread docs/ref/getting-started/installation.md
Comment thread docs/ref/getting-started/installation.md
@vcerenu vcerenu linked an issue Apr 1, 2026 that may be closed by this pull request
4 tasks
@vcerenu vcerenu marked this pull request as ready for review April 7, 2026 15:45
@c-bordon c-bordon merged commit 899821c into main Apr 9, 2026
1 check passed
@c-bordon c-bordon deleted the change/2284-certificates-conf-script branch April 9, 2026 11:59
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.

Kubernetes - Ensure correct Wazuh manager certificates ownership

3 participants