diff --git a/charts/tezos/scripts/dal-node.sh b/charts/tezos/scripts/dal-node.sh index 9de88fe07..721de67b1 100644 --- a/charts/tezos/scripts/dal-node.sh +++ b/charts/tezos/scripts/dal-node.sh @@ -10,6 +10,9 @@ extra_args="" if [ "${BOOTSTRAP_PROFILE}" == "true" ]; then extra_args="--bootstrap-profile" fi +if [ "${ATTESTER_PROFILES}" != "" ]; then + extra_args="${extra_args} --attester-profiles ${ATTESTER_PROFILES}" +fi if [ "${PUBLIC_ADDR}" != "" ]; then extra_args="${extra_args} --public-addr ${PUBLIC_ADDR}" fi diff --git a/charts/tezos/templates/octez-dal-node.yaml b/charts/tezos/templates/octez-dal-node.yaml index 49e3b4f54..458e5712a 100644 --- a/charts/tezos/templates/octez-dal-node.yaml +++ b/charts/tezos/templates/octez-dal-node.yaml @@ -56,6 +56,10 @@ spec: - name: BOOTSTRAP_PROFILE value: "true" {{- end }} +{{- if $v.attesterProfiles | default false }} + - name: ATTESTER_PROFILES + value: "{{ $v.attesterProfiles }}" +{{- end }} {{- if $v.publicAddr | default false }} - name: PUBLIC_ADDR value: "{{ $v.publicAddr }}"