File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Use patched reloader. Can be removed after version with fix (https://github.com/vmware/kube-fluentd-operator/pull/360) is available.
2
+ FROM golang:1.18 as builder
3
+ WORKDIR /go/src/github.com/vmware/kube-fluentd-operator
4
+ RUN set -e \
5
+ && git clone --depth 1 --branch bugfix/migration-mode-with-cr-namespaces https://github.com/jonasrutishauser/kube-fluentd-operator.git . \
6
+ && cd config-reloader \
7
+ && GO111MODULE=on GOARCH=amd64 CGO_ENABLED=0 go build -v -ldflags "-X github.com/vmware/kube-fluentd-operator/config-reloader/config.Version=1.16.8-1 -w -s" .
8
+ # End patch build
9
+
1
10
FROM vmware/kube-fluentd-operator:v1.16.8
2
11
3
12
RUN set -e \
4
13
&& tdnf install -y jq sed \
5
14
&& gem install -N fluent-plugin-jq -v "0.5.1" \
6
15
&& echo OK
7
16
17
+ # Use patched reloader
18
+ COPY --from=builder /go/src/github.com/vmware/kube-fluentd-operator/config-reloader/config-reloader /bin/config-reloader
19
+
8
20
# Patch configuration files:
9
21
# - relabel all at end to allow default match in kube-system.conf (is before all other namespaces)
10
22
# - kubelet.log of rancher is in /var/lib/rancher/rke2/agent/logs
You can’t perform that action at this time.
0 commit comments