From 285769928f2022bc1391f4b1cbec59bc463e74ad Mon Sep 17 00:00:00 2001 From: vcerenu Date: Fri, 25 Oct 2024 10:27:13 -0300 Subject: [PATCH 1/2] Add labelSelector --- wazuh/wazuh_managers/wazuh-worker-sts.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wazuh/wazuh_managers/wazuh-worker-sts.yaml b/wazuh/wazuh_managers/wazuh-worker-sts.yaml index 4515a45f..6370cc87 100644 --- a/wazuh/wazuh_managers/wazuh-worker-sts.yaml +++ b/wazuh/wazuh_managers/wazuh-worker-sts.yaml @@ -33,6 +33,10 @@ spec: - weight: 100 podAffinityTerm: topologyKey: kubernetes.io/hostname + labelSelector: + matchLabels: + app: wazuh-manager + node-type: worker volumes: - name: config configMap: From 03f39d9b8b30a61850bcfbd89da57b76f0a6670c Mon Sep 17 00:00:00 2001 From: vcerenu Date: Fri, 25 Oct 2024 10:44:57 -0300 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13a4a3ae..0095554e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file. ### Fixed -- None +- Add labelSelector ([#872](https://github.com/wazuh/wazuh-kubernetes/pull/872)) \- (Wazuh worker STS) ### Deleted