Rendering the template helm template sc sorry-cypress/sorry-cypress The mongo database name sc-mongodb-0 doesn't match the mongodb://sc-sorry-cypress-mongodb-0:27017 url
Modifications:
Use the .Release.Name instead of the full name in the mongodb.hostname template in _helpers.tpl
Motivation:
Rendering the template
helm template sc sorry-cypress/sorry-cypress
The mongo database namesc-mongodb-0
doesn't match themongodb://sc-sorry-cypress-mongodb-0:27017
urlModifications:
Use the
.Release.Name
instead of the full name in themongodb.hostname
template in_helpers.tpl
Results:
The mongodb hostname matches across the chart
Checklist: