Skip to content

Feature/cluster key secret#119

Draft
markus-mnm wants to merge 1 commit into
morgoved:mainfrom
markus-mnm:feature/cluster-key-secret
Draft

Feature/cluster key secret#119
markus-mnm wants to merge 1 commit into
morgoved:mainfrom
markus-mnm:feature/cluster-key-secret

Conversation

@markus-mnm

Copy link
Copy Markdown

This is a further step to remove secrets from the chart values.

For the cluster key, I found that this can be done by using an existing "to_be_replaced_by_cluster_key" placeholder which the manager init files replace.
https://github.com/wazuh/wazuh-docker/blob/c893d86b4a3dff604832cbe1e9b1c760edcb4b59/build-docker-images/wazuh-manager/config/etc/cont-init.d/0-wazuh-init#L161

See issue #80

@morgoved

morgoved commented Dec 2, 2025

Copy link
Copy Markdown
Owner

@markus-mnm can you pls resolve conflicts + are you tested it? is it realy works?

@markus-mnm markus-mnm marked this pull request as draft December 3, 2025 01:32
@markus-mnm

Copy link
Copy Markdown
Author

I tested it fairly thoroughly a few weeks back, but don't have access to my work setup anymore, but I'll set up a new local test environment and move it out of draft once I tested it with the latest changes from main.

@morgoved

morgoved commented Dec 9, 2025

Copy link
Copy Markdown
Owner

@markus-mnm pls resolve conflicts

- Add wazuh.keyExistingSecret parameter
- Make secret-cluster-key generation conditional
- Allow using external secrets from Vault/ExternalSecrets operator
- Use to_be_replaced_by_hostname and to_be_replaced_by_cluster_key as supported by wazuh-docker
@markus-mnm markus-mnm force-pushed the feature/cluster-key-secret branch from cf2014f to 2cb3b84 Compare December 10, 2025 06:03
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.

2 participants