Skip to content

Commit

Permalink
Merge pull request #200 from zhu733756/fix-initcontainer-on-kind
Browse files Browse the repository at this point in the history
Fix initcontainer script
  • Loading branch information
benjaminhuo authored Feb 15, 2022
2 parents 55730d0 + 6d4ab7d commit 85bdd40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/setup/fluent-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- /bin/sh
- '-c'
- set -ex;
echo CONTAINER_ROOT_DIR=$(docker info -f '{{.DockerRootDir}}') > /fluent-operator/fluent-bit.env
echo CONTAINER_ROOT_DIR=$(docker info -f '{{.DockerRootDir}}' 2>&1) > /fluent-operator/fluent-bit.env
volumeMounts:
- name: env
mountPath: /fluent-operator
Expand Down
2 changes: 1 addition & 1 deletion manifests/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11274,7 +11274,7 @@ spec:
- command:
- /bin/sh
- -c
- set -ex; echo CONTAINER_ROOT_DIR=$(docker info -f '{{.DockerRootDir}}')
- set -ex; echo CONTAINER_ROOT_DIR=$(docker info -f '{{.DockerRootDir}}' 2>&1)
> /fluent-operator/fluent-bit.env
image: docker:19.03
name: setenv
Expand Down

0 comments on commit 85bdd40

Please sign in to comment.