From 5fc9f7d7dd04b6772ea870dd5305fc2e35afdd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Mon, 16 Sep 2024 12:49:56 +0000 Subject: [PATCH] Enable central logging to testing instance --- testing/deploy.sh | 2 ++ testing/playbooks/security-logs.yaml | 1 + testing/playbooks/templates/fluent-bit-secrets.yaml.j2 | 1 + testing/playbooks/templates/fluent-bit.yaml.j2 | 1 + 4 files changed, 5 insertions(+) create mode 120000 testing/playbooks/security-logs.yaml create mode 120000 testing/playbooks/templates/fluent-bit-secrets.yaml.j2 create mode 120000 testing/playbooks/templates/fluent-bit.yaml.j2 diff --git a/testing/deploy.sh b/testing/deploy.sh index d7ac3c0..c9e7a1e 100755 --- a/testing/deploy.sh +++ b/testing/deploy.sh @@ -55,3 +55,5 @@ ansible-playbook playbooks/cvmfs.yaml # wait for finish while ansible -m command -a 'kubectl get pods --all-namespaces' master | tail -n +3 | grep -Ev ' (Running|Completed) '; do sleep 5; done + +ansible-playbook playbooks/security-logs.yaml diff --git a/testing/playbooks/security-logs.yaml b/testing/playbooks/security-logs.yaml new file mode 120000 index 0000000..0149b19 --- /dev/null +++ b/testing/playbooks/security-logs.yaml @@ -0,0 +1 @@ +../../common/playbooks/security-logs.yaml \ No newline at end of file diff --git a/testing/playbooks/templates/fluent-bit-secrets.yaml.j2 b/testing/playbooks/templates/fluent-bit-secrets.yaml.j2 new file mode 120000 index 0000000..c64dcee --- /dev/null +++ b/testing/playbooks/templates/fluent-bit-secrets.yaml.j2 @@ -0,0 +1 @@ +../../../common/playbooks/templates/fluent-bit-secrets.yaml.j2 \ No newline at end of file diff --git a/testing/playbooks/templates/fluent-bit.yaml.j2 b/testing/playbooks/templates/fluent-bit.yaml.j2 new file mode 120000 index 0000000..4ccab19 --- /dev/null +++ b/testing/playbooks/templates/fluent-bit.yaml.j2 @@ -0,0 +1 @@ +../../../common/playbooks/templates/fluent-bit.yaml.j2 \ No newline at end of file -- GitLab