raspbernetes/multi-arch-images

arm64 flux kubeyaml issue

HaveFun83 opened this issue · 3 comments

Hi
looks like the kubeyaml image referenced in flux dockerfile can not run on arm64

COPY --from=quay.io/squaremo/kubeyaml:0.7.0 /usr/lib/kubeyaml /usr/lib/kubeyaml/

after i applied a helmrelease which should be automated by flux i get the following issues within the flux log.

gitops/flux-c55549f45-2jct2[flux]: ts=2020-03-14T23:02:45.336631844Z caller=loop.go:151 component=sync-loop jobID=465e0132-22fe-9a78-4aa9-91285f059732 state=done success=false err="applying changes: updating resource monitoring:helmrelease/infra-grafana in fluxcd/monitoring/grafana/infra-grafana_hr.yaml: fork/exec /usr/lib/kubeyaml/kubeyaml: exec format error"

and flux is unable to upgrade the helmrelease to a newer image.

Can you check included image?

Thanks in advance

It looks like the upstream isn't supporting multi-image architecture, we can most certainly do this in our repository and manage releases against the upstream repository.

I've raised a new issue to track kubeyaml being supported into this repository - #57

If you'd like to contribute and raise a PR for kubeyaml into this repository that would be awesome.

@xunholy can you fix the flux dockerfile with the new kubeyaml ref or should i open a new pr?

@HaveFun83 happy for you to make another PR with the changes 👍