Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cilium-operator.Dockerfile: set
klog
logging values from cilium-ope…
…rator `klog`, which is used by the Kubernetes libraries consumed by `cilium-operator`, always tries to log to a file in `/tmp`. Since the `cilium-operator` container image is built off of `scratch`, such a directory does not exist. If the directory does not exist, `klog` exits and causes `cilium-operator` to crash. To not crash, do not log to any directories, and instead set the `logtostderr` value within `klog` to `true` so that it does not log to a directory. Fixes: cilium#7006 Signed-off by: Ian Vernon <ian@cilium.io>
- Loading branch information