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: {}