# Copyright (C) 2019, Wazuh Inc. # # This program is a free software; you can redistribute it # and/or modify it under the terms of the GNU General Public # License (version 2) as published by the FSF - Free Software # Foundation. apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization # Adds wazuh namespace to all resources. namespace: wazuh secretGenerator: - name: indexer-certs files: - certs/indexer_cluster/root-ca.pem - certs/indexer_cluster/node.pem - certs/indexer_cluster/node-key.pem - certs/indexer_cluster/dashboard.pem - certs/indexer_cluster/dashboard-key.pem - certs/indexer_cluster/admin.pem - certs/indexer_cluster/admin-key.pem - certs/indexer_cluster/filebeat.pem - certs/indexer_cluster/filebeat-key.pem - name: dashboard-certs files: - certs/dashboard_http/cert.pem - certs/dashboard_http/key.pem - certs/indexer_cluster/root-ca.pem configMapGenerator: - name: indexer-conf files: - indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml - indexer_stack/wazuh-indexer/indexer_conf/internal_users.yml - name: wazuh-conf files: - wazuh_managers/wazuh_conf/master.conf - wazuh_managers/wazuh_conf/worker.conf - name: dashboard-conf files: - indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml resources: - base/wazuh-ns.yaml - base/storage-class.yaml - secrets/wazuh-api-cred-secret.yaml - secrets/wazuh-authd-pass-secret.yaml - secrets/wazuh-cluster-key-secret.yaml - secrets/dashboard-cred-secret.yaml - secrets/indexer-cred-secret.yaml - wazuh_managers/wazuh-cluster-svc.yaml - wazuh_managers/wazuh-master-svc.yaml - wazuh_managers/wazuh-workers-svc.yaml - wazuh_managers/wazuh-master-sts.yaml - wazuh_managers/wazuh-worker-sts.yaml - indexer_stack/wazuh-indexer/indexer-svc.yaml - indexer_stack/wazuh-indexer/cluster/indexer-api-svc.yaml - indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml - indexer_stack/wazuh-dashboard/dashboard-svc.yaml - indexer_stack/wazuh-dashboard/dashboard-deploy.yaml