File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ mkdir /tmp/unhelm && chmod a+rxw /tmp/unhelm
7
7
docker-compose up --build --exit-code-from logs logs
8
8
docker-compose up --build --exit-code-from mysql mysql
9
9
docker-compose up --build --exit-code-from vault vault
10
+ docker-compose up --build --exit-code-from fluent-bit fluent-bit
10
11
```
Original file line number Diff line number Diff line change @@ -99,3 +99,26 @@ services:
99
99
set +x
100
100
echo "Done. To extract the results:"
101
101
echo "rsync -av --delete /tmp/unhelm/vault/* ./vault/"
102
+
103
+ fluent-bit :
104
+ image : docker.io/yolean/ystack-runner:6e0024f0386b9aeff890f5d507178b684cc80aaa@sha256:06770d55312fff7e79475e30b9f866f144a27b6786fe0aae83dd3b49136249eb
105
+ working_dir : /tmp
106
+ volumes :
107
+ - /tmp/unhelm:/tmp/unhelm:rw
108
+ - ./fluent-bit:/workspace/fluent-bit:ro
109
+ command :
110
+ - /bin/bash
111
+ - -cx
112
+ - |
113
+ set -eo pipefail
114
+ helm version
115
+ helm repo add fluent https://fluent.github.io/helm-charts
116
+ helm repo update
117
+ helm search repo fluent-bit --versions
118
+ mkdir -p /tmp/unhelm/fluent-bit
119
+ echo 'resources:' > /tmp/unhelm/fluent-bit/kustomization.yaml
120
+ helm template fluent-bit fluent/fluent-bit -f /workspace/fluent-bit/fluent-bit.values.yaml -n unhelm-namespace-placeholder --output-dir /tmp/unhelm | sed 's|wrote /tmp/unhelm/fluent-bit/|- ./|' | tee -a /tmp/unhelm/fluent-bit/kustomization.yaml
121
+ sed -i 's/ namespace: unhelm-namespace-placeholder/ #namespace: unhelm-namespace-placeholder/' /tmp/unhelm/fluent-bit/templates/*.yaml
122
+ set +x
123
+ echo "Done. To extract the results:"
124
+ echo "rsync -av --delete /tmp/unhelm/fluent-bit/* ./fluent-bit/"
You can’t perform that action at this time.
0 commit comments