permission issues for status.json
This image seems to give the following error in logs:
2020-09-25 17:20:16.226 [ERROR][1] status.go 129: Failed to write readiness file: open status.json: permission denied
2020-09-25 17:20:16.226 [WARNING][1] status.go 64: Failed to write status error=open status.json: permission denied
which also results in events:
Warning Unhealthy 32s (x19 over 3m32s) kubelet, ip-10-42-30-249.us-east-2.compute.internal Readiness probe failed: Failed to read status file status.json: open status.json: no such file or directory
I am having trouble tracking down the source of this issue as its not as straightforward or simple as something missing in the dockerfile (some obvious instruction is missing) or an obvious permission issue (it should be uid 1234 or something).
If I swap this image out with the regular public kube-controllers image from calico it obviously gets past that so there has to be some difference...will update if I find something. For now opening an issue.