Skip to content

zcash-stack chart double-prefixes image hash with sha256: #3

Description

@nachog00

When setting zebra.image.hash in values to a digest like sha256:6fe153..., the zcash-stack chart template produces:

zfnd/zebra:5.1.0@sha256:sha256:6fe153...

Kubernetes rejects this as InvalidImageName. The template prepends @sha256: but the value already contains the sha256: prefix.

Current workaround: pass the hash without the sha256: prefix in values.

Fix options:

  1. Chart template strips sha256: from the value before prepending
  2. Chart template expects bare hash (no prefix), documents this
  3. Chart template checks for the prefix and only adds it if missing

Note: issues are disabled on zingolabs/zcash-stack so tracking here.

Discovered while pinning golden-mainnet zebra to a verified amd64 digest to work around a multi-arch tag mismatch on zfnd/zebra Docker Hub images.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions