Skip to content

Commit

Permalink
Add keda-crd helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Rubén Laguna <[email protected]>
  • Loading branch information
ecerulm committed Aug 5, 2024
1 parent 1b56809 commit 80c79d0
Show file tree
Hide file tree
Showing 12 changed files with 1,002 additions and 0 deletions.
23 changes: 23 additions & 0 deletions keda-crd/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
*.gotmpl
29 changes: 29 additions & 0 deletions keda-crd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: v2
name: keda-crd
description: A Helm Chart for KEDA Custom Resource Definitions (CRDS)

# Specify the Kubernetes version range that we support.
# We allow pre-release versions for cloud-specific Kubernetes versions such as v1.21.5-gke.1302 or v1.18.9-eks-d1db3c
kubeVersion: ">=v1.23.0-0"

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.14.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.14.0

home: https://github.com/kedacore/keda
icon: https://raw.githubusercontent.com/kedacore/keda/main/images/keda-logo-500x500-white.png
sources:
- https://github.com/kedacore/keda
maintainers:
- name: Ahmed ElSayed
email: [email protected]
- name: Jorge Turrado
email: [email protected]
- name: Tom Kerkhove
email: [email protected]
- name: Zbynek Roubalik
email: [email protected]
28 changes: 28 additions & 0 deletions keda-crd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# keda-crd

![Version: 2.14.2](https://img.shields.io/badge/Version-2.14.2-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)

A Helm Chart for KEDA Custom Resource Definitions (CRDS)

**Homepage:** <https://github.com/kedacore/keda>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| Ahmed ElSayed | <[email protected]> | |
| Jorge Turrado | <[email protected]> | |
| Tom Kerkhove | <[email protected]> | |
| Zbynek Roubalik | <[email protected]> | |

## Source Code

* <https://github.com/kedacore/keda>

## Requirements

Kubernetes: `>=v1.23.0-0`

----------------------------------------------

Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs/).
20 changes: 20 additions & 0 deletions keda-crd/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}

{{ template "chart.badgesSection" . }}

{{ template "chart.description" . }}

{{ template "chart.homepageLine" . }}

{{ template "chart.maintainersSection" . }}

{{ template "chart.sourcesSection" . }}

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

----------------------------------------------

Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs/).
32 changes: 32 additions & 0 deletions keda-crd/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}

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

{{/*
Generate basic labels for CRD
*/}}
{{- define "keda.crd-labels" }}
helm.sh/chart: {{ include "keda.chart" . }}
app.kubernetes.io/component: operator
app.kubernetes.io/managed-by: {{ .Values.customManagedBy | default .Release.Service }}
app.kubernetes.io/part-of: {{ .Values.operator.name }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
{{- end }}
{{- end }}

{{/*
Generate basic labels
*/}}
{{- define "keda.labels" -}}
{{- include "keda.crd-labels" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions keda-crd/templates/crd-cloudeventsources.yaml
1 change: 1 addition & 0 deletions keda-crd/templates/crd-clustertriggerauthentications.yaml
1 change: 1 addition & 0 deletions keda-crd/templates/crd-scaledjobs.yaml
1 change: 1 addition & 0 deletions keda-crd/templates/crd-scaledobjects.yaml
1 change: 1 addition & 0 deletions keda-crd/templates/crd-triggerauthentications.yaml
12 changes: 12 additions & 0 deletions keda-crd/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
crds:
# -- Defines whether the KEDA CRDs have to be installed or not.
install: true

# -- Custom annotations specifically for CRDs
additionalAnnotations:
{}
# foo: bar

operator:
# -- Name of the KEDA operator
name: keda-operator
Loading

0 comments on commit 80c79d0

Please sign in to comment.