Skip to content
Snippets Groups Projects
Commit 57b66dc2 authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Add basic kubernetes YAML definitions.

parent 1cf48f6e
No related branches found
No related tags found
No related merge requests found
apiVersion: v1
kind: ConfigMap
metadata:
name: wazuh-vat-evidence-collector-config
data:
constants.json: |-
{
"general": {
"demo": true
},
"wazuh": {
"host": "localhost",
"port": 55000,
"username": "wazuh-wui",
"password": "wazuh-wui"
},
"elastic": {
"host": "localhost",
"port": 9200,
"username": "admin",
"password": "changeme"
},
"redis": {
"host": "localhost",
"port": 6379,
"queue": "low"
},
"clouditor": {
"host":"security-assessment-svc",
"port": 9090
}
}
apiVersion: apps/v1
kind: Deployment
metadata:
name: wazuh-vat-evidence-collector
labels:
app: wazuh-vat-evidence-collector
spec:
selector:
matchLabels:
app: wazuh-vat-evidence-collector
template:
metadata:
labels:
app: wazuh-vat-evidence-collector
spec:
volumes:
- name: config-volume
configMap:
name: wazuh-vat-evidence-collector-config
containers:
- image: optima-medina-docker-dev.artifact.tecnalia.com/wp3/t32/wazuh-vat-evidence-collector:latest
name: wazuh-vat-evidence-collector
imagePullPolicy: Always
volumeMounts:
- name: config-volume
mountPath: /evidence-collector/constants.json
subPath: constants.json
imagePullSecrets:
- name: regcred
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment