-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkustomization.yml
99 lines (87 loc) · 2.75 KB
/
kustomization.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: wazuh
secretGenerator:
- name: certs
files:
- certs/out/root-ca.pem
- certs/out/wildcard.indexer.pem
- certs/out/wildcard.indexer.key
- certs/out/dashboard.pem
- certs/out/dashboard.key
- certs/out/admin_cert.pem
- certs/out/admin_cert.key
- certs/out/filebeat.pem
- certs/out/filebeat.key
configMapGenerator:
- name: indexer-conf
files:
- opensearch/indexer/conf/config.yml
- opensearch/indexer/conf/internal_users.yml
- opensearch/indexer/conf/opensearch.yml
- opensearch/indexer/conf/roles_mapping.yml
- opensearch/indexer/conf/roles.yml
- name: dashboard-conf
files:
- opensearch/dashboard/conf/opensearch_dashboards.yml
- opensearch/dashboard/conf/wazuh_dashboard.yml
- name: wazuh-conf
files:
- wazuh/conf/manager.conf
- wazuh/conf/worker.conf
- wazuh/conf/local_internal_options.conf
- name: filebeat-conf
files:
- wazuh/filebeat/alerts_manifest.yml
- wazuh/filebeat/archives_manifest.yml
- wazuh/filebeat/filebeat.yml
- wazuh/filebeat/wazuh_alerts_pipeline.json
- wazuh/filebeat/wazuh-template.json
resources:
# Base
- base/ns.yml
- base/storage-class.yml
- base/pv-opensearch.yml
- base/pvc-opensearch.yml
- base/pv-wazuh.yml
- base/pvc-wazuh.yml
# Secrets
- secrets/indexer-secret-bcrypt.yml
- secrets/indexer-secret.yml
- secrets/wazuh-api-secret.yml
- secrets/wazuh-authd-secret.yml
- secrets/wazuh-cluster-secret.yml
# Network policies
- network-policies/network-policy-deny_all.yml
- network-policies/network-policy-514.yml
- network-policies/network-policy-1514.yml
- network-policies/network-policy-1515.yml
- network-policies/network-policy-1516.yml
- network-policies/network-policy-5601.yml
- network-policies/network-policy-9200.yml
- network-policies/network-policy-9300.yml
- network-policies/network-policy-55000.yml
# RBAC
- rbac/role-configmaps.yml
- rbac/role-deployments.yml
- rbac/role-pods.yml
- rbac/role-secrets.yml
- rbac/role-services.yml
- rbac/rolebinding-configmaps.yml
- rbac/rolebinding-deployments.yml
- rbac/rolebinding-pods.yml
- rbac/rolebinding-secrets.yml
- rbac/rolebinding-services.yml
- rbac/service-account.yml
# Wazuh
- wazuh/wazuh-cluster-svc.yml
- wazuh/wazuh-manager-sts.yml
- wazuh/wazuh-manager-svc.yml
- wazuh/wazuh-worker-sts.yml
- wazuh/wazuh-worker-svc.yml
# Opensearch - Indexer & Dashboard
- opensearch/indexer/indexer-api-svc.yml
- opensearch/indexer/indexer-sts.yml
- opensearch/indexer/indexer-svc.yml
- opensearch/dashboard/dashboard-deploy.yml
- opensearch/dashboard/dashboard-svc.yml