Sidekiq doesn't use the "fullname" helper function but specifies something locally
Summary
When a parent chart overrides the "fullname" template, everything changes except for Sidekiq which remains using the standard <release>-sidekiq
name. This is not a problem in and off itself, but it also does this for including its ConfigMap. However, the ConfigMap does use the "fullname" template, and as such, breaks if this is overriden.
Steps to reproduce
Create a parent chart depending on the gitlab chart and create a _helper.tpl
file with this contents:
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" $name .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
Configuration used
Not relevant as this overrides some internal templating
Current behavior
When releasing with "my-release", sidekiq's deployment gets named my-release-sidekiq
and tries to include my-release-sidekiq
as ConfigMap, but the config map name is sidekiq-my-release
Expected behavior
When releasing with "my-release", sidekiq's deployment gets named sidekiq-my-release
and tries to include sidekiq-my-release
as ConfigMap
Versions
- Chart: 5.9.2
- Platform:
- Self-hosted: kOps provisioned kubernetes cluster on AWS
- Kubernetes: (
kubectl version
)- Client: 1.23.5
- Server: 1.21.6
- Helm: (
helm version
)- Client: 3.8.1