Skip to content

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 17:15
· 25 commits to main since this release
b5fdd6b

Fixed

  • An expired resource version (410 in a watch) is no longer a watch error: it gives no
    pod watch error, event watch error or deployment watch error line and is not counted in
    kausa_watch_errors_total, since the watcher lists again and kausa_watch_relists_total
    counts that. On k3s, which serves the Event watch without a watch cache, it came every few
    minutes and made more than half of that counter (142 of 239 Event watch errors in a day).

  • With replicaCount: 2, the lease error hint on a 404 also names the deploy tools that skip
    Leases: the chart creates this Lease: run helm upgrade, or create it once if your deploy tool skips Leases (Argo CD does). Argo CD's default resource.exclusions skip
    coordination.k8s.io/Lease, so an Application of the chart never creates the Lease and neither
    replica leads; Install with Helm gives the Lease to create
    once (#79). kausa's permissions do not change: it
    still never creates the Lease (0019).

Install

helm install kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.2 \
  -n kausa --create-namespace --set rbac.scope=cluster --set dryRun=true

The same chart is attached below as kausa-0.6.2.tgz, and its URL still works:
helm install kausa https://github.com/fedeam/kausa/releases/download/v0.6.2/kausa-0.6.2.tgz ….
A release installed from a chart URL moves to the registry with
helm upgrade kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.2 -n kausa --reuse-values.

  • Image: ghcr.io/fedeam/kausa:0.6.2 (ghcr.io/fedeam/kausa@sha256:bb2329800d9e81d2d1fbfb0e9a0aa5e2efc41a1effed7aff77b19a2a14f93eef); linux/amd64
    ghcr.io/fedeam/kausa@sha256:47c7c763cb360a4eea0f917377005d789aab749498254622e1e8b6cdbd597885, linux/arm64 ghcr.io/fedeam/kausa@sha256:3f984d3492f6b0726ddb92eb8feabf85ad02356a5b8b411937231ae9b57d2443.
  • Chart: oci://ghcr.io/fedeam/charts/kausa, version 0.6.2
    (ghcr.io/fedeam/charts/kausa@sha256:8fe6180ce4947b8cdaf09b847ac36bc04c67a04c1af9614dcf7ee3dd45960407), the same bytes as kausa-0.6.2.tgz.
  • SBOMs (CycloneDX 1.6): kausa-0.6.2-linux-amd64.cdx.json, kausa-0.6.2-linux-arm64.cdx.json.

Verify

With cosign v3 or later; no login needed. Verify by digest: tags can be moved.

ID=https://github.com/fedeam/kausa/.github/workflows/release.yml@refs/tags/v0.6.2
ISSUER=https://token.actions.githubusercontent.com
cosign verify ghcr.io/fedeam/kausa@sha256:bb2329800d9e81d2d1fbfb0e9a0aa5e2efc41a1effed7aff77b19a2a14f93eef --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/kausa@sha256:bb2329800d9e81d2d1fbfb0e9a0aa5e2efc41a1effed7aff77b19a2a14f93eef --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:47c7c763cb360a4eea0f917377005d789aab749498254622e1e8b6cdbd597885 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:3f984d3492f6b0726ddb92eb8feabf85ad02356a5b8b411937231ae9b57d2443 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify ghcr.io/fedeam/charts/kausa@sha256:8fe6180ce4947b8cdaf09b847ac36bc04c67a04c1af9614dcf7ee3dd45960407 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/charts/kausa@sha256:8fe6180ce4947b8cdaf09b847ac36bc04c67a04c1af9614dcf7ee3dd45960407 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null

To install exactly the chart you checked, compare it with the signed checksums
(on macOS, shasum -a 256 in place of sha256sum):

curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.2/SHA256SUMS
curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.2/SHA256SUMS.sigstore.json
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER"
helm pull oci://ghcr.io/fedeam/charts/kausa --version 0.6.2
sha256sum --ignore-missing -c SHA256SUMS
helm install kausa kausa-0.6.2.tgz -n kausa --create-namespace --set rbac.scope=cluster --set dryRun=true

With the GitHub CLI, which needs gh auth login:

W=fedeam/kausa/.github/workflows/release.yml
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:bb2329800d9e81d2d1fbfb0e9a0aa5e2efc41a1effed7aff77b19a2a14f93eef --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.2
gh attestation verify oci://ghcr.io/fedeam/charts/kausa@sha256:8fe6180ce4947b8cdaf09b847ac36bc04c67a04c1af9614dcf7ee3dd45960407 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.2
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:47c7c763cb360a4eea0f917377005d789aab749498254622e1e8b6cdbd597885 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.2 --predicate-type https://cyclonedx.org/bom
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:3f984d3492f6b0726ddb92eb8feabf85ad02356a5b8b411937231ae9b57d2443 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.2 --predicate-type https://cyclonedx.org/bom
gh release download v0.6.2 --repo fedeam/kausa
gh attestation verify kausa-0.6.2.tgz --repo fedeam/kausa --bundle kausa-0.6.2.intoto.jsonl --signer-workflow "$W" --source-ref refs/tags/v0.6.2