Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson committed Nov 7, 2023
1 parent 8a408ee commit fc444ec
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 110 deletions.
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.12.1 2.12.1 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.12.0 2.12.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda-add-ons-http 0.6.0 0.6.0 Event-based autoscaler for HTTP workloads on Ku...
```

Expand Down
161 changes: 69 additions & 92 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file removed docs/keda-2.12.1.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.12.1
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.12.1
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
13 changes: 7 additions & 6 deletions keda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ their default values.
| `crds.install` | bool | `true` | Defines whether the KEDA CRDs have to be installed or not. |
| `env` | list | `[]` | Additional environment variables that will be passed onto all KEDA components |
| `extraObjects` | list | `[]` | Array of extra K8s manifests to deploy |
| `global.image.registry` | string | `nil` | Global image registry of KEDA components |
| `grpcTLSCertsSecret` | string | `""` | Set this if you are using an external scaler and want to communicate over TLS (recommended). This variable holds the name of the secret that will be mounted to the /grpccerts path on the Pod |
| `hashiCorpVaultTLS` | string | `""` | Set this if you are using HashiCorp Vault and want to communicate over TLS (recommended). This variable holds the name of the secret that will be mounted to the /vault path on the Pod |
| `http.keepAlive.enabled` | bool | `true` | Enable HTTP connection keep alive |
Expand Down Expand Up @@ -110,8 +111,8 @@ their default values.
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `extraArgs.keda` | object | `{}` | Additional KEDA Operator container arguments |
| `image.keda.registry` | string | `"ghcr.io"` | Image registry of KEDA operator |
| `image.keda.repository` | string | `"kedacore/keda"` | Image name of KEDA operator |
| `image.keda.registry` | string | `nil` | Image registry of KEDA operator |
| `image.keda.repository` | string | `"ghcr.io/kedacore/keda"` | Image name of KEDA operator |
| `image.keda.tag` | string | `""` | Image tag of KEDA operator. Optional, given app version of Helm chart is used by default |
| `logging.operator.format` | string | `"console"` | Logging format for KEDA Operator. allowed values: `json` or `console` |
| `logging.operator.level` | string | `"info"` | Logging level for KEDA Operator. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
Expand Down Expand Up @@ -139,8 +140,8 @@ their default values.
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `extraArgs.metricsAdapter` | object | `{}` | Additional Metrics Adapter container arguments |
| `image.metricsApiServer.registry` | string | `"ghcr.io"` | Image registry of KEDA Metrics API Server |
| `image.metricsApiServer.repository` | string | `"kedacore/keda-metrics-apiserver"` | Image name of KEDA Metrics API Server |
| `image.metricsApiServer.registry` | string | `nil` | Image registry of KEDA Metrics API Server |
| `image.metricsApiServer.repository` | string | `"ghcr.io/kedacore/keda-metrics-apiserver"` | Image name of KEDA Metrics API Server |
| `image.metricsApiServer.tag` | string | `""` | Image tag of KEDA Metrics API Server. Optional, given app version of Helm chart is used by default |
| `logging.metricServer.level` | int | `0` | Logging level for Metrics Server. allowed values: `0` for info, `4` for debug, or an integer value greater than 0, specified as string |
| `logging.metricServer.stderrthreshold` | string | `"ERROR"` | Logging stderrthreshold for Metrics Server allowed values: 'DEBUG','INFO','WARN','ERROR','ALERT','EMERG' |
Expand Down Expand Up @@ -249,8 +250,8 @@ their default values.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `image.webhooks.registry` | string | `"ghcr.io"` | Image registry of KEDA admission-webhooks |
| `image.webhooks.repository` | string | `"kedacore/keda-admission-webhooks"` | Image name of KEDA admission-webhooks |
| `image.webhooks.registry` | string | `nil` | Image registry of KEDA admission-webhooks |
| `image.webhooks.repository` | string | `"ghcr.io/kedacore/keda-admission-webhooks"` | Image name of KEDA admission-webhooks |
| `image.webhooks.tag` | string | `""` | Image tag of KEDA admission-webhooks . Optional, given app version of Helm chart is used by default |
| `logging.webhooks.format` | string | `"console"` | Logging format for KEDA Admission webhooks. allowed values: `json` or `console` |
| `logging.webhooks.level` | string | `"info"` | Logging level for KEDA Operator. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
Expand Down
7 changes: 6 additions & 1 deletion keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ spec:
{{- else }}
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
image: "{{ .Values.global.image.registry | default .Values.image.keda.registry }}/{{ .Values.image.keda.repository }}:{{ .Values.image.keda.tag | default .Chart.AppVersion }}"
{{- $registry := .Values.global.image.registry | default .Values.image.keda.registry | default "" }}
{{- if $registry }}
image: "{{ $registry }}/{{ .Values.image.keda.repository }}:{{ .Values.image.keda.tag | default .Chart.AppVersion }}"
{{- else }}
image: "{{ .Values.image.keda.repository }}:{{ .Values.image.keda.tag | default .Chart.AppVersion }}"
{{- end }}
command:
- "/keda"
args:
Expand Down
7 changes: 6 additions & 1 deletion keda/templates/metrics-server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ spec:
{{- else }}
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
image: "{{ .Values.global.image.registry | default .Values.image.metricsApiServer.registry }}/{{ .Values.image.metricsApiServer.repository }}:{{ .Values.image.metricsApiServer.tag | default .Chart.AppVersion }}"
{{- $registry := .Values.global.image.registry | default .Values.image.metricsApiServer.registry | default "" }}
{{- if $registry }}
image: "{{ $registry }}/{{ .Values.image.metricsApiServer.repository }}:{{ .Values.image.metricsApiServer.tag | default .Chart.AppVersion }}"
{{- else }}
image: "{{ .Values.image.metricsApiServer.repository }}:{{ .Values.image.metricsApiServer.tag | default .Chart.AppVersion }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
httpGet:
Expand Down
7 changes: 6 additions & 1 deletion keda/templates/webhooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ spec:
{{- else }}
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
image: "{{ .Values.global.image.registry | default .Values.image.webhooks.registry }}/{{ .Values.image.webhooks.repository }}:{{ .Values.image.webhooks.tag | default .Chart.AppVersion }}"
{{- $registry := .Values.global.image.registry | default .Values.image.webhooks.registry | default "" }}
{{- if $registry }}
image: "{{ $registry }}/{{ .Values.image.webhooks.repository }}:{{ .Values.image.webhooks.tag | default .Chart.AppVersion }}"
{{- else }}
image: "{{ .Values.image.webhooks.repository }}:{{ .Values.image.webhooks.tag | default .Chart.AppVersion }}"
{{- end }}
command:
- /keda-admission-webhooks
args:
Expand Down
12 changes: 6 additions & 6 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ global:
image:
keda:
# -- Image registry of KEDA operator
registry: ghcr.io
registry: null
# -- Image name of KEDA operator
repository: kedacore/keda
repository: ghcr.io/kedacore/keda
# -- Image tag of KEDA operator. Optional, given app version of Helm chart is used by default
tag: ""
metricsApiServer:
# -- Image registry of KEDA Metrics API Server
registry: ghcr.io
registry: null
# -- Image name of KEDA Metrics API Server
repository: kedacore/keda-metrics-apiserver
repository: ghcr.io/kedacore/keda-metrics-apiserver
# -- Image tag of KEDA Metrics API Server. Optional, given app version of Helm chart is used by default
tag: ""
webhooks:
# -- Image registry of KEDA admission-webhooks
registry: ghcr.io
registry: null
# -- Image name of KEDA admission-webhooks
repository: kedacore/keda-admission-webhooks
repository: ghcr.io/kedacore/keda-admission-webhooks
# -- Image tag of KEDA admission-webhooks . Optional, given app version of Helm chart is used by default
tag: ""
# -- Image pullPolicy for all KEDA components
Expand Down

0 comments on commit fc444ec

Please sign in to comment.