Skip to content

Commit

Permalink
Use a ConfigMap for the prepared logs in the logging test (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedweber authored Jun 27, 2024
1 parent 7f1914d commit 8b948f3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: >
kubectl create configmap prepared-logs
--from-file=prepared-logs.log4j2.xml
--namespace=$NAMESPACE
8 changes: 0 additions & 8 deletions tests/templates/kuttl/logging/04-copy-prepared-logs.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ spec:
loggers:
ROOT:
level: INFO
podOverrides:
spec:
containers:
- name: vector
volumeMounts:
- name: prepared-logs
mountPath: /stackable/log/prepared-logs
volumes:
- name: prepared-logs
configMap:
name: prepared-logs
custom-log-config:
replicas: 1
config:
Expand Down

0 comments on commit 8b948f3

Please sign in to comment.