From aecf8e2781902fd64ef64fb6e68f9b671ac45449 Mon Sep 17 00:00:00 2001 From: Rebecca Valente Date: Tue, 23 Sep 2025 11:12:40 -0300 Subject: [PATCH] (1.0.6) devops: use .values.fullname for chart name; add fullname: wordpress and remove fullnameoverride in values.yaml --- charts/wordpress-helm/templates/_helpers.tpl | 2 +- charts/wordpress-helm/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/wordpress-helm/templates/_helpers.tpl b/charts/wordpress-helm/templates/_helpers.tpl index ae9a44f..ec6098a 100644 --- a/charts/wordpress-helm/templates/_helpers.tpl +++ b/charts/wordpress-helm/templates/_helpers.tpl @@ -6,7 +6,7 @@ Expand the name of the chart. {{- end }} {{- define "wordpress-website.fullname" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- default .Values.fullname }} {{- end }} {{/* diff --git a/charts/wordpress-helm/values.yaml b/charts/wordpress-helm/values.yaml index e07eb62..cd488de 100644 --- a/charts/wordpress-helm/values.yaml +++ b/charts/wordpress-helm/values.yaml @@ -1,3 +1,5 @@ +fullname: "wordpress" + replicaCount: 1 image: @@ -7,7 +9,6 @@ image: imagePullSecrets: [] nameOverride: "" -fullnameOverride: "" podAnnotations: {}