From d2e25f6239f0e3dc76af418456030b1c388e1c29 Mon Sep 17 00:00:00 2001 From: Mehdi Bechiri Date: Mon, 18 Sep 2023 14:56:08 +0200 Subject: [PATCH] fixing missing addresses in helper Signed-off-by: Mehdi Bechiri --- charts/eth-validator-watcher/templates/_helpers.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/eth-validator-watcher/templates/_helpers.tpl b/charts/eth-validator-watcher/templates/_helpers.tpl index d38ddfa..c856394 100644 --- a/charts/eth-validator-watcher/templates/_helpers.tpl +++ b/charts/eth-validator-watcher/templates/_helpers.tpl @@ -2,7 +2,7 @@ Expand the name of the chart. */}} {{- define "ethereum-validator-watcher.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- default .Chart.Name .Values.watcher.nameOverride | trunc 63 | trimSuffix "-" }} {{- end }} {{/* @@ -11,10 +11,10 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this If release name contains chart name it will be used as a full name. */}} {{- define "ethereum-validator-watcher.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- if .Values.watcher.fullnameOverride }} +{{- .Values.watcher.fullnameOverride | trunc 63 | trimSuffix "-" }} {{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} +{{- $name := default .Chart.Name .Values.watcher.nameOverride }} {{- if contains $name .Release.Name }} {{- .Release.Name | trunc 63 | trimSuffix "-" }} {{- else }}