helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

trillian chart does not deploy on Apple Silicon macs, but it could

Open federico-falconieri-form3 opened this issue 1 year ago • 2 comments

The latest trillian chart does not deploy on apple silicon. As is, this is not exactly a bug but a conscious decision introduced in https://github.com/sigstore/helm-charts/pull/424 to address https://github.com/sigstore/helm-charts/issues/376. But docker for mac on apple silicon macs can run amd64 images...

Solution: make the node scheduling optional

~~apologies, this was already resolved by https://github.com/sigstore/helm-charts/issues/500. My issue is unrelated.~~

EDIT: there is a bug related to this.

I've run into this problem by installing the rekor chart, which depends on trillian. The trillian chart is set at version 0.1.17 there BUT the move to chainguard image that removed the node selection (#500) was introduced later... now trillian is at 0.2.8

I'm going to test if it is sufficient to just bump the dependency version

Leaving this here, could be useful for others: to install the current version of the rekor chart (1.3.6) on an Apple Silicon mac it is sufficient to use this values file:

trillian:
  logServer:
    nodeSelector:
      kubernetes.io/arch: arm64
  logSigner:
    nodeSelector:
      kubernetes.io/arch: arm64

Although I've resolved the problem on my specific situation, I'll leave it to the maintainers to decide if the issue should be closed or not...