Which component:
Controller: 0.24.5
Helm chart: 2.14.1
Describe the bug
Metrics service name can exceed 63 character limit, because Helm template engine will include sealed-secrets.fullname to generate name and in this helper function it will truncates string to 63 characters, hoverver service name itself will add additional characters to the service name, i.e -metrics thus deployments will fail.
Using nameOverride and fullNameOverride will update selector labels, thus breaking controller deployment.
To Reproduce
Deploy sealed-secrets chart, with Release.Name close to 63 characters.
Expected behavior
Provide a way using Helm values to override metrics service name.
Which component: Controller: 0.24.5 Helm chart: 2.14.1
Describe the bug Metrics service name can exceed 63 character limit, because Helm template engine will include
sealed-secrets.fullname
to generate name and in this helper function it will truncates string to 63 characters, hoverver service name itself will add additional characters to the service name, i.e-metrics
thus deployments will fail.Using
nameOverride
andfullNameOverride
will update selector labels, thus breaking controller deployment.To Reproduce Deploy sealed-secrets chart, with Release.Name close to 63 characters.
Expected behavior Provide a way using Helm values to override metrics service name.
Version of Kubernetes:
kubectl version
: