From 132c04e6da07b865a8a47747817ea336206d7fd7 Mon Sep 17 00:00:00 2001 From: Curtis Date: Wed, 19 Aug 2026 22:02:03 -0400 Subject: [PATCH] Update en image --- charts/abstract-node/Chart.yaml | 4 ++-- charts/abstract-node/templates/_helpers.tpl | 13 +++++++++++++ charts/abstract-node/templates/deployment-api.yaml | 2 +- charts/abstract-node/templates/statefulset.yaml | 4 ++-- charts/abstract-node/values.yaml | 3 ++- docker/external-node.yml | 4 ++-- 6 files changed, 22 insertions(+), 8 deletions(-) diff --git a/charts/abstract-node/Chart.yaml b/charts/abstract-node/Chart.yaml index f3cae56..7be76a9 100644 --- a/charts/abstract-node/Chart.yaml +++ b/charts/abstract-node/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: abstract-node description: External node for syncing and serving blockchain data for Abstract -version: 0.1.47 +version: 0.1.48 type: application icon: https://abstract-assets.abs.xyz/icons/light.png keywords: @@ -11,7 +11,7 @@ keywords: home: https://abs.xyz sources: - https://github.com/matter-labs/zksync-era -appVersion: "f11180bd-1786191203" +appVersion: "9734bf2-1787057993929" dependencies: - name: common diff --git a/charts/abstract-node/templates/_helpers.tpl b/charts/abstract-node/templates/_helpers.tpl index 79af9de..4e36d9f 100644 --- a/charts/abstract-node/templates/_helpers.tpl +++ b/charts/abstract-node/templates/_helpers.tpl @@ -61,6 +61,19 @@ Create the name of the service account to use {{- end }} {{- end }} +{{/* +External node image, optionally pinned by digest. +*/}} +{{- define "abstract-node.image" -}} +{{- $tag := .Values.image.tag | default .Chart.AppVersion -}} +{{- $image := printf "%s/%s:%s" .Values.image.registry .Values.image.repository $tag -}} +{{- with .Values.image.digest -}} +{{- printf "%s@%s" $image . -}} +{{- else -}} +{{- $image -}} +{{- end -}} +{{- end }} + {{/* Render OpenTelemetry environment variables for the external node container. */}} diff --git a/charts/abstract-node/templates/deployment-api.yaml b/charts/abstract-node/templates/deployment-api.yaml index 9993924..6554cb3 100644 --- a/charts/abstract-node/templates/deployment-api.yaml +++ b/charts/abstract-node/templates/deployment-api.yaml @@ -56,7 +56,7 @@ spec: priorityClassName: {{ .Values.priorityClassName | quote }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ include "abstract-node.image" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if $supportsStopSignal }} lifecycle: diff --git a/charts/abstract-node/templates/statefulset.yaml b/charts/abstract-node/templates/statefulset.yaml index f462a8f..ea3abf9 100644 --- a/charts/abstract-node/templates/statefulset.yaml +++ b/charts/abstract-node/templates/statefulset.yaml @@ -64,7 +64,7 @@ spec: {{- if .Values.consensus.enabled }} initContainers: - name: init-consensus-secrets - image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ include "abstract-node.image" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - "/bin/sh" @@ -82,7 +82,7 @@ spec: {{- end }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ include "abstract-node.image" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if $supportsStopSignal }} lifecycle: diff --git a/charts/abstract-node/values.yaml b/charts/abstract-node/values.yaml index 0cfb835..9e397f0 100644 --- a/charts/abstract-node/values.yaml +++ b/charts/abstract-node/values.yaml @@ -79,7 +79,8 @@ image: registry: docker.io repository: matterlabs/external-node pullPolicy: IfNotPresent - tag: "f11180bd-1786191203" + tag: "9734bf2-1787057993929" + digest: "sha256:0bbcb2ffceca37f9f2b0d4e0f243b2fe636f4080103f62b50419f67a77d8f60a" shutdownWrapper: enabled: false diff --git a/docker/external-node.yml b/docker/external-node.yml index 12238d5..d14b199 100644 --- a/docker/external-node.yml +++ b/docker/external-node.yml @@ -52,7 +52,7 @@ services: # Generation of consensus secrets. # The secrets are generated iff the secrets file doesn't already exist. generate-secrets: - image: "matterlabs/external-node:${EN_VERSION:-f11180bd-1786191203}" + image: "matterlabs/external-node:${EN_VERSION:-9734bf2-1787057993929}@${EN_DIGEST:-sha256:0bbcb2ffceca37f9f2b0d4e0f243b2fe636f4080103f62b50419f67a77d8f60a}" entrypoint: [ "/configs/generate_secrets.sh", @@ -61,7 +61,7 @@ services: volumes: - ./configs:/configs external-node: - image: "matterlabs/external-node:${EN_VERSION:-f11180bd-1786191203}" + image: "matterlabs/external-node:${EN_VERSION:-9734bf2-1787057993929}@${EN_DIGEST:-sha256:0bbcb2ffceca37f9f2b0d4e0f243b2fe636f4080103f62b50419f67a77d8f60a}" entrypoint: ["/usr/bin/entrypoint.sh"] restart: always depends_on: