Skip to content

Commit

Permalink
feat: separate helm chart for CRDs
Browse files Browse the repository at this point in the history
Signed-off-by: Marius Kimmina <[email protected]>
  • Loading branch information
mariuskimmina committed Dec 12, 2024
1 parent f190e59 commit 96d36e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions charts/k6-crds/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "k6-crds.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "k6-crds.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
Expand Down

0 comments on commit 96d36e2

Please sign in to comment.