Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ship KEDA chart v2.14.1 #632

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 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 search repo kedacore
NAME CHART VERSION APP VERSION DESCRIPTION
kedacore/external-scaler-azure-cosmos-db 0.1.0 0.1.0 Event-based autoscaler for Azure Cosmos DB chan...
kedacore/keda 2.13.2 2.13.1 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.14.1 2.14.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda-add-ons-http 0.7.0 0.7.0 Event-based autoscaler for HTTP workloads on Ku...
```

Expand Down
173 changes: 98 additions & 75 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file added docs/keda-2.14.1.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion keda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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.0
version: 2.14.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
7 changes: 3 additions & 4 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.13.1
helm install keda kedacore/keda --namespace keda --version 2.14.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.13.1
$ helm install keda kedacore/keda --namespace keda --version 2.14.1
```

## Uninstalling the Chart
Expand Down Expand Up @@ -112,8 +112,7 @@ their default values.
| `rbac.aggregateToDefaultRoles` | bool | `false` | Specifies whether RBAC for CRDs should be [aggregated](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles) to default roles (view, edit, admin) |
| `rbac.create` | bool | `true` | Specifies whether RBAC should be used |
| `rbac.enabledCustomScaledRefKinds` | bool | `true` | Whether RBAC for configured CRDs that can have a `scale` subresource should be created |
| `rbac.scaledRefKinds` | string | `nil` | List of custom resources that support the `scale` subresource and can be referenced by `scaledobject.spec.scaleTargetRef`. The feature needs to be also enabled by `enabledCustomScaledRefKinds`. If left empty, RBAC for `apiGroups: *` and `resources: */scale` will be created.
note: `Deployments` and `StatefulSets` are always enabled |
| `rbac.scaledRefKinds` | list | `[{"apiGroup":"*","kind":"*"}]` | List of custom resources that support the `scale` subresource and can be referenced by `scaledobject.spec.scaleTargetRef`. The feature needs to be also enabled by `enabledCustomScaledRefKinds`. If left empty, RBAC for `apiGroups: *` and `resources: *, */scale` will be created note: Deployments and StatefulSets are supported out of the box |
| `securityContext` | object | [See below](#KEDA-is-secure-by-default) | [Security context] for all containers |
| `tolerations` | list | `[]` | Tolerations for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)) |
| `watchNamespace` | string | `""` | Defines Kubernetes namespaces to watch to scale their workloads. Default watches all namespaces |
Expand Down
2 changes: 1 addition & 1 deletion keda/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {{ template "chart.appVersion" . }}
$ helm install keda kedacore/keda --namespace keda --version {{ template "chart.version" . }}
```

## Uninstalling the Chart
Expand Down
9 changes: 4 additions & 5 deletions keda/templates/crds/crd-scaledjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ spec:
Standard object's metadata.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
type: object
x-kubernetes-preserve-unknown-fields: true
spec:
description: |-
Specification of the desired behavior of the pod.
Expand Down Expand Up @@ -1815,6 +1816,7 @@ spec:
type: string
required:
- containerPort
- protocol
type: object
type: array
x-kubernetes-list-map-keys:
Expand Down Expand Up @@ -3211,6 +3213,7 @@ spec:
type: string
required:
- containerPort
- protocol
type: object
type: array
x-kubernetes-list-map-keys:
Expand Down Expand Up @@ -4625,6 +4628,7 @@ spec:
type: string
required:
- containerPort
- protocol
type: object
type: array
x-kubernetes-list-map-keys:
Expand Down Expand Up @@ -7723,11 +7727,6 @@ spec:
additionalProperties:
type: string
type: object
metricType:
description: |-
MetricTargetType specifies the type of metric being targeted, and should be either
"Value", "AverageValue", or "Utilization"
type: string
name:
type: string
type:
Expand Down
4 changes: 4 additions & 0 deletions keda/templates/crds/crd-scaledobjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ spec:
- For scale up: 0 (i.e. no stabilization is done).
- 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 @@ -200,6 +202,8 @@ spec:
- For scale up: 0 (i.e. no stabilization is done).
- 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 Down
29 changes: 10 additions & 19 deletions keda/templates/manager/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,46 +48,37 @@ rules:
resourceNames: {{ toYaml . | nindent 4 }}
{{- end }}
{{- end }}

{{- if .Values.rbac.enabledCustomScaledRefKinds }}
{{- if not .Values.rbac.scaledRefKinds }}
{{- range .Values.rbac.scaledRefKinds }}
- apiGroups:
- '*'
- {{ .apiGroup | quote }}
resources:
- '*/scale'
- {{ printf "%s/scale" .kind | quote }}
verbs:
- get
- list
- patch
- update
- watch
{{- else }}
- apiGroups:
- apps
- {{ .apiGroup | quote }}
resources:
- deployments/scale
- statefulsets/scale
- {{ .kind | quote }}
verbs:
- get
- list
- patch
- update
- watch
{{- range .Values.rbac.scaledRefKinds }}
{{- end }}
{{- end }}
- apiGroups:
- {{ .apiGroup | quote }}
- apps
resources:
- {{ .kind | quote }}
- {{ printf "%s/scale" .kind | quote }}
- deployments/scale
- statefulsets/scale
verbs:
- get
- list
- patch
- update
- watch
{{- end }}
{{- end }}
{{- end }}
- apiGroups:
- apps
resources:
Expand Down
4 changes: 3 additions & 1 deletion keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,11 @@ rbac:
enabledCustomScaledRefKinds: true
# -- List of custom resources that support the `scale` subresource and can be referenced by `scaledobject.spec.scaleTargetRef`.
# The feature needs to be also enabled by `enabledCustomScaledRefKinds`.
# If left empty, RBAC for `apiGroups: *` and `resources: */scale` will be created
# If left empty, RBAC for `apiGroups: *` and `resources: *, */scale` will be created
# note: Deployments and StatefulSets are supported out of the box
scaledRefKinds:
- apiGroup: "*"
kind: "*"
# - apiGroup: argoproj.io
# kind: Rollout

Expand Down
Loading