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 cbbc656 commit 5f62c21
Show file tree
Hide file tree
Showing 6 changed files with 12,058 additions and 0 deletions.
20 changes: 20 additions & 0 deletions charts/k6-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
appVersion: "0.0.18"
description: A Helm chart to install the k6-operator CRDs
name: k6-crd
version: 3.10.1
kubeVersion: ">=1.16.0-0"
home: https://k6.io
sources:
- https://github.com/grafana/k6-operator
keywords:
- load-testing
- smoke-testing
- stress-testing
- soak-testing
- kubernetes
- distributed-testing
maintainers:
- name: yorugac
email: [email protected]
icon: https://raw.githubusercontent.com/grafana/k6-docs/main/static/images/icon.png
20 changes: 20 additions & 0 deletions charts/k6-crds/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{/*
Common labels
*/}}
{{- define "k6-crds.labels" -}}
helm.sh/chart: {{ include "k6-operator.chart" . }}
{{ include "k6-crds.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: k6-operator
{{- end }}

{{/*
Selector labels
*/}}
{{- define "k6-crds.selectorLabels" -}}
app.kubernetes.io/name: {{ include "k6-crds.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
Loading

0 comments on commit 5f62c21

Please sign in to comment.