Closed ekampf closed 9 months ago
Make our helm chart's golden tests less of a hassle:
.Chart.Version
cn.name
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
What this PR does / why we need it:
Make our helm chart's golden tests less of a hassle:
.Chart.Version
value in our template - specifically we're using thecn.name
helper:cn.name
value to a specific const value during tests so that snapshots wont change on version change - https://github.com/Twingate/helm-charts/pull/37/files#diff-41512ec9e324e19e492871c5fe0d33e6a2506438dc49c2a83f51f9edbc663804Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]