Skip to content

Commit

Permalink
feat: Ship KEDA v2.12 Helm chart (#535)
Browse files Browse the repository at this point in the history
* Update CRDs

Signed-off-by: Tom Kerkhove <[email protected]>

* Auto-gen version

Signed-off-by: Tom Kerkhove <[email protected]>

* Update versions

Signed-off-by: Tom Kerkhove <[email protected]>

* Installation notes

Signed-off-by: Tom Kerkhove <[email protected]>

* Package chart

Signed-off-by: Tom Kerkhove <[email protected]>

---------

Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove authored Sep 28, 2023
1 parent ced6295 commit 3030dcc
Show file tree
Hide file tree
Showing 10 changed files with 300 additions and 152 deletions.
157 changes: 90 additions & 67 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file added docs/keda-2.12.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions keda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ 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.11.2
version: 2.12.0

# 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.11.2
appVersion: 2.12.0

home: https://github.com/kedacore/keda
icon: https://raw.githubusercontent.com/kedacore/keda/main/images/keda-logo-500x500-white.png
Expand Down
4 changes: 2 additions & 2 deletions keda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ helm repo add kedacore https://kedacore.github.io/charts
helm repo update

kubectl create namespace keda
helm install keda kedacore/keda --namespace keda --version 2.11.2
helm install keda kedacore/keda --namespace keda --version 2.12.0
```

## Introduction
Expand All @@ -36,7 +36,7 @@ To install the chart with the release name `keda`:

```console
$ kubectl create namespace keda
$ helm install keda kedacore/keda --namespace keda --version 2.11.2
$ helm install keda kedacore/keda --namespace keda --version 2.12.0
```

## Uninstalling the Chart
Expand Down
4 changes: 2 additions & 2 deletions keda/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ helm repo add kedacore https://kedacore.github.io/charts
helm repo update

kubectl create namespace keda
helm install keda kedacore/keda --namespace keda --version 2.11.2
helm install keda kedacore/keda --namespace keda --version {{ template "chart.appVersion" . }}
```

## Introduction
Expand All @@ -36,7 +36,7 @@ To install the chart with the release name `keda`:

```console
$ kubectl create namespace keda
$ helm install keda kedacore/keda --namespace keda --version 2.11.2
$ helm install keda kedacore/keda --namespace keda --version {{ template "chart.appVersion" . }}
```

## Uninstalling the Chart
Expand Down
4 changes: 2 additions & 2 deletions keda/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ WARNING - prometheus.webhooks.serviceMonitor.relabellings is deprecated, please
-------------------------------------------------------------------------------------
{{- end }}

{{- if lt .Capabilities.KubeVersion.Minor "25" }}
{{- if lt .Capabilities.KubeVersion.Minor "26" }}
-------------------------------------------------------------------------------------
WARNING - Running on unsupported Kubernetes version "1.{{.Capabilities.KubeVersion.Minor}}". KEDA 2.11 is supported and tested on Kubernetes "1.25" or higher. See https://keda.sh/docs/2.11/operate/cluster/ for details.
WARNING - Running on unsupported Kubernetes version "1.{{.Capabilities.KubeVersion.Minor}}". KEDA 2.12 is supported and tested on Kubernetes "1.26" or higher. See https://keda.sh/docs/2.12/operate/cluster/ for details.
-------------------------------------------------------------------------------------
{{- end }}

Expand Down
22 changes: 20 additions & 2 deletions keda/templates/crds/crd-clustertriggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.13.0
{{- if .Values.additionalAnnotations }}
{{- toYaml .Values.additionalAnnotations | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -36,6 +36,14 @@ spec:
- jsonPath: .spec.hashiCorpVault.address
name: VaultAddress
type: string
- jsonPath: .status.scaledobjects
name: ScaledObjects
priority: 1
type: string
- jsonPath: .status.scaledjobs
name: ScaledJobs
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -228,10 +236,20 @@ spec:
type: object
type: array
type: object
status:
description: TriggerAuthenticationStatus defines the observed state of
TriggerAuthentication
properties:
scaledjobs:
type: string
scaledobjects:
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources: {}
subresources:
status: {}
{{- end -}}
208 changes: 138 additions & 70 deletions keda/templates/crds/crd-scaledjobs.yaml

Large diffs are not rendered by default.

27 changes: 24 additions & 3 deletions keda/templates/crds/crd-scaledobjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.13.0
{{- if .Values.additionalAnnotations }}
{{- toYaml .Values.additionalAnnotations | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -144,6 +144,8 @@ spec:
- For scale down: 300 (i.e. the stabilization window
is 300 seconds long).'
format: int32
maximum: 3600
minimum: 0
type: integer
type: object
scaleUp:
Expand Down Expand Up @@ -201,6 +203,8 @@ spec:
- For scale down: 300 (i.e. the stabilization window
is 300 seconds long).'
format: int32
maximum: 3600
minimum: 0
type: integer
type: object
type: object
Expand All @@ -209,6 +213,22 @@ spec:
type: object
restoreToOriginalReplicaCount:
type: boolean
scalingModifiers:
description: ScalingModifiers describes advanced scaling logic
options like formula
properties:
activationTarget:
type: string
formula:
type: string
metricType:
description: MetricTargetType specifies the type of metric
being targeted, and should be either "Value", "AverageValue",
or "Utilization"
type: string
target:
type: string
type: object
type: object
cooldownPeriod:
format: int32
Expand Down Expand Up @@ -239,8 +259,7 @@ spec:
format: int32
type: integer
scaleTargetRef:
description: ScaleTarget holds the a reference to the scale target
Object
description: ScaleTarget holds the reference to the scale target Object
properties:
apiVersion:
type: string
Expand Down Expand Up @@ -298,6 +317,8 @@ spec:
status:
description: ScaledObjectStatus is the status for a ScaledObject resource
properties:
compositeScalerName:
type: string
conditions:
description: Conditions an array representation to store multiple
Conditions
Expand Down
22 changes: 20 additions & 2 deletions keda/templates/crds/crd-triggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.13.0
{{- if .Values.additionalAnnotations }}
{{- toYaml .Values.additionalAnnotations | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -36,6 +36,14 @@ spec:
- jsonPath: .spec.hashiCorpVault.address
name: VaultAddress
type: string
- jsonPath: .status.scaledobjects
name: ScaledObjects
priority: 1
type: string
- jsonPath: .status.scaledjobs
name: ScaledJobs
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -227,10 +235,20 @@ spec:
type: object
type: array
type: object
status:
description: TriggerAuthenticationStatus defines the observed state of
TriggerAuthentication
properties:
scaledjobs:
type: string
scaledobjects:
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources: {}
subresources:
status: {}
{{- end -}}

0 comments on commit 3030dcc

Please sign in to comment.