Compare commits

...

326 Commits
v2.2.1 ... main

Author SHA1 Message Date
Jan Wozniak fe19704416
release http-add-on v0.11.0 (#780)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-09-24 18:15:41 +02:00
Jan Wozniak e98a7734cb
http-add-on: migrate v1.Endpoints to discoveryv1.EndpointSlices (#779)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-09-22 17:42:55 +02:00
Bojan Zelic 6aa9877935
Allow Keda to request SA tokens (#728)
* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <bnzelic@gmail.com>

* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <bnzelic@gmail.com>

* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <bnzelic@gmail.com>

---------

Signed-off-by: Bojan Zelic <bnzelic@gmail.com>
2025-09-15 10:00:46 +02:00
Jan Wozniak a25ca18364
keda: DNS config consolidation (#773)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-08-17 10:49:38 +02:00
Nitin Verma 64bfebae54
feat(keda): Support for dnsConfig parameter (#772)
Signed-off-by: Nitin Verma <nitin.verma@cint.com>
2025-08-04 10:18:07 +02:00
mthemis-provenir 43cf8dbe0b
http-add-on: Add support for defining priorityClassName (#770)
Signed-off-by: Matt <mthemis@provenir.com>
2025-08-01 13:47:51 +02:00
Matthew Kevin Amadeus 027843ecc1
feat(metrics-server): add `dnsConfig` support (#771)
Signed-off-by: Matthew Kevin Amadeus <mkamadeus.mka@gmail.com>
2025-08-01 11:27:14 +02:00
Jirka Kremser 1b28b24f2d
Add a way to turn off the profiling for all three http add-on components (#763)
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
2025-08-01 11:10:53 +02:00
Jan Wozniak a3087c4624
ship v2.17.2 KEDA chart (#765)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-06-18 17:54:12 +02:00
Edik a7908a1885
Adding hostAliases to keda-operator deployment helm template (#752)
* Update deployment.yaml

Add hostAliases to deployment template

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update Chart.yaml

Upgrade Chart version

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update values.yaml

Add default value for hostAliases

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update README.md

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update README.md

Update chart version in README

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

* Update README.md

revert

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>

---------

Signed-off-by: Edik <87753717+EdikAndriasyan@users.noreply.github.com>
2025-05-20 08:54:27 +02:00
Jan Wozniak cd8a958e92
ship v2.17.1 KEDA chart (#755)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-05-15 17:19:04 +02:00
Jorge Turrado Ferrero 61b9fc22f6
Packaged new Helm chart version (#745)
Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>
Co-authored-by: Jorge Turrado <jorge.turrado@mail.schwarz>
2025-04-07 14:12:04 +02:00
Max Cao 8d922478ce
feat: support `BoundServiceAccountToken` triggerAuth provider (#701)
* Update CRDs for BoundServiceAccountToken triggerAuth source

Signed-off-by: Max Cao <macao@redhat.com>

* Add serviceAccountTokenCreationRoles helm chart array value

The array allows users to supply KEDA with the names and namespaces of service accounts that they would like the keda-operator to request tokens from. These service account tokens are then used in turn for the boundServiceAccountToken trigger source.

Signed-off-by: Max Cao <macao@redhat.com>

---------

Signed-off-by: Max Cao <macao@redhat.com>
2025-03-26 14:20:04 +01:00
Theis Ferré Hjortkjær 5fa7af8ba5
add pod annotations (#742)
Signed-off-by: Theis Ferré Hjortkjær <daetfh@egmont.com>
2025-03-09 18:45:25 +01:00
Zbynek Roubalik 7c4a10b288
http-add-on: add `app.kubernetes.io/name` label (#740)
* http-add-on: add `app.kubernetes.io/name` label

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

* fix: unify component label for interceptor services

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

---------

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2025-03-03 09:01:13 +01:00
dependabot[bot] 9fdd709e08
chore(deps): bump the all-updates group with 3 updates (#738)
Bumps the all-updates group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [Azure/setup-helm](https://github.com/azure/setup-helm) and [helm/kind-action](https://github.com/helm/kind-action).


Updates `actions/checkout` from 2 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

Updates `Azure/setup-helm` from 3 to 4
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v3...v4)

Updates `helm/kind-action` from 1.2.0 to 1.12.0
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.2.0...v1.12.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-updates
- dependency-name: Azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-updates
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 09:47:33 +01:00
Zbynek Roubalik 2292a9dd5b
chore: enable dependabot for GH actions (#736)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2025-02-22 08:06:29 +01:00
Jan Wozniak 61c460d581
release http-add-on v0.10.0 (#737)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-02-21 16:54:38 +01:00
Zbynek Roubalik 5eb596154b
chore: update actions and kubernetes versions in CI workflows (#735)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2025-02-21 12:25:23 +01:00
Zbynek Roubalik 5a84b2df4a
KEDA: sync CRDs with the core (#734)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2025-02-21 12:25:07 +01:00
Zbynek Roubalik d41f0af75c
HTTP Add-On: add `stackTracesEnabled` logging option (#732)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2025-02-19 17:18:50 +01:00
François Blondel ce04163bc4
fix: add forgotten crds.additionalAnnotations to crd-clustercloudeventsources.yaml (#709)
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
2025-02-06 10:59:42 +01:00
Gabi Davar 40926158e5
feat: support disabling docker legacy service links creation in keda containers (#725)
* Disable docker legacy service links

Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>

* switch default to true

Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>

---------

Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
2025-01-26 14:26:56 +01:00
Diogo Vilela 213d205ce6
Add webhook timeouts (#731)
Signed-off-by: be0x74a <be0x74a@gmail.com>
2025-01-24 20:51:01 +01:00
Gaston Festari 33070ca215
fix(rbac): add missing eventing.keda.sh permissions (#714)
Add r/w permissions for cloudeventsources and clustercloudeventsources
in the minimal-rbac ClusterRole template.

These are required to prevent a crashloop when shipping the operator
with the `watchNamespace` property.

Fixes #6084

Signed-off-by: Gaston Festari <cilindrox@gmail.com>
2025-01-23 00:17:12 +01:00
Gabi Davar 3e58b2affe
add keda default labels to cert-manager objects (#724)
Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
2025-01-08 13:31:54 +01:00
Jorge Turrado Ferrero f8fe1c28dc
Ship HTTP Add-on v0.9.0 (#721)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-12-26 18:38:08 +01:00
Jorge Turrado Ferrero c523cd1766
Prepare v2.16.1 (#719)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-12-24 20:41:02 +01:00
krishna sindhur 8d75dd0674
add: helm values for --enable-webhook-patching flag (#715)
* add: helm values for --enable-webhook-patching flag

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>

* add: helm values for --enable-webhook-patching flag

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>

---------

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>
2024-12-16 21:50:00 +00:00
Tete17 c445ec15dd
fix(cert-manager): Ensure there is at least one leaf certificate renewal when renewing the CA (#712)
* fix(cert-manager): Ensure there is at least one leaf certificate renewal when renewing the CA

The renewBefore value for the root ca was simply too low barely giving the leaf certificate any time
to renew itself. This leads to the root ca expiring before the leaf certificates expires.

By removing the renewBefore values we go back to the 2/3 default and as long as the leaf certificate
is only valid for half of the root it should be fine.

Signed-off-by: Miguel Sacristán Izcue <miguel_tete17@hotmail.com>

* set default `renewBefore` for CA to one third of duration

Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>

---------

Signed-off-by: Miguel Sacristán Izcue <miguel_tete17@hotmail.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-12-04 14:46:46 +01:00
Zhenghan Zhou 3ad2830549
Prepare v2.16 (#704)
Co-authored-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-11-07 10:52:57 +00:00
Zhenghan Zhou 5e0a8d5c95
Update cloudeventsource type list (#683)
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-11-07 08:18:08 +01:00
Or Shachar 8216f7e144
fix: metrics-server pod should define a command like other components (#694) 2024-11-07 08:17:31 +01:00
leo sanchez d57aae4fd3
Add appProtocol to services collecting metrics using mTLS (#688) 2024-11-07 08:16:17 +01:00
Zhenghan Zhou 73f6a7b598
Update status about triggers and authentications types (#700)
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-11-07 07:14:55 +00:00
Mikhail Zholobov d62619761f
fix: Replace wildcards in RBAC objects with explicit resources and verbs (#682)
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-11-07 08:13:35 +01:00
Nils Bergmüller 5dd510ed72
Reverting setting HPA namespace variable (#698)
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-11-07 08:13:04 +01:00
Jorge Turrado Ferrero c8b2b33660
chore: Bump k8s versions used for unit tests (#702)
* chore: Bump k8s versions used for unit tests

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* replace kube-prometheus-stack with prometheus-crds

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-11-07 07:51:50 +01:00
Jan Wozniak c0d3bd5d46
http-add-on: support portName on HTTPScaledObject (#697)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-10-25 10:29:52 +02:00
Jan Wozniak 86b12cb2ab
chore: prepare 2.15.2 release (#692)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-10-17 12:19:13 +02:00
Nils Bergmüller 86cd9b1c60
Adding RBAC namespace selection for metrics server (#674)
* Added required namespace variable and values file entry, updated docs

Signed-off-by: Nils <kurt.rotzke@gmail.com>

* Added required namespace variable and values file entry, updated docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

* Updated helm-docs

Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>

---------

Signed-off-by: Nils <kurt.rotzke@gmail.com>
Signed-off-by: Nils Bergmüller <kurt.rotzke@gmail.com>
2024-10-14 10:57:15 +02:00
Jan Wozniak 714d29f258
Add Secret GET to keda-operator minimal RBAC (#689)
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-09-23 16:49:51 +02:00
Noah Yoshida 53a1d02fed
add topology spread constraints to interceptor (#684)
Signed-off-by: Noah Yoshida <noahcy117@gmail.com>
2024-09-18 13:11:18 +02:00
Sean Liao a8d5aa3569
istio compatibility with appProtocol: https (#678)
Despite Istio docs stating that setting the name of the port to https
should result in the protocol being https (TLS not intercepted),
it doesn't appear to work for us, and only works by explicitly setting
appProtocol.

https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/#explicit-protocol-selection

Signed-off-by: Sean Liao <sean+git@liao.dev>
2024-09-09 09:24:08 +00:00
Jirka Kremser 3ab87fb3c8
Create rolebinding for .Release.Namespace implicitly (#643)
* Create rolebinding for .Release.Namespace implicitly

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>

* Operator should be able to list and watch secrets in the release ns (certs)

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>

---------

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
2024-09-02 23:49:40 +02:00
Aaron Batilo 2d8e903fb5
Add a pdb template for the http-add-on interceptor (#662)
There is no pod disruption budget on the http addon interceptors, which
means that during node rollover, there might not be any interceptors
available to add requests to its queue. Since the queues themselves are
in memory, that means that there would be dropped requests.

Closes #658

Signed-off-by: Aaron Batilo <AaronBatilo@gmail.com>
2024-09-02 23:42:43 +02:00
SpiritZhou ee13a9cee3
Introduce ClusterCloudEventSource (#644)
Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
2024-09-02 21:13:03 +00:00
SpiritZhou 12433cf661
Update cloudeventsource with scaledjob event type (#680)
Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
2024-08-19 22:52:18 +00:00
Jorge Turrado Ferrero 1c39d0a7b1
chore(keda): Remove outdated comment (#679)
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-08-19 08:00:13 +02:00
Jorge Turrado Ferrero 1373262f4a
chore: Prepare v2.15.1 (#676)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-08-12 12:48:25 +02:00
Jorge Turrado Ferrero 1b568092be
Prepare and ship v2.15 (#671)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-08-01 14:25:01 +02:00
Jorge Turrado Ferrero c71fb32951
Ship release v2.14.3 (#670)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-07-31 20:15:13 +02:00
zyue110026 cfc06340a0
respect service.type (#667)
Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com>
2024-07-31 15:34:11 +02:00
François Blondel 59bca22f77
fix: add forgotten crds.additionalAnnotations to crd-cloudeventsources.yaml (#668)
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
2024-07-31 15:32:34 +02:00
François Blondel 6e4d3620da
fix: broken "| default" logic for automountServiceAccountToken (#665)
When setting (.Values.serviceAccount.operator).automountServiceAccountToken to boolean false, the "| default" part kicks in.
Fix is strongly inspired from https://github.com/helm/helm/issues/12080#issuecomment-1555147255

Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
2024-07-31 15:31:59 +02:00
Jirka Kremser 5d6d5d1490
Add missing quotes for interceptor's TLS-related env vars (#663)
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
2024-07-16 14:34:13 +02:00
Semih Buyukgungor 8b3a8ec6e4
Correct default registry value in values.yaml (#660) 2024-07-10 14:42:57 +02:00
Zbynek Roubalik fcc7b2fb68
http-add-on: ability to specify number of operator replicas (#661)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2024-07-10 14:40:15 +02:00
Jirka Kremser 1286024d80
Comment out new option in helm values, because it breaks the old versions of keda (the cmd arg does not exist for them), this way the default value is still correctly applied for new keda version because they have the fallback implemented also in the golang code (#659)
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
2024-07-02 12:51:25 +02:00
Kamil Aliev 8a1ad4e6d2
chore: Update comments and suggested defaults (#651)
Signed-off-by: Kamil Aliev <kamilaliev@hotmail.com>
2024-06-27 10:17:59 +02:00
JoelDimbernat 3b04c40187
fix: labels on cloudeventsources CRD should be the same as other CRDs (#656)
Signed-off-by: Joel Dimbernat <joel.dimbernat@shipfix.com>
2024-06-25 21:39:55 +02:00
zorocloud 650d761875
feat: add interceptor TLS support to the add-on chart (#642)
Signed-off-by: Joe Wogan <joe.wogan@10xbanking.com>
2024-06-24 14:04:17 +02:00
Joel Smith 6aa60122e1
Allow CA dirs to be specified beyond /custom/ca/ (#650)
Signed-off-by: Joel Smith <joelsmith@redhat.com>
2024-06-19 11:24:09 +02:00
Jorge Turrado Ferrero 43b0f516e0
chore: Remove deprecated AAD-Pod-Identity and AWS-KIAM auths (#640) 2024-05-06 07:50:20 +02:00
Jorge Turrado Ferrero 407afacc1b
fix: ServiceAccount are correctly annotated (#636)
* fix: ServiceAccount are correctly annotated

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* Rebase main changes

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* update missing add-on version

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* revert some changes

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* revert some changes

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* revert some changes

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* repack the helm chart

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-05-03 16:04:53 +02:00
Jorge Turrado Ferrero f9f23e91d5
Ship HTTP add-on v0.8.0 (#637)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-05-02 08:27:44 +02:00
Jorge Turrado Ferrero 9ab704957e
Ship KEDA chart v2.14.1 (#632) 2024-04-29 07:23:39 +02:00
Jorge Turrado Ferrero b14ace626d
Release: KEDA v2.14.0 (#630)
* Packaged new Helm chart version

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix typo

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-04-25 15:37:09 +02:00
Jirka Kremser 207bab7e76
More secure rbac (#625)
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
Signed-off-by: Jirka Kremser <535866+jkremser@users.noreply.github.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-04-15 17:16:33 +02:00
Adarsh Verma 3fb8a8d740
correct the value for admission webhooks pod (#621)
Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
2024-04-05 15:51:28 +02:00
Jorge Turrado Ferrero ff8b240abd
fix(add-on): Allow upgrades removing version labels from selectors (#612)
* fix(add-on): Allow upgrades removing version labels from selectors

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* add note

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-04-05 09:18:44 +02:00
Jirka Kremser 31cc43fed3
feat: Add a way to customize the 'managed-by' label (#619)
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
2024-03-26 19:15:03 +01:00
Roee Hershko 8231b9e817
fix: add "none" as identity provider (#618)
* support "none" as identity provider

Signed-off-by: roee-hersh <113914991+roee-hersh@users.noreply.github.com>

* add in other places

Signed-off-by: roee-hersh <113914991+roee-hersh@users.noreply.github.com>

* Update crd-clustertriggerauthentications

Signed-off-by: roee-hersh <113914991+roee-hersh@users.noreply.github.com>

* Update crd-triggerauthentications.yaml

Signed-off-by: roee-hersh <113914991+roee-hersh@users.noreply.github.com>

---------

Signed-off-by: roee-hersh <113914991+roee-hersh@users.noreply.github.com>
2024-03-16 00:20:26 +01:00
Kunal Gupta 2e3b59d652
feat: support templated clusterName (#617)
Signed-off-by: Kunal Gupta <assaxor@gmail.com>
2024-03-10 20:14:49 +01:00
Leo 7cd175a9b9
Add extra sidecar containers config for Keda operator (#608)
Signed-off-by: Leo Petrazickis <lpetrazickis@upgrade.com>
2024-03-10 12:31:07 +01:00
Jorge Turrado Ferrero c77f8af26c
chore: Ship KEDA v2.13.2 helm chart (#614)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-02-29 17:49:33 +01:00
Jorge Turrado Ferrero 826224a28c
chore: Add missing comment to values.yaml (#611)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-02-25 19:50:10 +01:00
Quentin Bisson 62e6320978
Allow extra egress rules for the keda operator ciliumnetworkpolicy (#610)
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
2024-02-23 20:06:23 +01:00
Dmytro Kovalenko 4cf42b3ff7
feat(keda): Allow using own Cert-manager Issuer/ClusterIssuer for issuing KEDA TLS certificates (#530)
* feat(keda):  Allow providing own cert-manager issuer in TLS certificate

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* docs(keda): 📝 Generate Helm docs

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix(keda): 🐛 Inject CA from cert-manager Certificate when providing own Issuer

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* refactor(keda): ♻️ Refactor values format

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* revert(keda):  Revert unnecessary auto-formatting

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore: Improve the CI on PRs to be more efficient (#540)

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix(http-add-on): Refactor the chart for next version (#523)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* feat(add-on): Supporting streamInterval configuration (#541)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore(add-on): Ship Release 0.6.0 (#543)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore: update versions in README.md (#546)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* feat: update crd to allow vault secret to handle write operation (#548)

Signed-off-by: Loïs Postula <lois@postu.la>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix the svc name of webhook to avoid breaking istio (#551)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Show only logs with a severity level of ERROR or higher in the stderr (#506)

Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Support profiling for keda components (#549)

Signed-off-by: yuval weber <yuval199985@gmail.com>
Signed-off-by: unknown <yuval199985@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix TriggerAuthentication - added configuration for validation webhook (#553)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix: Declare missing port in KEDA operator (#552)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Allow image registry override for all keda components (#557)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* docs: Clarify that contributors do not have to ship Helm chart (#573)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* add  disable-compression arg for both operator and metrics-server (#554)

Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* feat: Introduce CloudEventSources CRD and adding ClusterName parameter (#572)

* Add CloudEventSources Crd and ClustetName Parameter

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update keda/values.yaml

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Fix

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Revert unnecessary update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

---------

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* store 2.12.1 package at `main` (#577)

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix: restore http-add-on chart 0.6.0 indexing (#579)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix(add-on): Use 'main' tag for KEDA installation during CI (#582)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* set securityContext for http-add-on chart (#561)

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix http-add-on operator resources (#567)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix http-add-on verbosity configuration (#568)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore: Adjust RBAC with code (#585)

* chore: Adjust RBAC with code

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix typo

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix: Don't recreate CA with 8 months until it expires (#586)

Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* feat(ClusterRole): Add RBAC rule to allow access to `LimitRange` (#588)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* remove not required insecureSkipTLSVerify (#564)

Signed-off-by: Frank Kloeker <f.kloeker@telekom.de>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Update templates/webhooks deployment (#590)

Align deployment for extraVolumes and extraVolumesMount for fix problem Error: YAML parse error on keda/templates/webhooks/deployment.yaml: error converting YAML to JSON: yaml: line 96: did not find expected key

Signed-off-by: ferndem <39851927+ferndem@users.noreply.github.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix Prometheus metrics handling for the operator. (#555)

The current state of the Helm chart is slightly confusing, because:
- There's no easy way to really disable prometheus metrics --
  `--enable-prometheus-metrics` defaults to true anthe current code
  either emits `--enable-prometheus-metrics=true` or nothing at all
  (making it `true` once again).
- The `http` container port is actually a `metrics` port (by convention
  from .e.g. webhook), but is present regardless of whether Prometheus
  metrics are enabled or not. To make it less confusing, this PR
  proposes renaming it.

Signed-off-by: Milan Plzik <milan.plzik@grafana.com>
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Fix Remove app.kubernetes.io/instance label in crd (#556)

Signed-off-by: choisungwook <kgg1959@naver.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Support crd-specific annotations (#584)

* support crd-specific annotations

Signed-off-by: Adam Walford <adamw@speechmatics.com>

* update readme

Signed-off-by: Adam Walford <adamw@speechmatics.com>

* update docs using helm-docs

Signed-off-by: Adam Walford <adamw@speechmatics.com>

---------

Signed-off-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Add ciliumnetworkpolicies (#558)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Add tlsConfig for ServiceMonitor (#591)

Co-authored-by: guicholeo <leo.sanchez@resideo.com>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* Release 2.13.0 (#593)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* fix: Ship v2.13.1 with missing RoleBinding (#595)

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore(add-on): Apply HTTP Add-on changes on Helm chart (#598)

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* chore(add-on): Release v0.7.0 (#599)

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

* refactor: Unify cert-manager annotations

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>

---------

Signed-off-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Loïs Postula <lois@postu.la>
Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
Signed-off-by: yuval weber <yuval199985@gmail.com>
Signed-off-by: unknown <yuval199985@gmail.com>
Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Frank Kloeker <f.kloeker@telekom.de>
Signed-off-by: ferndem <39851927+ferndem@users.noreply.github.com>
Signed-off-by: Milan Plzik <milan.plzik@grafana.com>
Signed-off-by: choisungwook <kgg1959@naver.com>
Signed-off-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: Dmytro Kovalenko <zerodayyy@zerodayyy.xyz>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Loïs Postula <lois@postu.la>
Co-authored-by: Roy Gao <137811914+congzhegao@users.noreply.github.com>
Co-authored-by: Adarsh Verma <113962919+Adarsh-verma-14@users.noreply.github.com>
Co-authored-by: yuval weber <yuval199985@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Radek Fojtik <68660951+radekfojtik@users.noreply.github.com>
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Co-authored-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
Co-authored-by: Frank Kloeker <eumel@arcor.de>
Co-authored-by: Andrew <35912177+aballman@users.noreply.github.com>
Co-authored-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
Co-authored-by: ferndem <39851927+ferndem@users.noreply.github.com>
Co-authored-by: Milan Plžík <4592597+mplzik@users.noreply.github.com>
Co-authored-by: choisungwook <sungwook0724@lguplus.co.kr>
Co-authored-by: Adam Walford <34867732+awalford16@users.noreply.github.com>
Co-authored-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: guicholeo <leo.sanchez@resideo.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
2024-01-30 23:20:31 +01:00
Ivan Santos 6493bd1702
feat: Add support for metricRelabelings to Pod and Service monitors (#603)
* Add support for metricRelabelings to Pod and Service monitors

Signed-off-by: Ivan Santos <301291+pragmaticivan@users.noreply.github.com>

* doc: update docs

Signed-off-by: Ivan Santos <301291+pragmaticivan@users.noreply.github.com>

---------

Signed-off-by: Ivan Santos <301291+pragmaticivan@users.noreply.github.com>
2024-01-29 14:42:11 +01:00
Ivan Santos 395ea88fe2
fix: pod monitor port name does not match deployment spec (#602)
Signed-off-by: Ivan Santos <301291+pragmaticivan@users.noreply.github.com>
2024-01-28 18:55:19 +01:00
Jorge Turrado Ferrero 783cf36e0a
chore(add-on): Release v0.7.0 (#599)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-01-22 12:13:26 +01:00
Jorge Turrado Ferrero 20e9ce7bf1
chore(add-on): Apply HTTP Add-on changes on Helm chart (#598) 2024-01-22 09:40:17 +01:00
Jorge Turrado Ferrero f561a3bfb6
fix: Ship v2.13.1 with missing RoleBinding (#595)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-01-19 13:55:41 +01:00
Jan Wozniak 0520e8f4e3
Release 2.13.0 (#593) 2024-01-19 12:40:37 +01:00
Jorge Turrado Ferrero ec0e32edfe
Add tlsConfig for ServiceMonitor (#591)
Co-authored-by: guicholeo <leo.sanchez@resideo.com>
2024-01-19 12:29:49 +01:00
Quentin Bisson 891ce788ab
Add ciliumnetworkpolicies (#558) 2024-01-19 11:01:20 +01:00
Adam Walford a095df182e
Support crd-specific annotations (#584)
* support crd-specific annotations

Signed-off-by: Adam Walford <adamw@speechmatics.com>

* update readme

Signed-off-by: Adam Walford <adamw@speechmatics.com>

* update docs using helm-docs

Signed-off-by: Adam Walford <adamw@speechmatics.com>

---------

Signed-off-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: Adam Walford <adamw@speechmatics.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2024-01-18 18:35:45 +01:00
choisungwook afd0c284e4
Fix Remove app.kubernetes.io/instance label in crd (#556)
Signed-off-by: choisungwook <kgg1959@naver.com>
2024-01-18 18:34:10 +01:00
Milan Plžík 4d9518bdc5
Fix Prometheus metrics handling for the operator. (#555)
The current state of the Helm chart is slightly confusing, because:
- There's no easy way to really disable prometheus metrics --
  `--enable-prometheus-metrics` defaults to true anthe current code
  either emits `--enable-prometheus-metrics=true` or nothing at all
  (making it `true` once again).
- The `http` container port is actually a `metrics` port (by convention
  from .e.g. webhook), but is present regardless of whether Prometheus
  metrics are enabled or not. To make it less confusing, this PR
  proposes renaming it.

Signed-off-by: Milan Plzik <milan.plzik@grafana.com>
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-01-18 18:29:51 +01:00
ferndem 4fcfd8f322
Update templates/webhooks deployment (#590)
Align deployment for extraVolumes and extraVolumesMount for fix problem Error: YAML parse error on keda/templates/webhooks/deployment.yaml: error converting YAML to JSON: yaml: line 96: did not find expected key

Signed-off-by: ferndem <39851927+ferndem@users.noreply.github.com>
2024-01-18 17:15:07 +01:00
Frank Kloeker 641f2b03f5
remove not required insecureSkipTLSVerify (#564)
Signed-off-by: Frank Kloeker <f.kloeker@telekom.de>
2024-01-17 22:03:40 +01:00
Bhargav Ravuri 7cf99c4ca4
feat(ClusterRole): Add RBAC rule to allow access to `LimitRange` (#588) 2024-01-17 09:32:22 +01:00
Jorge Turrado Ferrero c59e00799c
fix: Don't recreate CA with 8 months until it expires (#586)
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2024-01-08 21:09:26 +01:00
Jorge Turrado Ferrero 7e97aa4ac7
chore: Adjust RBAC with code (#585)
* chore: Adjust RBAC with code

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix typo

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2023-12-20 14:57:04 +01:00
Andrew 0a0a48cba9
Fix http-add-on verbosity configuration (#568) 2023-12-06 22:53:21 +01:00
Andrew aecdab9fc0
Fix http-add-on operator resources (#567) 2023-12-06 22:52:34 +01:00
Frank Kloeker aadafc6d8f
set securityContext for http-add-on chart (#561)
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-12-03 23:15:46 +01:00
Jorge Turrado Ferrero 41581b9ede
fix(add-on): Use 'main' tag for KEDA installation during CI (#582) 2023-12-03 23:13:21 +01:00
Jorge Turrado Ferrero d0e8116d10
fix: restore http-add-on chart 0.6.0 indexing (#579) 2023-11-30 10:43:41 +01:00
Zbynek Roubalik f70706bd6d
store 2.12.1 package at `main` (#577)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-11-28 09:54:25 +01:00
SpiritZhou 39d4d11439
feat: Introduce CloudEventSources CRD and adding ClusterName parameter (#572)
* Add CloudEventSources Crd and ClustetName Parameter

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update keda/values.yaml

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Fix

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

* Revert unnecessary update

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>

---------

Signed-off-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-11-28 07:02:23 +01:00
Adarsh Verma bb6c9af8da
add disable-compression arg for both operator and metrics-server (#554)
Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
2023-11-27 11:17:50 +01:00
Tom Kerkhove d3f4e98b3f
docs: Clarify that contributors do not have to ship Helm chart (#573) 2023-11-23 10:05:01 +01:00
Quentin Bisson 1931630189
Allow image registry override for all keda components (#557) 2023-11-18 20:15:26 +01:00
Jorge Turrado Ferrero 56f161ca0f
fix: Declare missing port in KEDA operator (#552) 2023-11-03 06:23:40 +01:00
Radek Fojtik d28727df6d
Fix TriggerAuthentication - added configuration for validation webhook (#553) 2023-11-03 06:23:30 +01:00
yuval weber e337366b0e
Support profiling for keda components (#549)
Signed-off-by: yuval weber <yuval199985@gmail.com>
Signed-off-by: unknown <yuval199985@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-11-02 12:15:51 +01:00
Adarsh Verma dd9c89051f
Show only logs with a severity level of ERROR or higher in the stderr (#506)
Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
2023-10-26 20:12:57 +02:00
Roy Gao f384d4f3e0
Fix the svc name of webhook to avoid breaking istio (#551) 2023-10-25 08:54:39 +02:00
Loïs Postula 9898036f39
feat: update crd to allow vault secret to handle write operation (#548)
Signed-off-by: Loïs Postula <lois@postu.la>
2023-10-13 13:34:25 +00:00
Jorge Turrado Ferrero a18b13c80f
chore: update versions in README.md (#546) 2023-10-05 17:48:36 +02:00
Jorge Turrado Ferrero d291fbf3b5
chore(add-on): Ship Release 0.6.0 (#543) 2023-10-05 17:30:17 +02:00
Jorge Turrado Ferrero a84fbefff1
feat(add-on): Supporting streamInterval configuration (#541) 2023-10-05 08:46:56 +02:00
Jorge Turrado Ferrero 269576300c
fix(http-add-on): Refactor the chart for next version (#523) 2023-10-04 12:37:48 +02:00
Jorge Turrado Ferrero 4bf3070cbc
chore: Improve the CI on PRs to be more efficient (#540)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-10-03 13:20:58 +02:00
Tom Kerkhove 3030dcc110
feat: Ship KEDA v2.12 Helm chart (#535)
* Update CRDs

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Auto-gen version

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update versions

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Installation notes

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Package chart

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

---------

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-09-28 23:03:49 +02:00
Tom Kerkhove ced6295ca8
feat: Support for enabling metrics in OpenTelemetry Collector (#534)
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: SpiritZhou <iammrzhouzhenghan@gmail.com>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-09-28 22:34:30 +02:00
Zbynek Roubalik 84973f6a19
feat: configurable K8s cluster domain for Cert Manager (#531) 2023-09-28 19:52:47 +02:00
Jorge Turrado Ferrero 9de026707f
fix: honor rbac.create on operator scoped roles (#533) 2023-09-28 15:08:29 +02:00
KangSheng 274c330fa5
update deployment with revision history limit (#528) 2023-09-26 08:35:30 +02:00
Guillaume Jacquet 991a61702a
Fix KEDA crashes when using cert-manager certificates and restricted secret access (#518)
* Fix KEDA crashes when using cert-manager certificates and restricted secret access

Allow KEDA operator to get, list and watch secrets in its own namespace
when restricted mode and certmanager are enabled.

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* revert version bump

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* extra conditions

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* fix )

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* extra conditions

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* fix role creation logic

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* Update keda/templates/manager/role.yaml

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* Update keda/templates/manager/rolebinding.yaml

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

* fixes

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>

---------

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2023-09-26 00:08:10 +02:00
Dao Thanh Tung 7a4ba4a77c
Allow user to set custom `livenessProbe` and `readinessProbe` (#519) 2023-09-19 21:19:22 +02:00
Jorge Turrado Ferrero 6d21ddd902
fix: explicitly set insecureSkipTLSVerify as disabled for upgrades (#520) 2023-09-13 13:27:31 +02:00
Jorge Turrado Ferrero 00a3e0cfce
chore: remove whitespaces (#522) 2023-09-12 11:59:32 +02:00
Jorge Turrado Ferrero a873dedc3b
chore: update k8s versions for testing the charts (#521) 2023-09-12 10:41:30 +02:00
Guilherme Oenning e08ac77e11
remove namespace from webhook (#515) 2023-09-03 19:58:39 +00:00
Jorge Turrado Ferrero 9aa7e3a203
fix(http-add-on): K8s 1.23 is supported as the documentation says (#512) 2023-08-25 15:24:39 +02:00
Tom Kerkhove 2b321e76db
chore: KEDA is a CNCF Graduated project (#510) 2023-08-23 13:42:46 +02:00
Jorge Turrado Ferrero 9fbc23667f
chore: Release KEDA Chart v2.11.2 (#502) 2023-07-27 14:07:59 +02:00
Alessandro Manno 7dcb143735
chore: Remove all non-editable keys from resources (#498)
Signed-off-by: alessandro <alessandro.manno@facile.it>
2023-07-18 09:19:34 +02:00
Jorge Turrado Ferrero 931532974f
fix(keda): Remove unnecesary condition for setting prometheus port in webhooks (#496) 2023-07-10 07:41:37 +02:00
Eamonn Mc 8b956d08c0
Removing MS-apiserver MS path (#494)
Signed-off-by: emctl <8000237+emctl@users.noreply.github.com>
2023-07-08 14:14:37 +02:00
Lukas M e6d88a406a
fix: fix hostNetwork for webhooks (#493) 2023-07-05 07:47:58 +02:00
Tom Kerkhove b1ae25bf26
chore: Repackage 2.11.1 (#491) 2023-06-29 16:49:01 +02:00
Tom Kerkhove 0f61fe1752
feat: Ship KEDA v2.11.1 Helm chart (#485) 2023-06-29 16:40:16 +02:00
Pedro Tôrres a11a7c190a
HTTP Add-On: new interceptor scaling configuration (#487) 2023-06-29 10:45:41 +02:00
Eamonn Mc 008b720420
Updating templates to remove blank annotations (#486) 2023-06-29 10:45:14 +02:00
Tom Kerkhove 56b0749fd7
fix(core): Add missing ASCII art (#484) 2023-06-23 15:30:41 +02:00
Tom Kerkhove ba332ac1ba
fix(core): Annotations are not handled correctly (#482) 2023-06-23 10:47:17 +02:00
Tom Kerkhove 6e9ca8f4bd
chore: Use subfolders for all templates (#483) 2023-06-23 10:38:08 +02:00
Zbynek Roubalik be56f55462
release 2.11.0 (#480)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-06-22 21:45:08 +02:00
Tom Kerkhove 9f5953bcef
chore: Add re-generation of Helm docs to release (#477) 2023-06-22 16:48:39 +02:00
Mathieu Cantin 36db5aa35f
feat: Allow to change port for Webhooks and add hostnetwork (#470)
Signed-off-by: Mathieu Cantin <103442330+mcantinqc@users.noreply.github.com>
2023-06-22 11:58:36 +02:00
Jorge Turrado Ferrero 39b2a7f3a3
fix(http-add-on): add missing changes for v0.5.0 (#474) 2023-06-22 10:43:21 +02:00
Jorge Turrado Ferrero 6d8d7bf768
fix(http-add-on): add missing changes in CRDs (#471) 2023-06-21 13:51:17 +02:00
Tom Kerkhove 2251672fa4
feat: Ship KEDA HTTP add-on v0.5.0 (#465) 2023-06-20 09:56:37 +02:00
Tom Kerkhove d8ec28e4ff
ci: Automatically deploy KEDA Core to Kubernetes v1.27 (#466) 2023-06-20 08:49:07 +02:00
Marco Kilchhofer eed599fc19
docs(keda): Fix some helm-docs issues (#464) 2023-06-20 07:40:51 +02:00
MShekow 57e2efc4d0
Repackage charts to fix Windows path sep (#463)
Signed-off-by: MShekow <s2mashek@uni-bonn.de>
2023-06-18 15:56:41 +02:00
Marco Kilchhofer 9884088789
docs(keda): Introduce helm-docs for documentation (#446) 2023-06-15 13:59:21 +02:00
Marco Kilchhofer 33209553e6
docs(http-add-on): Introduce helm-docs for documentation (#447) 2023-06-15 13:58:02 +02:00
Tom Kerkhove a0cab0b85e
chore: Improve deprecation for service monitor relabelings (#459) 2023-06-13 14:43:45 +02:00
Alexey Kubrinsky fff5493d65
Fix servicemonitor relabeling (#456)
Co-authored-by: Alexey Kubrinsky <akubrinsky@zetaglobal.com>
2023-06-08 14:14:54 +02:00
Marco Kilchhofer 84b6cfbb4a
docs(cosmos-db scaler): Introduce helm-docs for documentation (#448) 2023-06-08 14:02:23 +02:00
Jorge Turrado Ferrero 502980f426
Remove deprecated prometheus metrics from MS (#432)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-06-06 10:42:29 +02:00
Jocelyn Thode c5fad71e8a
fix(http-add-on): Fix resources variables for the http-add-on deploym… (#454) 2023-06-01 08:53:13 +00:00
Ganiev Shamil 9eca8ff905
remove honor label from manager service monitor (#449) 2023-05-31 13:30:25 +02:00
Zbynek Roubalik 1828e0c21a
chore: Amission webhooks won't be mandatory in v2.12 (#453)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-05-30 13:12:47 +02:00
Eric Sherman 933e4b0418
fix(keda): APIService port comes from service.portHttps (#452)
* apiservice port comes from service.portHttps

Signed-off-by: Eric Sherman <hyperbolist@gmail.com>

* Packaged new Helm chart version

Signed-off-by: Eric Sherman <hyperbolist@gmail.com>

* Revert "Packaged new Helm chart version"

Signed-off-by: Eric Sherman <hyperbolist@gmail.com>

* apiservice port comes from service.portHttps

Signed-off-by: Eric Sherman <hyperbolist@gmail.com>

---------

Signed-off-by: Eric Sherman <hyperbolist@gmail.com>
2023-05-27 23:20:25 +02:00
Florian Boulanger 77f2a2fec9
feat: Support extra kubernetes manifests (#395) 2023-05-26 19:28:20 +02:00
Zbynek Roubalik f789dae0d5
chore: remove comment about removing the option to disable webhooks (#451)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-05-19 12:09:33 +02:00
Chris Reiche 09509417cd
Add aggregateToDefaultRules to http add-on (#450) 2023-05-18 22:35:24 +02:00
Till Adam 8f4ee68bf1
aggregate rbac for crds to default roles (#257)
this change adds ClusterRoles to aggregate rbac for
clustertriggerauthentications, scaledjobs, scaledobjects and
triggerauthentications to the kubernetes default roles view, edit and
admin via aggregation.
These ClusterRoles are optional and disabled by default. Set
rbac.aggregateToDefaultRoles to enable.

fixes #256

Signed-off-by: Till Adam <lxmail@web.de>
2023-05-17 14:42:04 +02:00
Marco Kilchhofer 0c6ab99a3b
chore: Refactor templates into subfolders (#440) 2023-05-11 21:27:26 +02:00
Raghu f22ad671e8
added condition for gcp-workload-identity-setup (#433) 2023-05-02 09:56:58 +02:00
Jasper Maes 1a56c48c7a
Add honorLabels to keda operator and metricsserver ServiceMonitor (#435) 2023-05-02 00:02:26 +02:00
danielamar101 6fb43a1326
Add resource template to kube-rbac-proxy container in http-add-on helm chart (#431)
* Add resource template to kube-rbac-proxy container in operator-deployment template

Signed-off-by: Daniel Amar <daniel.amar@persado.com>

* Hardcode kube-rbac-proxy

Signed-off-by: Daniel Amar <daniel.amar@persado.com>

---------

Signed-off-by: Daniel Amar <daniel.amar@persado.com>
Co-authored-by: Daniel Amar <daniel.amar@persado.com>
2023-04-24 21:12:07 +02:00
Jorge Turrado Ferrero 58bfc12d70
chore: Release KEDA Chart v2.10.2 (KEDA v2.10.1) (#428) 2023-04-13 14:03:59 +02:00
Pedro Araújo eff0548fbf
Allow setting Certificate secretTemplate (#426)
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
2023-04-12 08:59:32 +02:00
Chris Johnson b3354653d4
Add resource limits and requests for the interceptor pod component (#421)
* Add resource limits and requests for the interceptor pod component

Signed-off-by: Chris Johnson <chrisjohnson00@hotmail.com>

* chore: pr feedback

Signed-off-by: Chris Johnson <chrisjohnson00@hotmail.com>

---------

Signed-off-by: Chris Johnson <chrisjohnson00@hotmail.com>
2023-03-30 08:45:11 +02:00
Chris Johnson 200268a6a2
ci: http add on workflow now installs appropriate kedacore/keda chart for 1.23 clusters (#423) 2023-03-29 08:09:51 +02:00
Iggy 18c193a0d3
fix: adj indent of extraVolumes & VolumeMounts in 14-keda-deployment (#419)
Co-authored-by: Iggy <iggyshu@github.com>
2023-03-22 17:40:08 +01:00
Tom Kerkhove 0f7c6f0fe3
fix: Use proper stage names (#417) 2023-03-21 15:55:20 +01:00
Tom Kerkhove 55c332b809
fix: Use proper stage names (#416) 2023-03-21 13:44:55 +01:00
Jorge Turrado Ferrero da34dd6faa
chore(keda): test KEDA chart in other namespaces with/without cert-manager (#414)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-03-20 16:34:10 +01:00
Jorge Turrado Ferrero 3d4139ca85
chore: enable `readOnlyRootFilesystem: true` for metrics server (#412) 2023-03-16 23:13:59 +01:00
Joe Bowbeer 1ca4b046e3
Fix extraVolumes and extraVolumeMounts indentation (#411)
Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com>
2023-03-16 22:46:04 +01:00
Luc Chmielowski 1882427f30
feat: Handle custom cluster-domain values (#399) 2023-03-16 22:45:53 +01:00
Tom Kerkhove ce16416bce
feat: Ship KEDA Core v2.10.1 and align Kubernetes expectations (#407) 2023-03-14 11:33:32 +01:00
Michi U 06ce12cf17
fix: add missing `POD_NAMESPACE` environment variable to deployments (#405
Signed-off-by: Michi U <4169888+michemache@users.noreply.github.com>
2023-03-13 12:13:18 +01:00
pari- 6f4b8f5ac5
fix(keda): Allow for podLabels override in the webhooks deployment (#404)
Signed-off-by: Patrick Ringl <patrick_@freenet.de>
2023-03-13 10:49:55 +01:00
Jorge Turrado Ferrero 8beedb62d7
chore: add minutes and seconds to cert-manager certificates (#402) 2023-03-10 08:13:26 +01:00
Jorge Turrado Ferrero 3d0b5ecd8a
chore: prepare v2.10 (#400) 2023-03-09 22:15:20 +01:00
Pedro Tôrres dd56fdec09
feat(http-addon): narrow permissions (#398) 2023-03-02 08:36:59 +01:00
Tom Kerkhove c14bae22b5
fix: Core Helm chart metadata is outdated (#390)
Follow-up for #386

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-02-14 15:38:22 +01:00
Jorge Turrado Ferrero 682330de0a
chore: add support for configuring KEDA_HTTP_MIN_TLS_VERSION (#388)
* chore: add support to KEDA_HTTP_MIN_TLS_VERSION

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* add minTlsVersion to readme

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-02-09 11:38:52 +01:00
Jorge Turrado Ferrero 6366883fac
chore(keda): Release v2.9.4 (#386)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-31 15:22:02 +01:00
Jorge Turrado Ferrero 092c7f4a9f
chore(keda): release 2.8.4 (#384)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-30 18:26:59 +01:00
Jorge Turrado Ferrero 160e6dec86
fix(http-add-on): update wrong references (#382) 2023-01-30 10:43:15 +01:00
Jorge Turrado Ferrero c18d9d50af
chore: ship http-add-on v0.4.1 (#381) 2023-01-29 20:38:55 +01:00
Jorge Turrado Ferrero 6672d92010
chore(http-add-on): support same k8s versions as KEDA (#378) 2023-01-29 20:38:18 +01:00
Aaron Batilo e40f513f7a
fix: Remove duplicate key in http-addon rbac (#379) 2023-01-29 18:22:06 +01:00
Jorge Turrado Ferrero cd005eea32
Release HTTP Add-on v0.4.0 (#377)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-27 16:05:29 +01:00
Jorge Turrado Ferrero b65806c729
chore: update chart with latest add-on changes (#376)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-01-27 15:06:54 +01:00
Jorge Turrado Ferrero d4507b26ea
feat: add cert-manager support for certificate rotation (#371) 2023-01-23 10:02:02 +01:00
Jorge Turrado Ferrero 6589a14ead
chore: add the version to release template (#374)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-19 19:00:15 +01:00
Jorge Turrado Ferrero c04e800fc2
Release KEDA v2.8.3 (#373)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-19 17:56:37 +01:00
Jorge Turrado Ferrero 41d70eedcc
Release KEDA Chart v2.9.3 (#370)
Fixes https://github.com/kedacore/charts/issues/369
2023-01-16 23:06:44 +01:00
Jorge Turrado Ferrero 54a283d9e3
fix: revert chart changes (#368) 2023-01-16 22:44:10 +01:00
Nuno Adrego 9f0f4d5ecc
Update version and appVersion (#367)
Signed-off-by: Nuno Adrego <nuno.adrego@talkdesk.com>

Signed-off-by: Nuno Adrego <nuno.adrego@talkdesk.com>
2023-01-16 22:22:51 +01:00
Zbynek Roubalik 6dfb0cd6ec
add 2.9.2 package to main (#366)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-01-16 19:51:31 +01:00
Jorge Turrado Ferrero b5e86761c4
fix KEDA CI checks (#362)
* fix KEDA CIK checks

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* Add missing variables

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* Add missing role

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-13 14:55:30 +01:00
Jorge Turrado Ferrero 32caf60643
feat: add support to validating webhooks (#352)
* feat: add support to validating webhooks

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* use static name for ValidatingWebhookConfiguration

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* update values and readme

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* apply feedback

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2023-01-13 13:15:31 +01:00
Tom Kerkhove 4fd2c4ca1f
chore(http-add-on): Use 3 replicas as minimum for interceptor (#358) 2023-01-09 13:22:45 +01:00
Tom Kerkhove 456cc6b60f
feat: Ship HTTP add-on v0.3.1 and require Kubernetes v1.21 or above (#356)
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2023-01-06 08:44:51 +01:00
RomanBats c3db80dadf
Fix additional annotation being rendered in the same line with a static annotation (#353) 2023-01-06 08:37:06 +01:00
Shaked Klein Orbach eaf7be2faf
Adds support for Prometheus ServiceMonitor & adds missing Prometheus scraping annotations (#355)
Fixes https://github.com/kedacore/charts/issues/339
Fixes https://github.com/kedacore/charts/issues/354
2023-01-05 09:30:26 +01:00
Jorge Turrado Ferrero 839a0be84c
chore: Release KEDA 2.9.1 (#350)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2022-12-16 17:40:43 +01:00
Dmytro Kovalenko 815894384d
fix(core): Ensure pod annotations are applied correctly (#346)
Fixes https://github.com/kedacore/charts/issues/345
2022-12-15 10:37:06 +01:00
Jorge Turrado Ferrero f950fd25ee
fix(keda): Remove unknown flag when enabling prometheus on the operator (#343)
Fixes https://github.com/kedacore/charts/issues/342
2022-12-11 19:32:16 +01:00
Tom Kerkhove 4670ffa272
chore: Ship KEDA v2.9 (#341) 2022-12-09 14:43:49 +01:00
ryanzhou ed2637ef80
Support disable keep http connection alive (#335) 2022-12-09 14:09:37 +01:00
kevinteng525 7ff777afeb
Restrict secret Access (#320)
Signed-off-by: kevin <tengkang@msn.com>
2022-12-08 15:50:33 +01:00
Tom Kerkhove bdd5dfcd11
chore(contributing): Deprecations & breaking changes policy introduction (#340) 2022-12-07 19:25:22 +01:00
Nicholas Blott 429d8d56ae
Feat: Add additional annotations templating (#334) 2022-12-05 16:03:20 +01:00
Zbynek Roubalik 20598aab28
add Service for Operator (#337) 2022-11-29 19:53:20 +01:00
Nicholas Blott 1edb5cd001
chore: Standardise to LF line endings (#332) 2022-11-24 07:43:47 +01:00
Jorge Turrado Ferrero 90ab653445
fix: Use correct PDB api (#331)
* add pdb to CI checks

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* use propoer pdb api version as required k8s version already supports policy/v1

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2022-11-24 06:57:15 +01:00
Vighnesh Shenoy f70e45e9a2
Add workload identity labels to keda pods (#328)
* Add workload identity labels to keda pods

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>

* Hardcode boolean

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>
2022-11-21 10:19:32 +01:00
Jorge Turrado Ferrero a276273fe6
fix: bump Azure/setup-helm to v3 for not using helm in alpha version (#327)
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2022-11-17 16:37:37 +01:00
Tom Kerkhove 08b77d31ad
docs: Provide link to allowed logs for logs.metricServer.level (#323)
Relates to https://github.com/kedacore/keda/discussions/3667

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2022-11-17 14:06:47 +01:00
schelv 2f87342f5b
default value is array instead of object (#322) 2022-10-12 17:49:09 +02:00
Steven Jenkins De Haro 0467687a38
Added support for AWS IRSA in helm chart (#319) 2022-10-03 07:43:39 +02:00
Benjamin Berman c7e04cd92c
fix: allow user to configure metrics API server port (#308)
Co-authored-by: Benjamin Berman <ben@hiddenswitch.com>
2022-09-29 07:49:59 +02:00
Jorge Turrado Ferrero 32b1770257
Remove unsuported K8s versions from HTTP-Add-on CI (#318) 2022-09-28 10:50:30 +02:00
Kostas Christidis 8f25d9f671
Fix compatibility with Traefik (#286) 2022-09-27 22:23:52 +02:00
Vighnesh Shenoy 4224b3884a
Remove unavailable helm flag. (#317) 2022-09-27 08:10:36 +02:00
Jorge Turrado Ferrero 1a575338df
chore(keda): update k8s min version according to our support policy (#315) 2022-09-14 07:44:20 +02:00
Jorge Turrado Ferrero e450a150f8
fix: Update release template to use correct commands (#314) 2022-09-02 14:02:58 +02:00
Jorge Turrado Ferrero d5a0fa73de
use KEDA v2.8.1 & ship v2.8.2 (#313)
* Packaged new Helm chart version

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* update readme

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2022-09-01 16:31:57 +02:00
Erik Nobel 877858238b
topology: add support for pod topology constraints to operator (#312) 2022-09-01 16:20:33 +02:00
Joe Bowbeer ddeb782ce7
feat: add seccompProfile (#307) 2022-08-23 09:19:14 +02:00
Tom Kerkhove 156469b7c0
chore(core): Remove support for Kubernetes v1.17, v1.18 & v1.19 (#309) 2022-08-22 16:06:27 +02:00
Joe Bowbeer ef349144b0
feat: add v1 PodDisruptionBudget (#305) 2022-08-12 21:34:20 +02:00
Tom Kerkhove b446c98b58
fix: Ensure Helm index YAML is valid YAML
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2022-08-12 14:46:04 +02:00
Tom Kerkhove b0eb796ae6
fix: Use CRDs from KEDA v2.8 & ship v2.8.1 (#302) 2022-08-12 13:55:39 +02:00
Tom Kerkhove e2553bfccb
feat: Ship KEDA v2.8 (#298) 2022-08-10 09:58:17 +02:00
kvandenhoute 2e5e2c9011
feat: Provide support for image pull secret in HTTP add-on (#296)
* Add imagepullsecrets to the deployments

Signed-off-by: kvandenhoute <kvandenhoute@sofico.be>

* Bump chart version + update README

Signed-off-by: kvandenhoute <kvandenhoute@sofico.be>

* Indent

Signed-off-by: kvandenhoute <kvandenhoute@sofico.be>

* Switch indent to nindent

Signed-off-by: kvandenhoute <kvandenhoute@sofico.be>

* Some more indents

Signed-off-by: kvandenhoute <kvandenhoute@sofico.be>

Co-authored-by: kvandenhoute <kvandenhoute@sofico.be>
2022-08-02 16:59:23 +02:00
Tom Kerkhove 9424538219
feat(core): Provide capability to control replica count of metric server (#295) 2022-08-02 14:07:32 +02:00
Zadkiel Aharonian b417846517
feat(keda): affinities for keda and metrics server (#294)
Signed-off-by: GitHub <noreply@github.com>
2022-07-28 15:56:39 +02:00
Zadkiel Aharonian 2589d62ce3
feat(keda): add deployment update strategy (#292) 2022-07-28 13:32:03 +02:00
Bruno Teixeira c26fcc1236
[KEDA] add relabelling support (#287) 2022-07-15 10:27:34 +02:00
Vighnesh Shenoy 44d7fbe35c
Make ClientId and TenantId optional when using Workload Identity. (#285)
Signed-off-by: Vighnesh Shenoy <vighneshq@gmail.com>
2022-07-09 14:30:35 +02:00
Christian Kuhn 0646721063
AutomountServiceAccountToken property implemented (#258) 2022-07-04 09:15:51 +02:00
Vighnesh Shenoy 9be0a560a2
Fix project name in READMEs. (#280)
Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>
2022-06-07 14:16:17 +02:00
Max Howell 19e3194861
Remove metrics server Prometheus scrape accotations if podMonitor is enabled (#279) 2022-05-25 13:13:06 +02:00
Zbynek Roubalik bcbe100351
ability to specify timestamps in KEDA operator logs (#278) 2022-05-24 20:40:23 +02:00
Junyoung Park 754c5ba13e
fix: Change sample scaledobject version to 2.7 (#276)
Signed-off-by: Swalloow <swalloow.me@gmail.com>
2022-05-18 13:30:56 +02:00
Jorge Turrado Ferrero 5727b38c6a
chore: Ship KEDA chart v2.7.2 (#275) 2022-05-12 13:40:38 +02:00
Jorge Turrado Ferrero 3a0501367c
fix: revert wrong changes in security context (#274) 2022-05-12 12:37:50 +02:00
Tom Kerkhove f6a3852756
ci: Run CI against Kubernetes v1.17 -> v1.24 (#273)
* ci: Run CI against Kubernetes v1.17 -> v1.24

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2022-05-11 13:47:19 +02:00
Jorge Turrado Ferrero 2a0b95e10f
feat: Ship KEDA v2.7.1 (#272)
Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
2022-05-10 16:36:46 +02:00
Zbynek Roubalik f5ff3fff5b
Don't hardcode UIDs in securityContext (#271) 2022-05-06 12:17:11 +02:00
Tom Kerkhove 8b32494f45
feat: Ship KEDA v2.7.0 (#269) 2022-05-05 09:44:56 +02:00
Jorge Turrado Ferrero 58409d79fc
feat: use safe securityContext as default (#267) 2022-04-29 09:41:12 +02:00
mac8005 8c0b6584d7
seperate PDB for Metrics API and operator (#255) 2022-04-27 11:18:10 +02:00
Tom Kerkhove 9b56a3b8dd
chore: Introduce Azure Workload Identity in CI matrix (#265) 2022-04-26 13:59:33 +02:00
Vighnesh Shenoy cc3a9041de
Fix errors in service account template. (#264) 2022-04-26 13:41:03 +02:00
Vighnesh Shenoy 9ceb455fda
feat: Provide support for Azure AD Workload Identity (#263)
* Helm support for Azure AD Workload Identity.

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>

* Incorporate PR reviews.

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>

* Fix missing space.

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>

* Fix indent.

Signed-off-by: Vighnesh Shenoy <vshenoy@microsoft.com>
2022-04-26 11:56:36 +02:00
Aaron Schlesinger 76523f7100
HTTP Addon: Adding interceptor deployment name to scaler config (#251) 2022-04-11 23:05:01 +02:00
Tom Kerkhove 06600ec469
feat: Provide node selector for KEDA Core (#250) 2022-02-15 17:23:11 +01:00
Tom Kerkhove 146503418c
chore: Specify supported Kubernetes versions (#249) 2022-02-11 15:16:16 +01:00
Zbynek Roubalik 07ab9d2783
Release Charts 2.6.2, which is KEDA v2.6.1 (#247)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2022-02-10 15:53:10 +01:00
Marco Davalos 5bbc4fe0b7
Add extra container args config for both keda operator and metric server (#245) 2022-02-07 14:20:46 +01:00
Tom Kerkhove 02d4688afe
chore: Ship KEDA chart v2.6.1 (#242)
* chore: Ship KEDA v2.6.1

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update contribution guide

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Repackage v2.6.1

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2022-02-01 13:42:49 +01:00
Brian Malinconico a0390587c4
Fix indentation of ServiceAccount annotations (#236) 2022-02-01 13:35:19 +01:00
AshutoshNirkhe 49ad5e321a
feat: Provide parameters per container for resources & security context (#239) 2022-02-01 10:51:18 +01:00
Jorge Turrado Ferrero 2884b014c0
Release KEDA v2.6.0 (#240)
* Update chart

Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>

* Packaged new Helm chart version

Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
2022-01-31 17:37:49 +01:00
Aaron Schlesinger 8b10dfe1ba
Chart: 0.3.0 | App: HTTP Addon releasing 0.3.0 (#237) 2022-01-27 07:51:29 +01:00
avinash31d ec15ceef1b
patch: added targetPendingRequests in spec of http-add-on (#231) 2022-01-25 09:25:52 +01:00
whitesource-bolt-for-github[bot] 0767106682
Configure WhiteSource Bolt for GitHub (#234)
Co-authored-by: whitesource-bolt-for-github[bot] <42819689+whitesource-bolt-for-github[bot]@users.noreply.github.com>
2022-01-25 08:57:37 +01:00
Tom Kerkhove 1ae5b23a6e
chore: Ship v0.2.1 chart for HTTP add-on (#228) 2022-01-14 07:39:31 +01:00
Tom Kerkhove f529059aa0
test: Automatically deploy charts to Kubernetes v1.23 (#227) 2022-01-11 09:29:07 +01:00
Aaron Schlesinger 55f7812f26
Adding WATCH_NAMESPACE option to the HTTP Addon operator (#225) 2022-01-11 08:56:45 +01:00
Tom Kerkhove 51b1c3443a
chore: List all used Kubernetes versions in matric (CI) (#224) 2022-01-07 15:39:28 +01:00
Tom Kerkhove b0adf2b199
fix: Re-package v2.5.1 that did not include #216 (#223) 2022-01-04 16:45:33 +01:00
Tom Kerkhove 492bfefedf
fix: Use correct name label for pod monitor for Metrics adapter (#166) (#221) 2021-12-20 09:18:42 +01:00
Tom Kerkhove 09488c58dd
Allow define number of replicas of KEDA (#219) 2021-12-20 09:03:19 +01:00
Tom Kerkhove a3ea2d79c2
chore: Package KEDA v2.5.1 (#218) 2021-12-20 08:59:47 +01:00
Tom Kerkhove d1ea02c79b
chore: Prepare for `master` to `main` migration (#217) 2021-12-20 08:56:35 +01:00
Tomas P 2a8b22697a
fix: add list and watch access for service accounts to cluster role (#216) 2021-12-20 08:43:12 +01:00
Tom Kerkhove b6de71f432
feat: Become verified publisher on Artifact Hub (#215)
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-12-17 11:58:10 +01:00
Morgan Christiansson f76beb2b6a
http-add-on: Add nodeSelector, tolerations and affinity (#212)
Signed-off-by: Morgan Christiansson <git@mog.se>
2021-12-14 17:26:55 +00:00
Giridhar23689 ac98f95e19
Add kube-rbac-proxy image to values.yaml images list (#210)
Signed-off-by: Giridhar Sripada giridharsripada@gmail.com
2021-12-14 11:45:36 +01:00
Tom Kerkhove cda9aeb8f7
test: Deploy Helm charts on N+5 different Kubernetes versions (#213) 2021-12-07 17:25:48 +01:00
Tom Kerkhove 6a0b2d1edd
chore: Use @kedacore/keda-helm-maintainers as code owner
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-12-07 14:53:40 +01:00
Jatin Sanghvi 1e61c5a591
Update GitHub repository URL for Cosmos DB external scaler (#204) 2021-12-03 07:47:58 +01:00
Tom Kerkhove faf817f8f8
docs: Provide guidance on milestones & release notes for shipping newer version (#211) 2021-12-01 11:54:38 +01:00
Jorge Turrado Ferrero 16bec13756
Add myself to chart maintaners and small nits in release process (#206)
Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
2021-11-25 20:28:47 +01:00
Jorge Turrado Ferrero b99d3c7514
Prepare 2.5.0 release (#205)
Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
2021-11-25 19:22:48 +01:00
Jatin Sanghvi e7f3829757
feat: Introduce Helm chart for Azure Cosmos DB external scaler (#203)
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-11-24 09:32:35 +01:00
Aaron Schlesinger 3885a1c976
Using immutable version of the HTTP Addon (#202) 2021-11-19 08:05:32 +01:00
Tom Kerkhove 9372712c8c
docs: Centralize maintainer overview (#199) 2021-11-19 08:04:49 +01:00
Aaron Schlesinger 7d7ed7050f
Updating the interceptor's default total wait timeout (#197)
this is a follow-on to https://github.com/kedacore/http-add-on/issues/316

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-11-16 07:56:45 +01:00
Aaron Schlesinger 3e2953b396
adding operator namespace env var (#193)
* adding operator namespace env var

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* updating chart

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-11-10 11:16:11 -08:00
Aaron Schlesinger b13d865c7e
Adding release instructions for the HTTP Addon (#194)
* adding release instructions for the HTTP Addon

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* Updates based on @tomkerkhove's suggestions

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding list numbers

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-11-10 19:55:10 +01:00
Aaron Schlesinger f9e25e6549
feat: multi-tenant scaler and interceptor in the HTTP add-on (#169)
* multi-tenant scaler and interceptor in the HTTP add-on

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* configuring the operator with the admin port and exposing the container port appropriately

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding the various services

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding more required runtime configs

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* quoting the port number

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding named container ports to the interceptor

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* using proper selectors and named ports

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* fixing service and port env vars

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* updating the CRD

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* proper interceptor scaler service

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding configs to operator

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding container ports to scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* targeting the right scaler deployment port

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding scaledobject for interceptor

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* finishing comment in interceptor ScaledObject

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding polling interval to interceptor scaled object

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing unnecessary configuration parameters

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding configuration for deployment polling

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding config params for the interceptor's proxy

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* respecting crds.install config

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding routing table config map

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding a default pending requests for the scaler

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* matching deployment cache polling interval to the default

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* removing commented env vars

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* removing placeholder data

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* Small restructuring of values.yaml per @tomkerkhove

Also adding lots of comments to it

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* quoting a config integer

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding routing table config map (empty) data

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding config values to the HTTP Addon README

Signed-off-by: Aaron <aaron@ecomaz.net>

* bumping the release numbers

Signed-off-by: Aaron <aaron@ecomaz.net>

* packaging new release

Signed-off-by: Aaron <aaron@ecomaz.net>

* fixing lint error

Signed-off-by: Aaron <aaron@ecomaz.net>
2021-11-09 11:02:52 -08:00
Xiayang Wu 51bb585bb6
use .Values.serviceAccount.name for rolebinding (#190)
Signed-off-by: Xiayang Wu <xwu@rippling.com>
2021-10-30 09:26:46 +02:00
Nicolas Lamirault efb9154bb9
Support for custom labels (#179)
* Add: support for custom labels

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Update: documentation

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Update: refactoring additionalLabels for Keda HTTP addon

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Fix: documentation

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Update: bump charts versions

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Revert "Update: bump charts versions"

This reverts commit 612de2164e.

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Fix: typo

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Fix: use keda-addons-http.labels

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Update: move app.kubernetes.io/part-of into helpers

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Fix: typo

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Update: specific name label

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* Fix: documentation

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2021-09-29 16:10:43 +02:00
Zbynek Roubalik 5240621785
Reflect changes with migration to Kubebuilder v3 (#184)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-09-13 08:32:43 +02:00
David de Torres 14277baec6
Fix typo in values.yaml (#185)
Signed-off-by: David de Torres <maellyssa@gmail.com>
Signed-off-by: daviddetorres <maellyssa@gmail.com>
2021-09-03 12:35:11 +02:00
Jorge Turrado Ferrero 26e8f5676d
Add resource requests/limits for KEDA deployment (#183) 2021-09-03 08:36:28 +02:00
Jorge Turrado Ferrero 93e2fdc563
Add support to set `KEDA_HTTP_DEFAULT_TIMEOUT` in metrics server (#181)
Signed-off-by: jorturfer <jorge_turrado@hotmail.es>
2021-08-30 17:19:48 +02:00
Tom Kerkhove 756706bea4
chore: KEDA was accepted as CNCF Incubation project (#178)
* chore: KEDA was accepted as CNCF Incubation project

KEDA was accepted as CNCF Incubation project as per https://github.com/cncf/toc/pull/622

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* chore: KEDA was accepted as CNCF Incubation project

KEDA was accepted as CNCF Incubation project as per https://github.com/cncf/toc/pull/622

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* chore: KEDA was accepted as CNCF Incubation project

KEDA was accepted as CNCF Incubation project as per https://github.com/cncf/toc/pull/622

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-08-18 21:24:49 +02:00
Tom Kerkhove fbc5b6686d
feat: Ship KEDA v2.4.0 (#175)
* feat: Ship KEDA v2.4.0

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Cleanup

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove temp file

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Merge

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-08-06 10:54:36 +02:00
Sandes de Silva d3b72752ab
fix(metrics-service): expose metrics port when metrics are enabled (#174)
* fix(metrics-service): expose metrics port when metrics are enabled

Signed-off-by: Sandes de Silva <sandes.de.silva@roadmunk.com>

* refactor(metrics-service): remove references to operator metric name since it is not implemented

Signed-off-by: Sandes de Silva <sandes.de.silva@roadmunk.com>

Co-authored-by: Sandes de Silva <sandes.de.silva@roadmunk.com>
2021-08-06 10:40:33 +02:00
Tom Kerkhove 603c50e1e5
Change cluster role binding name for metrics adapter (#84)
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-15 12:08:56 +02:00
ygelfand 4448a303ac
feat: Provide capability to configure dns policy (#170)
* w/ useHostNetwork, use dnsPolicy:ClusterFirstWithHostNet to allow references services by local name

Signed-off-by: ygelfand <yuri.gelfand@inboxhealth.com>

* split off dnsPolicy to separate param

Signed-off-by: ygelfand <yuri.gelfand@inboxhealth.com>

* add dnspolicy to readme

Signed-off-by: ygelfand <yuri.gelfand@inboxhealth.com>

* Improve phrasing

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Fix typo

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

Co-authored-by: ygelfand <yuri.gelfand@inboxhealth.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-08 16:46:12 +02:00
Aaron Schlesinger 1ed7e700f6
Adding new HTTP Addon chart version 0.1.0 (#163)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 08:24:42 +02:00
Tom Kerkhove b2b469c22a
chore: Get all cluster trigger authentication resources in CI (#165)
Signed-off-by: GitHub <noreply@github.com>
2021-06-07 09:33:14 +02:00
Shubham 21e11f09fc
Update CRDs: TriggerAuthentication and ClusterTriggerAuthentication (#164)
Signed-off-by: Shubham Kuchhal <shubham.kuchhal@india.nec.com>
2021-06-05 07:55:38 +02:00
Tom Kerkhove 6176074c3a
Repackage Helm chart v2.3.2 (#161)
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-06-01 07:18:00 +02:00
Oded David 3a2cc66e3b
Fix typo: Change prometheusRule --> PrometheusRule for Kind (#160)
Signed-off-by: Oded David <oded@coralogix.com>
2021-06-01 07:05:19 +02:00
Tom Kerkhove 9661d05e6c
fix: Add Helm labels to prove ownership of CRDs (#159)
* fix: Add Helm labels to prove ownership of CRDs

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Ship new version

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-05-31 17:43:00 +02:00
Oded David 57e68fccbe
Add PrometheusRules support for keda operator (#157)
Signed-off-by: Oded David <oded@coralogix.com>
2021-05-31 14:13:18 +02:00
Zbynek Roubalik 19fbab85c6
release 2.3.0 (#154)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-05-27 14:25:57 +02:00
Lucas Santos e04fd02489
Default image tag and remove 'v' prefix (#151)
* Default image tag and remove 'v' prefix

Removes the 'v' prefix from images and defaults the image tag to latest or the chart version

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Update readme

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Minor fixes

- Uses empty as tag default value to fall back to .Chart.AppVersion
- Fix docs to reflect above
- Fix templates to look both for values.images.tag as well as AppVersion in labels

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>
2021-05-26 08:15:08 +02:00
Aaron Schlesinger 93e6366d74
HTTP Addon: Adding CRD fields for target metric configuration (#153)
This requires https://github.com/kedacore/http-add-on/pull/168

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-26 07:58:34 +02:00
Tom Kerkhove 914c60da8d
Packaged new Helm chart version for KEDA HTTP add-on (#149)
Signed-off-by: GitHub <noreply@github.com>
2021-05-17 11:26:52 +02:00
Jens De Temmerman 49df18bb65
Corrected HTTP timeout env var (#147)
Signed-off-by: Jens De Temmerman <jens.dt@gmail.com>
2021-05-17 08:09:38 +02:00
Tom Kerkhove 9c7ee0b6f1
Improve CI for KEDA & KEDA HTTP (#148)
* Improve CI for KEDA & KEDA HTTP

Signed-off-by: GitHub <noreply@github.com>

* Add trigger for self

Signed-off-by: GitHub <noreply@github.com>

* Fix CRD verification

Signed-off-by: GitHub <noreply@github.com>
2021-05-12 12:01:13 +02:00
Lucas Santos 78860400f4
Add keda http add-on operator charts (#137) 2021-05-12 07:26:28 +02:00
t3mi 1b12a4856f
helm: add extra volumes and volume mounts configuration (#146)
* Enabled extravolumes for both Keda and Metrics server deployment

Signed-off-by: Hans Kristian Nordengen <hans.kristian.nordengen@gmail.com>

* Packaged new Helm chart version

Signed-off-by: t3mi <t3mi@users.noreply.github.com>

Co-authored-by: Hans Kristian Nordengen <hans.kristian.nordengen@gmail.com>
2021-04-27 07:21:08 +02:00
Bryan 884ff589eb
Expose log format setting via values (#145) 2021-04-21 10:25:32 +02:00
inglemr94 4f250440c9
feat: added ability to enable host network for keda metrics server (#143)
Co-authored-by: Matthew Ingle <matthew.ingle@zuora.com>
2021-04-20 15:19:36 +02:00
178 changed files with 18224 additions and 8065 deletions

2
.github/CODEOWNERS vendored
View File

@ -1,2 +1,2 @@
# General owners
* @jeffhollan @ahmelsayed @tomkerkhove @zroubalik
* @kedacore/keda-helm-maintainers

View File

@ -1,15 +1,16 @@
<!-- Thank you for contributing!
Read more about how you can contribute in our contribution guide:
https://github.com/kedacore/charts/blob/master/CONTRIBUTING.md
https://github.com/kedacore/charts/blob/main/CONTRIBUTING.md
-->
_Provide a description of what has been changed_
### Checklist
- [ ] Commits are signed with Developer Certificate of Origin (DCO - [learn more](https://github.com/kedacore/charts/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-signing-your-work))
- [ ] I have verified that my change is according to the [deprecations & breaking changes policy](https://github.com/kedacore/governance/blob/main/DEPRECATIONS.md)
- [ ] Commits are signed with Developer Certificate of Origin (DCO - [learn more](https://github.com/kedacore/charts/blob/main/CONTRIBUTING.md#developer-certificate-of-origin-signing-your-work))
- [ ] README is updated with new configuration values *(if applicable)* [learn more](https://github.com/kedacore/charts/blob/main/CONTRIBUTING.md#documentation)
- [ ] A PR is opened to update KEDA core ([repo](https://github.com/kedacore/keda)) *(if applicable, ie. when deployment manifests are modified)*
- [ ] README is updated with new configuration values *(if applicable)*
Fixes #

14
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 10
labels:
- enhancement
- dependency-management
groups:
all-updates:
patterns:
- "*"

243
.github/workflows/ci-core.yml vendored Normal file
View File

@ -0,0 +1,243 @@
name: Helm Chart CI (Core)
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
paths:
- '.github/workflows/ci-core.yml'
- 'keda/**'
pull_request:
branches:
- main
- release/*
paths:
- '.github/workflows/ci-core.yml'
- 'keda/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint-helm-3-x:
name: Lint Helm Chart
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Helm install
uses: Azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
- name: Lint 'KEDA' Helm chart
run: helm lint keda
deploy-helm-3-x:
name: Deploy to Kubernetes ${{ matrix.kubernetesVersion }} in '${{matrix.namespace}}' namespace (${{ (matrix.enableAzureWorkloadIdentity == true && 'With Azure Workload Identity') || 'Without Azure Workload Identity' }} | ${{ (matrix.enableCertManager == true && 'With cert-manager') || 'Without cert-manager' }})
needs: lint-helm-3-x
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
enableAzureWorkloadIdentity: [false, true]
kubernetesVersion: [v1.32, v1.31, v1.30, v1.23]
namespace: ["keda", "not-keda"]
enableCertManager: [false, true]
include:
# Azure Workload Identity
- enableAzureWorkloadIdentity: true
tenantId: contoso
clientId: ABC
- enableAzureWorkloadIdentity: false
tenantId: ""
clientId: ""
# Images are defined on every Kind release
# See https://github.com/kubernetes-sigs/kind/releases
- kubernetesVersion: v1.32
kindImage: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027
- kubernetesVersion: v1.31
kindImage: kindest/node:v1.31.4@sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30
- kubernetesVersion: v1.30
kindImage: kindest/node:v1.30.8@sha256:17cd608b3971338d9180b00776cb766c50d0a0b6b904ab4ff52fd3fc5c6369bf
- kubernetesVersion: v1.23
kindImage: kindest/node:v1.23.17@sha256:59c989ff8a517a93127d4a536e7014d28e235fb3529d9fba91b3951d461edfdb
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Helm install
uses: Azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
- name: Create k8s ${{ matrix.kubernetesVersion }} Kind Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
node_image: ${{ matrix.kindImage }}
- name: Show Kubernetes version
run: |
kubectl version
- name: Show Kubernetes nodes
run: |
kubectl get nodes -o wide
- name: Show Helm version
run: |
helm version
- name: Generate values
run: |
cat <<EOF > test-values.yaml
image:
keda:
tag: main
metricsApiServer:
tag: main
webhooks:
tag: main
podIdentity:
azureWorkload:
enabled: ${{ matrix.enableAzureWorkloadIdentity }}
tenantId: ${{ matrix.tenantId }}
clientId: ${{ matrix.clientId }}
podDisruptionBudget:
operator:
maxUnavailable: 1
metricServer:
maxUnavailable: 1
webhooks:
maxUnavailable: 1
prometheus:
operator:
enabled: true
podMonitor:
enabled: true
serviceMonitor:
enabled: true
relabelings:
- regex: (go_.*)
action: drop
webhooks:
enabled: true
serviceMonitor:
enabled: true
relabelings:
- regex: (go_.*)
action: drop
metricServer:
enabled: true
serviceMonitor:
enabled: true
relabelings:
- regex: (go_.*)
action: drop
webhooks:
failurePolicy: Fail
certificates:
autoGenerated: true
certManager:
enabled: ${{ matrix.enableCertManager }}
generateCA: true
extraInitContainers:
- name: hello-once
args:
- -c
- "echo 'Hello World!'"
command:
- /bin/sh
image: 'busybox:glibc'
extraContainers:
- name: hello-many
args:
- -c
- "while true; do echo hi; sleep 300; done"
command:
- /bin/sh
image: 'busybox:glibc'
extraObjects:
- apiVersion: keda.sh/v1alpha1
kind: ClusterTriggerAuthentication
metadata:
name: aws-credentials
namespace: keda
annotations:
helm.sh/hook: post-install
spec:
podIdentity:
provider: aws-eks
additionalAnnotations:
sample: "annotation"
service:
additionalAnnotations:
hello: "cloud-native world"
EOF
- name: Install deps
run: |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install prometheus-stack prometheus-community/prometheus-operator-crds --namespace monitoring --create-namespace --wait
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
- name: Create KEDA's namespace (${{ matrix.namespace }})
run: kubectl create ns ${{ matrix.namespace }}
- name: Template Helm chart
run: helm template keda ./keda/ --namespace ${{ matrix.namespace }} --values test-values.yaml
- name: Install Helm chart
run: helm install keda ./keda/ --namespace ${{ matrix.namespace }} --values test-values.yaml --wait
- name: Show Kubernetes resources (KEDA)
run: kubectl get all --namespace ${{ matrix.namespace }}
if: always()
- name: Show Kubernetes resources (Monitoring)
run: kubectl get all --namespace monitoring
if: always()
- name: Get all CRDs
run: kubectl get crds -o wide
- name: Verify clustertriggerauthentications.keda.sh CRD is installed
run: kubectl get crd/clustertriggerauthentications.keda.sh -o wide
- name: Verify triggerauthentications.keda.sh CRD is installed
run: kubectl get crd/triggerauthentications.keda.sh -o wide
- name: Verify scaledjobs.keda.sh CRD is installed
run: kubectl get crd/scaledjobs.keda.sh -o wide
- name: Verify scaledobjects.keda.sh CRD is installed
run: kubectl get crd/scaledobjects.keda.sh -o wide
- name: Verify cloudeventsources.eventing.keda.sh CRD is installed
run: kubectl get crd/cloudeventsources.eventing.keda.sh -o wide
- name: Verify clustercloudeventsources.eventing.keda.sh CRD is installed
run: kubectl get crd/clustercloudeventsources.eventing.keda.sh -o wide
- name: Get all ScaledObjects
run: kubectl get scaledobjects -o wide
- name: Get all ScaledJobs
run: kubectl get scaledjobs -o wide
- name: Get all TriggerAuthentication
run: kubectl get triggerauth -o wide
- name: Get all ClusterTriggerAuthentication
run: kubectl get clustertriggerauth -o wide
- name: Get all CloudEventSource
run: kubectl get cloudeventsource -o wide
- name: Deploy Nginx with autoscaling
run: kubectl apply -f ./samples/nginx-scaledobject.yml
- name: Get our Nginx ScaledObject
run: kubectl get scaledobjects/nginx-autoscaling -o wide
if: always()

View File

@ -0,0 +1,95 @@
name: Helm Chart CI (External Scalers - Azure Cosmos DB)
on:
push:
branches:
- main
paths:
- .github/workflows/ci-external-scaler-azure-cosmos-db.yml
- external-scaler-azure-cosmos-db/**
pull_request:
branches:
- main
paths:
- .github/workflows/ci-external-scaler-azure-cosmos-db.yml
- external-scaler-azure-cosmos-db/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint-helm-3-x:
name: Lint Helm Chart
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Helm install
uses: Azure/setup-helm@v4
- name: Lint 'Azure Cosmos DB external scaler' Helm chart
run: helm lint ./external-scaler-azure-cosmos-db/ --strict
deploy-helm-3-x:
name: Deploy to Kubernetes ${{ matrix.kubernetesVersion }}
needs: lint-helm-3-x
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kubernetesVersion: [v1.24, v1.19]
include:
# Images are defined on every Kind release
# See https://github.com/kubernetes-sigs/kind/releases
- kubernetesVersion: v1.24
kindImage: kindest/node:v1.24.0@sha256:406fd86d48eaf4c04c7280cd1d2ca1d61e7d0d61ddef0125cb097bc7b82ed6a1
- kubernetesVersion: v1.19
kindImage: kindest/node:v1.19.16@sha256:dec41184d10deca01a08ea548197b77dc99eeacb56ff3e371af3193c86ca99f4
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Helm install
uses: Azure/setup-helm@v4
- name: Create k8s ${{ matrix.kubernetesVersion }} Kind Cluster
uses: helm/kind-action@v1.12.0
with:
version: v0.13.0
node_image: ${{ matrix.kindImage }}
- name: Show Kubernetes version
run: |
kubectl version
- name: Show Kubernetes nodes
run: |
kubectl get nodes -o wide
- name: Show Helm version
run: |
helm version
- name: Create KEDA namespace
run: kubectl create ns keda
- name: Template Helm chart
run: helm template test-release ./external-scaler-azure-cosmos-db/ --namespace test-namespace
- name: Install Helm chart
run: helm install test-release ./external-scaler-azure-cosmos-db/ --namespace test-namespace --create-namespace --wait --timeout=2m
- name: Show Kubernetes resources
run: kubectl get all --namespace keda
if: always()
- name: Get 'Azure Cosmos DB external scaler' service
run: kubectl get service external-scaler-azure-cosmos-db --namespace=test-namespace
- name: Get 'Azure Cosmos DB external scaler' deployment
run: kubectl get deployment external-scaler-azure-cosmos-db --namespace=test-namespace
- name: Uninstall 'Azure Cosmos DB external scaler' Helm chart
run: helm uninstall test-release --namespace test-namespace

141
.github/workflows/ci-http-add-on.yml vendored Normal file
View File

@ -0,0 +1,141 @@
name: Helm Chart CI (HTTP add-on)
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
paths:
- ".github/workflows/ci-http-add-on.yml"
- "http-add-on/**"
pull_request:
branches:
- main
paths:
- ".github/workflows/ci-http-add-on.yml"
- "http-add-on/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint-helm-3-x:
name: Lint Helm Chart
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Helm install
uses: Azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
- name: Lint 'http-add-on' Helm chart
run: helm lint http-add-on
deploy-helm-3-x:
name: Deploy to Kubernetes ${{ matrix.kubernetesVersion }}
needs: lint-helm-3-x
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kubernetesVersion: [v1.32, v1.31, v1.30, v1.29]
include:
- kubernetesVersion: v1.32
kindImage: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027
- kubernetesVersion: v1.31
kindImage: kindest/node:v1.31.4@sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30
- kubernetesVersion: v1.30
kindImage: kindest/node:v1.30.8@sha256:17cd608b3971338d9180b00776cb766c50d0a0b6b904ab4ff52fd3fc5c6369bf
- kubernetesVersion: v1.29
kindImage: kindest/node:v1.29.0@sha256:eaa1450915475849a73a9227b8f201df25e55e268e5d619312131292e324d570
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Helm install
uses: Azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
- name: Create k8s ${{ matrix.kubernetesVersion }} Kind Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
node_image: ${{ matrix.kindImage }}
- name: Show Kubernetes version
run: |
kubectl version
- name: Show Kubernetes nodes
run: |
kubectl get nodes -o wide
- name: Show Helm version
run: |
helm version
- name: Create KEDA namespace
run: kubectl create ns keda
- name: Generate values
run: |
cat <<EOF > keda-values.yaml
image:
keda:
tag: main
metricsApiServer:
tag: main
webhooks:
tag: main
- name: Install KEDA chart
run: helm install keda ./keda/ --namespace keda --values keda-values.yaml
- name: Generate values
run: |
cat <<EOF > test-values.yaml
additionalLabels:
random: value
images:
tag: canary
rbac:
aggregateToDefaultRoles: true
interceptor:
replicas:
min: 1
EOF
- name: Template Helm chart
run: helm template http-add-on ./http-add-on/ --namespace keda --values test-values.yaml
- name: Install Helm chart
run: helm install http-add-on ./http-add-on/ --namespace keda --values test-values.yaml --wait
- name: Show Kubernetes resources
run: kubectl get all --namespace keda
if: always()
- name: Get all HTTPScaledObjects
run: kubectl get httpscaledobjects
- name: Get all CRDs
run: kubectl get crds
- name: Get HTTPScaledObject CRD
run: kubectl get crds/httpscaledobjects.http.keda.sh
- name: Describe HTTPScaledObject CRD
run: kubectl describe crds/httpscaledobjects.http.keda.sh
- name: Validate Interceptor ScaledObject
run: |
for N in {1..3}
do
READY=$(kubectl get so/keda-add-ons-http-interceptor -n keda -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}')
echo "ScaledObjet is ready: $READY"
if [[ "$READY" == "True" ]]; then
exit 0
fi
sleep 15s
done
exit 1

View File

@ -1,74 +0,0 @@
name: Helm Chart CI
on: [pull_request]
jobs:
lint-helm-3-x:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Helm install
uses: Azure/setup-helm@v1
- name: Lint 'KEDA' Helm chart
run: helm lint keda
deploy-helm-3-x:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Helm install
uses: Azure/setup-helm@v1
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.0.0
- name: Show Kubernetes version
run: |
kubectl version
- name: Show Helm version
run: |
helm version
- name: Create keda namespace
run: kubectl create ns keda
- name: Template Helm chart
run: helm template keda ./keda/ --namespace keda
- name: Install Helm chart
run: helm install keda ./keda/ --namespace keda
- name: Get all CRDs
run: kubectl get crds -o wide
- name: Verify clustertriggerauthentications.keda.sh CRD is installed
run: kubectl get crd/clustertriggerauthentications.keda.sh -o wide
- name: Verify triggerauthentications.keda.sh CRD is installed
run: kubectl get crd/triggerauthentications.keda.sh -o wide
- name: Verify scaledjobs.keda.sh CRD is installed
run: kubectl get crd/scaledjobs.keda.sh -o wide
- name: Verify scaledobjects.keda.sh CRD is installed
run: kubectl get crd/scaledobjects.keda.sh -o wide
- name: Get all ScaledObjects
run: kubectl get scaledobjects -o wide
- name: Get all ScaledJobs
run: kubectl get scaledjobs -o wide
- name: Get all TriggerAuthentication
run: kubectl get triggerauth -o wide
- name: Deploy Nginx with autoscaling
run: kubectl apply -f ./samples/nginx-scaledobject.yml
- name: Get our Nginx ScaledObject
run: kubectl get scaledobjects/nginx-autoscaling -o wide

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# IDE specific files
.vscode
.idea
*.swp
*.swo
# Mac
.DS_Store

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"markdownlint.config": {
"MD028": false,
"MD025": {
"front_matter_title": ""
}
}
}

12
.whitesource Normal file
View File

@ -0,0 +1,12 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}

View File

@ -1,73 +1,88 @@
Contributing to KEDA Helm Charts
===
# Contributing to KEDA Helm Charts
Thanks for helping making KEDA better!
## Shipping a new version
> ⚠️ New Helm chart versions are only released in conjunction with KEDA Core or hotfixes, individual PRs do not have to perform these steps
You can easily release a new Helm chart version:
1. Update the version of the Helm chart in `Chart.yaml`
2. Package the Helm chart
```shell
$ helm package keda
Successfully packaged chart and saved it to: C:\Code\GitHub\charts\keda-0.1.0.tgz
```
3. Move the new chart to the docs folder
```shell
$ mv keda-*.tgz docs
```
4. Re-index the Helm repo to add our new version
```shell
$ helm repo index docs --url https://kedacore.github.io/charts
```
5. Commit changes
```shell
git add .
git commit -sm "Packaged new Helm chart version"
git push origin chart-release
```
6. Create a pull request with our new Helm index
7. Create a GitHub release for your new Helm chart version by using the following template
1. Update the version of the Helm chart in [Chart.yaml](keda/Chart.yaml).
2. Update Warning message about Kubernetes compatibility in [NOTES.txt](keda/templates/NOTES.txt).
3. Re-generate the Helm chart docs ([learn more](#documentation))
4. Package the Helm chart
- For KEDA:
```shell
$ helm package keda --destination docs
Successfully packaged chart and saved it to: docs/keda-2.5.0.tgz
```
- For HTTP add-on:
```shell
$ helm package http-add-on --destination docs
Successfully packaged chart and saved it to: docs/keda-add-ons-http-0.2.0.tgz
```
- For Azure Cosmos DB external scaler:
```shell
$ helm package external-scaler-azure-cosmos-db --destination docs
Successfully packaged chart and saved it to: docs/external-scaler-azure-cosmos-db-0.1.0.tgz
```
5. Re-index the Helm repo to add our new version:
```shell
$ helm repo index docs --url https://kedacore.github.io/charts
```
6. Update the version in the "Browse all our Helm charts" section of our README.md
7. Commit changes:
```shell
git add .
git commit -sm "Packaged new Helm chart version"
git push origin chart-release
```
8. Create a pull request with our new Helm index.
9. Create a GitHub release for your new Helm chart version by using the following template.
- Make sure to list the changes to our Helm chart which are tracked in the [KEDA Core vNext](https://github.com/kedacore/charts/milestone/10) milestone
- Instead of listing all KEDA core changes, simply refer to our release notes on the other repo (see template)
> *Chart: {{Chart Version}} | App: {{App Name}}*
> {{Description about the Helm chart}}
>
>
> ## TL;DR
>
> ```shell
> helm repo add keda https://kedacore.github.io/charts
> helm install keda/keda
> helm repo add kedacore https://kedacore.github.io/charts
> helm repo update
> helm install keda kedacore/keda --version {{Chart Version}} -n keda --create-namespace
> ```
>
>
> ## What is new?
>
> ### Features
>
>
> - Support for KEDA v{version} ([release notes]({{URL to release}}))
> - {{List new features}}
>
>
> ### Fixes / Changes
>
>
> - {{List fixes}}
>
>
> ### Breaking Changes
>
>
> - {{List breaking changes}}
>
>
> ### Removal
>
>
> - {{List removed features}}
10. Create a new milestone called `KEDA Core v{version}`
11. Move the closed items from `KEDA Core vNext` to the new milestone and close it
## Developer Certificate of Origin: Signing your work
### Every commit needs to be signed
The Developer Certificate of Origin (DCO) is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. Here is the full text of the DCO, reformatted for readability:
```
```text
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
@ -81,13 +96,15 @@ By making a contribution to this project, I certify that:
Contributors sign-off that they adhere to these requirements by adding a `Signed-off-by` line to commit messages.
```
```text
This is my commit message
Signed-off-by: Random J Developer <random@developer.example.org>
```
Git even has a `-s` command line option to append this automatically to your commit message:
```
```shell
$ git commit -s -m 'This is my commit message'
```
@ -97,10 +114,31 @@ Each Pull Request is checked whether or not commits in a Pull Request do contai
No worries - You can easily replay your changes, sign them and force push them!
```
```shell
git checkout <branch-name>
git reset $(git merge-base master <branch-name>)
git reset $(git merge-base main <branch-name>)
git add -A
git commit -sm "one commit on <branch-name>"
git push --force
```
```
## Documentation
The documentation for each chart is generated with [helm-docs](https://github.com/norwoodj/helm-docs). This way we can ensure that values are consistent with the chart documentation.
To update a charts documentation, please run the following command:
```shell
$ helm-docs
INFO[2023-05-16T23:18:14+02:00] Found Chart directories [.]
INFO[2023-05-16T23:18:14+02:00] Generating README Documentation for chart .
# or with a docker command:
$ docker run -v "$PWD:/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
time="2023-05-16T21:22:00Z" level=info msg="Found Chart directories [.]"
time="2023-05-16T21:22:00Z" level=info msg="Generating README Documentation for chart ."
```
> **Note**
> When creating your own `README.md.gotmpl`, don't forget to add it to your `.helmignore` file.

View File

@ -1,19 +1,3 @@
# Kubernetes Event-driven Autoscaling (KEDA) Maintainers
## Current
| Maintainer | GitHub ID | Affiliation |
| -------------------- | --------------------------------------------- | ----------- |
| Jeff Hollan | [jeffhollan](https://github.com/jeffhollan) | Microsoft |
| Anirudh Garg | [anirudhgarg](https://github.com/anirudhgarg) | Microsoft |
| Ahmed ElSayed | [ahmelsayed](https://github.com/ahmelsayed) | Microsoft |
| Zbynek Roubalik | [zroubalik](https://github.com/zroubalik) | Red Hat |
| Tom Kerkhove | [tomkerkhove](https://github.com/tomkerkhove) | Codit |
## Alumni
| Maintainer | GitHub ID | Affiliation |
| -------------------- | --------------------------------------------- | ----------- |
| Aarthi Saravanakumar | [Aarthisk](https://github.com/Aarthisk) | Microsoft |
| Yaron Schneider | [yaron2](https://github.com/yaron2) | Microsoft |
| Ben Browning | [bbrowning](https://github.com/bbrowning) | Red Hat |
You can find an overview of our current and alumni maintainers [here](https://github.com/kedacore/governance/blob/main/MAINTAINERS.md).

View File

@ -3,10 +3,11 @@ KEDA allows for fine grained autoscaling (including to/from zero) for event driv
KEDA can run on both the cloud and the edge, integrates natively with Kubernetes components such as the Horizontal Pod Autoscaler, and has no external dependencies.
We are a Cloud Native Computing Foundation (CNCF) sandbox project.
We are a Cloud Native Computing Foundation (CNCF) graduated project.
![CNCF Logo](https://raw.githubusercontent.com/kedacore/keda/main/images/logo-cncf.svg)
## Getting Started
### Adding our Helm chart repo
```console
@ -15,10 +16,13 @@ $ helm repo add kedacore https://kedacore.github.io/charts
```
### Browse all our Helm charts
```
$ helm search repo kedacore/
NAME CHART VERSION APP VERSION DESCRIPTION
kedacore/keda 2.0.1 2.0.0 Event-based autoscaler for workloads on Kubernetes
```console
$ 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.17.2 2.17.2 Event-based autoscaler for workloads on Kubernetes
kedacore/keda-add-ons-http 0.11.0 0.11.0 Event-based autoscaler for HTTP workloads on Ku...
```
## Releases

View File

@ -0,0 +1,6 @@
# Configuration for our Artifact Hub repository
# See https://github.com/artifacthub/hub/blob/master/docs/metadata/artifacthub-repo.yml
repositoryID: e7f9f3ad-5080-4095-8ff9-98a0b71371b4
owners:
- name: KEDA Maintainers
email: cncf-keda-maintainers@lists.cncf.io

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
docs/keda-2.10.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.10.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.10.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.11.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.11.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.11.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.12.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.12.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.13.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.13.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.13.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.14.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.14.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.14.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.14.3 copy.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.15.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.15.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.15.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.16.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.16.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.17.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.17.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.17.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.2.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.3.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.3.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.4.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.5.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.5.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.6.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.6.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.6.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.7.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.7.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.7.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.8.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.8.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.8.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.8.3.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.8.4.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.9.0.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.9.1.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.9.2.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.9.3.tgz Normal file

Binary file not shown.

BIN
docs/keda-2.9.4.tgz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,24 @@
# 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
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
*.gotmpl

View File

@ -0,0 +1,27 @@
apiVersion: v2
type: application
name: external-scaler-azure-cosmos-db
description: Event-based autoscaler for Azure Cosmos DB change feed consumer applications
# 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.17.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: 0.1.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 and it is recommended to use it with quotes.
appVersion: 0.1.0
home: https://github.com/kedacore/external-scaler-azure-cosmos-db
sources:
- https://github.com/kedacore/external-scaler-azure-cosmos-db
maintainers:
- name: Ahmed ElSayed
email: ahmels@microsoft.com
- name: Jatin Sanghvi
email: jasanghv@microsoft.com
- name: Tom Kerkhove
email: tomkerkhove@microsoft.com

View File

@ -0,0 +1,43 @@
# KEDA External Scaler for Azure Cosmos DB
Chart for installing KEDA external scaler for Azure Cosmos DB.
- [Documentation](https://github.com/kedacore/external-scaler-azure-cosmos-db#readme)
- [Release Notes](https://github.com/kedacore/external-scaler-azure-cosmos-db/releases/tag/v0.1.0)
- [Example Usage](https://github.com/kedacore/external-scaler-azure-cosmos-db/tree/main/src/Scaler.Demo)
## Installation
1. Add and update Helm chart repo.
```shell
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
```
1. Install KEDA Helm chart (*or follow one of the other installation methods on [KEDA documentation](https://keda.sh/docs/deploy)*).
```shell
helm install keda kedacore/keda --namespace keda --create-namespace
```
1. Install Azure Cosmos DB external scaler Helm chart.
```shell
helm install external-scaler-azure-cosmos-db kedacore/external-scaler-azure-cosmos-db --namespace keda --create-namespace
```
## Values
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `additionalLabels` | object | `{}` | Additional labels that should be applied to all resources |
| `image.pullPolicy` | string | `"Always"` | The image pull policy for Azure Cosmos DB external scaler |
| `image.repository` | string | `"ghcr.io/kedacore/external-scaler-azure-cosmos-db"` | The Docker image repository to use for Azure Cosmos DB external scaler |
| `image.tag` | string | `"0.1.0"` | The Docker image tag to use for Azure Cosmos DB external scaler |
| `port` | int | `4050` | The incoming port for 'Azure Cosmos DB external scaler' service |
| `resources.limits` | object | `{"cpu":"100m","memory":"512Mi"}` | The CPU/memory resource limit for the 'Azure Cosmos DB external scaler' pod |
| `resources.requests` | object | `{"cpu":"10m","memory":"128Mi"}` | The CPU/memory resource request for the 'Azure Cosmos DB external scaler' pod |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

View File

@ -0,0 +1,39 @@
# KEDA External Scaler for Azure Cosmos DB
Chart for installing KEDA external scaler for Azure Cosmos DB.
- [Documentation](https://github.com/kedacore/external-scaler-azure-cosmos-db#readme)
- [Release Notes](https://github.com/kedacore/external-scaler-azure-cosmos-db/releases/tag/v0.1.0)
- [Example Usage](https://github.com/kedacore/external-scaler-azure-cosmos-db/tree/main/src/Scaler.Demo)
## Installation
1. Add and update Helm chart repo.
```shell
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
```
1. Install KEDA Helm chart (*or follow one of the other installation methods on [KEDA documentation](https://keda.sh/docs/deploy)*).
```shell
helm install keda kedacore/keda --namespace keda --create-namespace
```
1. Install Azure Cosmos DB external scaler Helm chart.
```shell
helm install external-scaler-azure-cosmos-db kedacore/external-scaler-azure-cosmos-db --namespace keda --create-namespace
```
## Values
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

View File

@ -0,0 +1,28 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "external-scaler-azure-cosmos-db.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
These labels will be applied to all Cosmos DB scaler resources in the chart.
*/}}
{{- define "external-scaler-azure-cosmos-db.labels" }}
helm.sh/chart: {{ include "external-scaler-azure-cosmos-db.chart" . }}
app: {{ .Chart.Name }}
control-plane: external-scaler
keda.sh/addon: {{ .Chart.Name }}
name: {{ .Chart.Name }}
app.kubernetes.io/component: external-scaler
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/part-of: {{ .Chart.Name }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion }}
{{- with .Values.additionalLabels }}
{{ . | toYaml }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "external-scaler-azure-cosmos-db.labels" . | indent 4 }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Chart.Name }}
template:
metadata:
labels:
{{- include "external-scaler-azure-cosmos-db.labels" . | indent 8 }}
spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy | default "Always" }}
ports:
- name: scaler-grpc
containerPort: 4050
resources:
{{- .Values.resources | toYaml | nindent 12 }}
terminationGracePeriodSeconds: 10

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "external-scaler-azure-cosmos-db.labels" . | indent 4 }}
spec:
ports:
- name: grpc
port: {{ .Values.port | default 4050 }}
targetPort: scaler-grpc
selector:
app: {{ .Chart.Name }}

View File

@ -0,0 +1,26 @@
# -- Additional labels that should be applied to all resources
additionalLabels: {}
# name: <value>
# Docker image configuration.
image:
# -- The Docker image repository to use for Azure Cosmos DB external scaler
repository: ghcr.io/kedacore/external-scaler-azure-cosmos-db
# -- The Docker image tag to use for Azure Cosmos DB external scaler
tag: 0.1.0
# -- The image pull policy for Azure Cosmos DB external scaler
pullPolicy: Always
# -- The incoming port for 'Azure Cosmos DB external scaler' service
port: 4050
# Container resource requests and limits.
resources:
# -- The CPU/memory resource request for the 'Azure Cosmos DB external scaler' pod
requests:
cpu: 10m
memory: 128Mi
# -- The CPU/memory resource limit for the 'Azure Cosmos DB external scaler' pod
limits:
cpu: 100m
memory: 512Mi

24
http-add-on/.helmignore Normal file
View File

@ -0,0 +1,24 @@
# 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
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
*.gotmpl

29
http-add-on/Chart.yaml Normal file
View File

@ -0,0 +1,29 @@
apiVersion: v2
type: application
name: keda-add-ons-http
description: Event-based autoscaler for HTTP workloads on Kubernetes
# 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. This is incremented at chart release time and does not need
# to be included in any PRs to main.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.11.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. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.11.0
home: https://github.com/kedacore/http-add-on
sources:
- https://github.com/kedacore/http-add-on
maintainers:
- name: Jorge Turrado
email: jorge_turrado@hotmail.es
- name: Zbynek Roubalik
email: zbynek@kedify.io
- name: Jan Wozniak
email: jan@kedify.io

271
http-add-on/README.md Normal file
View File

@ -0,0 +1,271 @@
<p align="center"><img src="https://github.com/kedacore/keda/raw/main/images/logos/keda-word-colour.png" width="300"/></p>
<p style="font-size: 25px" align="center"><b>Kubernetes-based Event Driven Autoscaling - HTTP Add-On</b></p>
<p style="font-size: 25px" align="center">
The KEDA HTTP Add On allows Kubernetes users to automatically scale their HTTP servers up and down (including to/from zero) based on incoming HTTP traffic. Please see our [use cases document](./docs/use_cases.md) to learn more about how and why you would use this project.
| 🚧 **Alpha - Not for production** 🚧|
|---------------------------------------------|
| ⚠ The HTTP add-on is in [experimental stage](https://github.com/kedacore/keda/issues/538) and not ready for production. <br /><br />It is provided as-is without support.
>This codebase moves very quickly. We can't currently guarantee that any part of it will work. Neither the complete feature set nor known issues may be fully documented. Similarly, issues filed against this project may not be responded to quickly or at all. **We will release and announce a beta release of this project**, and after we do that, we will document and respond to issues properly.
## Walkthrough
Although this is an **alpha release** project right now, we have prepared a walkthrough document that with instructions on getting started for basic usage.
See that document at [docs/walkthrough.md](https://github.com/kedacore/http-add-on/tree/main/docs/walkthrough.md)
## Design
The HTTP add-on is composed of multiple mostly independent components. This design was chosen to allow for highly
customizable installations while allowing us to ship reasonable defaults.
- We have written a complete design document. Please see it at [docs/design.md](https://github.com/kedacore/http-add-on/tree/main/docs/design.md).
- For more context on the design, please see our [scope document](https://github.com/kedacore/http-add-on/tree/main/docs/scope.md).
- If you have further questions about the project, please see our [FAQ document](https://github.com/kedacore/http-add-on/tree/main/docs/faq.md).
## Installation
Please see the [complete installation instructions](https://github.com/kedacore/http-add-on/tree/main/docs/install.md).
## Contributing
Please see the [contributing documentation for all instructions](https://github.com/kedacore/http-add-on/tree/main/docs/contributing.md).
---
We are a Cloud Native Computing Foundation (CNCF) graduated project.
<p align="center"><img src="https://raw.githubusercontent.com/kedacore/keda/main/images/logo-cncf.svg" height="75px"></p>
---
## TL;DR
```console
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
helm install http-add-on kedacore/keda-add-ons-http --create-namespace --namespace keda --version 0.11.0
```
## Introduction
This chart bootstraps KEDA HTTP Add-on infrastructure on a Kubernetes cluster using the Helm package manager.
As part of that, it will install all the required Custom Resource Definitions (CRD).
## Installing the Chart
To install the chart with the release name `http-add-on`, please read the [install instructions on the official repository to get started](https://github.com/kedacore/http-add-on/tree/main/docs/install.md):
```console
$ helm install http-add-on kedacore/keda-add-ons-http --namespace keda
```
> **Important:** This chart **needs** KEDA installed in your cluster to work properly.
## Uninstalling the Chart
To uninstall/delete the `http-add-on` Helm chart:
```console
helm uninstall http-add-on
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
The following table lists the configurable parameters of the HTTP Add-On chart and
their default values.
### General parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `additionalLabels` | object | `{}` | Additional labels to be applied to installed resources. Note that not all resources will receive these labels. |
| `crds.install` | bool | `true` | Whether to install the `HTTPScaledObject` [`CustomResourceDefinition`](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) |
| `images.interceptor` | string | `"ghcr.io/kedacore/http-add-on-interceptor"` | Image name for the interceptor image component |
| `images.kubeRbacProxy.name` | string | `"gcr.io/kubebuilder/kube-rbac-proxy"` | Image name for the Kube RBAC Proxy image component |
| `images.kubeRbacProxy.tag` | string | `"v0.13.0"` | Image tag for the Kube RBAC Proxy image component |
| `images.operator` | string | `"ghcr.io/kedacore/http-add-on-operator"` | Image name for the operator image component |
| `images.scaler` | string | `"ghcr.io/kedacore/http-add-on-scaler"` | Image name for the scaler image component |
| `images.tag` | string | `""` | Image tag for the http add on. This tag is applied to the images listed in `images.operator`, `images.interceptor`, and `images.scaler`. Optional, given app version of Helm chart is used by default |
| `logging.interceptor.format` | string | `"console"` | Logging format for KEDA http-add-on Interceptor. allowed values: `json` or `console` |
| `logging.interceptor.level` | string | `"info"` | Logging level for KEDA http-add-on Interceptor. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.interceptor.stackTracesEnabled` | bool | `false` | Display stack traces in the logs |
| `logging.interceptor.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on Interceptor. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
| `logging.operator.format` | string | `"console"` | Logging format for KEDA http-add-on operator. allowed values: `json` or `console` |
| `logging.operator.kubeRbacProxy.level` | int | `10` | Logging level for KEDA http-add-on operator rbac proxy allowed values: `0` for info, `4` for debug, or an integer value greater than 0 |
| `logging.operator.level` | string | `"info"` | Logging level for KEDA http-add-on operator. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.operator.stackTracesEnabled` | bool | `false` | Display stack traces in the logs |
| `logging.operator.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on operator. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
| `logging.scaler.format` | string | `"console"` | Logging format for KEDA http-add-on Scaler. allowed values: `json` or `console` |
| `logging.scaler.level` | string | `"info"` | Logging level for KEDA http-add-on Scaler. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.scaler.stackTracesEnabled` | bool | `false` | Display stack traces in the logs |
| `logging.scaler.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on Scaler. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
| `podSecurityContext` | object | [See below](#KEDA-is-secure-by-default) | [Pod security context] for all pods |
| `rbac.aggregateToDefaultRoles` | bool | `false` | Install aggregate roles for edit and view |
| `securityContext` | object | [See below](#KEDA-is-secure-by-default) | [Security context] for all containers |
### Operator
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `operator.affinity` | object | `{}` | Affinity for pod scheduling ([docs](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)) |
| `operator.imagePullSecrets` | list | `[]` | The image pull secrets for the operator component |
| `operator.kubeRbacProxy.resources.limits` | object | `{"cpu":"300m","memory":"200Mi"}` | The CPU/memory resource limit for the operator component's kube rbac proxy |
| `operator.kubeRbacProxy.resources.requests` | object | `{"cpu":"10m","memory":"20Mi"}` | The CPU/memory resource request for the operator component's kube rbac proxy |
| `operator.nodeSelector` | object | `{}` | Node selector for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/)) |
| `operator.podAnnotations` | object | `{}` | Annotations to be added to the operator pods |
| `operator.port` | int | `8443` | The port for the operator main server to run on |
| `operator.pullPolicy` | string | `"Always"` | The image pull policy for the operator component |
| `operator.replicas` | int | `1` | Number of replicas, oerator k8s resources will not be installed if this is set to 0 |
| `operator.resources.limits` | object | `{"cpu":0.5,"memory":"64Mi"}` | The CPU/memory resource limit for the operator component |
| `operator.resources.requests` | object | `{"cpu":"250m","memory":"20Mi"}` | The CPU/memory resource request for the operator component |
| `operator.tolerations` | list | `[]` | Tolerations for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)) |
| `operator.watchNamespace` | string | `""` | The namespace to watch for new `HTTPScaledObject`s. Leave this blank (i.e. `""`) to tell the operator to watch all namespaces. |
### Scaler
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `scaler.affinity` | object | `{}` | Affinity for pod scheduling ([docs](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)) |
| `scaler.grpcPort` | int | `9090` | The port for the scaler's gRPC server. This is the server that KEDA will send scaling requests to. |
| `scaler.imagePullSecrets` | list | `[]` | The image pull secrets for the scaler component |
| `scaler.nodeSelector` | object | `{}` | Node selector for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/)) |
| `scaler.pendingRequestsInterceptor` | int | `200` | The number of "target requests" that the external scaler will report to KEDA for the interceptor's scaling metrics. See the [KEDA external scaler documentation](https://keda.sh/docs/2.4/concepts/external-scalers/) for details on target requests. |
| `scaler.podAnnotations` | object | `{}` | Annotations to be added to the scaler pods |
| `scaler.pullPolicy` | string | `"Always"` | The image pull policy for the scaler component |
| `scaler.replicas` | int | `3` | Number of replicas |
| `scaler.resources.limits.cpu` | float | `0.5` | |
| `scaler.resources.limits.memory` | string | `"64Mi"` | |
| `scaler.resources.requests.cpu` | string | `"250m"` | |
| `scaler.resources.requests.memory` | string | `"20Mi"` | |
| `scaler.service` | string | `"external-scaler"` | The name of the Kubernetes `Service` for the scaler component |
| `scaler.streamInterval` | int | `200` | Interval in ms for communicating IsActive to KEDA |
| `scaler.tolerations` | list | `[]` | Tolerations for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)) |
### Interceptor
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `interceptor.admin.port` | int | `9090` | The port for the interceptor's admin server to run on |
| `interceptor.admin.service` | string | `"interceptor-admin"` | The name of the Kubernetes `Service` for the interceptor's admin service |
| `interceptor.affinity` | object | `{}` | Affinity for pod scheduling ([docs](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)) |
| `interceptor.endpointsCachePollingIntervalMS` | int | `250` | How often (in milliseconds) the interceptor does a full refresh of its endpoints cache. The interceptor will also use Kubernetes events to stay up-to-date with the endpoints cache changes. This duration is the maximum time it will take to see changes to the endpoints. |
| `interceptor.expectContinueTimeout` | string | `"1s"` | Special handling for responses with "Expect: 100-continue" response headers. see https://pkg.go.dev/net/http#Transport under the 'ExpectContinueTimeout' field for more details |
| `interceptor.forceHTTP2` | bool | `false` | Whether or not the interceptor should force requests to use HTTP/2 |
| `interceptor.idleConnTimeout` | string | `"90s"` | The timeout after which any idle connection is closed and removed from the interceptor's in-memory connection pool. |
| `interceptor.imagePullSecrets` | list | `[]` | The image pull secrets for the interceptor component |
| `interceptor.keepAlive` | string | `"1s"` | The interceptor's connection keep alive timeout |
| `interceptor.maxIdleConns` | int | `100` | The maximum number of idle connections allowed in the interceptor's in-memory connection pool. Set to 0 to indicate no limit |
| `interceptor.nodeSelector` | object | `{}` | Node selector for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/)) |
| `interceptor.pdb.enabled` | bool | `true` | Whether to install the `PodDisruptionBudget` for the interceptor |
| `interceptor.pdb.maxUnavailable` | int | `1` | The maximum number of replicas that can be unavailable for the interceptor |
| `interceptor.pdb.minAvailable` | int | `0` | The minimum number of replicas that should be available for the interceptor |
| `interceptor.podAnnotations` | object | `{}` | Annotations to be added to the interceptor pods |
| `interceptor.proxy.port` | int | `8080` | The port on which the interceptor's proxy service will listen for live HTTP traffic |
| `interceptor.proxy.service` | string | `"interceptor-proxy"` | The name of the Kubernetes `Service` for the interceptor's proxy service. This is the service that accepts live HTTP traffic. |
| `interceptor.pullPolicy` | string | `"Always"` | The image pull policy for the interceptor component |
| `interceptor.replicas.max` | int | `50` | The maximum number of interceptor replicas that should ever be running |
| `interceptor.replicas.min` | int | `3` | The minimum number of interceptor replicas that should ever be running |
| `interceptor.replicas.waitTimeout` | string | `"20s"` | The maximum time the interceptor should wait for an HTTP request to reach a backend before it is considered a failure |
| `interceptor.resources.limits` | object | `{"cpu":0.5,"memory":"64Mi"}` | The CPU/memory resource limit for the operator component |
| `interceptor.resources.requests` | object | `{"cpu":"250m","memory":"20Mi"}` | The CPU/memory resource request for the operator component |
| `interceptor.responseHeaderTimeout` | string | `"500ms"` | How long the interceptor will wait between forwarding a request to a backend and receiving response headers back before failing the request |
| `interceptor.scaledObject.pollingInterval` | int | `1` | The interval (in milliseconds) that KEDA should poll the external scaler to fetch scaling metrics about the interceptor |
| `interceptor.tcpConnectTimeout` | string | `"500ms"` | How long the interceptor waits to establish TCP connections with backends before failing a request. |
| `interceptor.tls.cert_path` | string | `"/certs/tls.crt"` | Mount path of the certificate file to use with the interceptor proxy TLS server |
| `interceptor.tls.cert_secret` | string | `"keda-tls-certs"` | Name of the Kubernetes secret that contains the certificates to be used with the interceptor proxy TLS server |
| `interceptor.tls.enabled` | bool | `false` | Whether a TLS server should be started on the interceptor proxy |
| `interceptor.tls.key_path` | string | `"/certs/tls.key"` | Mount path of the certificate key file to use with the interceptor proxy TLS server |
| `interceptor.tls.port` | int | `8443` | Port that the interceptor proxy TLS server should be started on |
| `interceptor.tlsHandshakeTimeout` | string | `"10s"` | The maximum amount of time the interceptor will wait for a TLS handshake. Set to zero to indicate no timeout. |
| `interceptor.tolerations` | list | `[]` | Tolerations for pod scheduling ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)) |
| `interceptor.topologySpreadConstraints` | list | `[]` | Topology spread constraints ([docs](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/)) |
Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`. For example:
```console
$ helm install http-add-on kedacore/keda-add-ons-http --namespace keda \
--set version=<different tag from app version>
```
Alternatively, a YAML file that specifies the values for the above parameters can
be provided while installing the chart. For example,
```console
helm install http-add-on kedacore/keda-add-ons-http --namespace keda -f values.yaml
```
## KEDA is secure by default
Our default configuration strives to be as secure as possible. Because of that, KEDA will run as non-root and be secure-by-default. You can define global securityContext for all components or switch to granular mode and define securityContext for operator, kuberbacproxy, scaler, and interceptor:
```yaml
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
# runAsUser: 1000
# runAsGroup: 1000
# operator:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# kuberbacproxy:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# scaler:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# interceptor:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
podSecurityContext:
fsGroup: 1000
supplementalGroups:
- 1000
# operator:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# scaler:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# interceptor:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
```
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

View File

@ -0,0 +1,205 @@
<p align="center"><img src="https://github.com/kedacore/keda/raw/main/images/logos/keda-word-colour.png" width="300"/></p>
<p style="font-size: 25px" align="center"><b>Kubernetes-based Event Driven Autoscaling - HTTP Add-On</b></p>
<p style="font-size: 25px" align="center">
The KEDA HTTP Add On allows Kubernetes users to automatically scale their HTTP servers up and down (including to/from zero) based on incoming HTTP traffic. Please see our [use cases document](./docs/use_cases.md) to learn more about how and why you would use this project.
| 🚧 **Alpha - Not for production** 🚧|
|---------------------------------------------|
| ⚠ The HTTP add-on is in [experimental stage](https://github.com/kedacore/keda/issues/538) and not ready for production. <br /><br />It is provided as-is without support.
>This codebase moves very quickly. We can't currently guarantee that any part of it will work. Neither the complete feature set nor known issues may be fully documented. Similarly, issues filed against this project may not be responded to quickly or at all. **We will release and announce a beta release of this project**, and after we do that, we will document and respond to issues properly.
## Walkthrough
Although this is an **alpha release** project right now, we have prepared a walkthrough document that with instructions on getting started for basic usage.
See that document at [docs/walkthrough.md](https://github.com/kedacore/http-add-on/tree/main/docs/walkthrough.md)
## Design
The HTTP add-on is composed of multiple mostly independent components. This design was chosen to allow for highly
customizable installations while allowing us to ship reasonable defaults.
- We have written a complete design document. Please see it at [docs/design.md](https://github.com/kedacore/http-add-on/tree/main/docs/design.md).
- For more context on the design, please see our [scope document](https://github.com/kedacore/http-add-on/tree/main/docs/scope.md).
- If you have further questions about the project, please see our [FAQ document](https://github.com/kedacore/http-add-on/tree/main/docs/faq.md).
## Installation
Please see the [complete installation instructions](https://github.com/kedacore/http-add-on/tree/main/docs/install.md).
## Contributing
Please see the [contributing documentation for all instructions](https://github.com/kedacore/http-add-on/tree/main/docs/contributing.md).
---
We are a Cloud Native Computing Foundation (CNCF) graduated project.
<p align="center"><img src="https://raw.githubusercontent.com/kedacore/keda/main/images/logo-cncf.svg" height="75px"></p>
---
## TL;DR
```console
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
helm install http-add-on kedacore/keda-add-ons-http --create-namespace --namespace keda --version {{ template "chart.appVersion" . }}
```
## Introduction
This chart bootstraps KEDA HTTP Add-on infrastructure on a Kubernetes cluster using the Helm package manager.
As part of that, it will install all the required Custom Resource Definitions (CRD).
## Installing the Chart
To install the chart with the release name `http-add-on`, please read the [install instructions on the official repository to get started](https://github.com/kedacore/http-add-on/tree/main/docs/install.md):
```console
$ helm install http-add-on kedacore/keda-add-ons-http --namespace keda
```
> **Important:** This chart **needs** KEDA installed in your cluster to work properly.
## Uninstalling the Chart
To uninstall/delete the `http-add-on` Helm chart:
```console
helm uninstall http-add-on
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
The following table lists the configurable parameters of the HTTP Add-On chart and
their default values.
### General parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
{{- if not (or (hasPrefix "operator" .Key) (hasPrefix "scaler" .Key) (hasPrefix "interceptor" .Key) ) }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
### Operator
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "operator" .Key }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
### Scaler
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "scaler" .Key }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
### Interceptor
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "interceptor" .Key }}
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`. For example:
```console
$ helm install http-add-on kedacore/keda-add-ons-http --namespace keda \
--set version=<different tag from app version>
```
Alternatively, a YAML file that specifies the values for the above parameters can
be provided while installing the chart. For example,
```console
helm install http-add-on kedacore/keda-add-ons-http --namespace keda -f values.yaml
```
## KEDA is secure by default
Our default configuration strives to be as secure as possible. Because of that, KEDA will run as non-root and be secure-by-default. You can define global securityContext for all components or switch to granular mode and define securityContext for operator, kuberbacproxy, scaler, and interceptor:
```yaml
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
# runAsUser: 1000
# runAsGroup: 1000
# operator:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# kuberbacproxy:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# scaler:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
# interceptor:
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# seccompProfile:
# type: RuntimeDefault
podSecurityContext:
fsGroup: 1000
supplementalGroups:
- 1000
# operator:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# scaler:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# interceptor:
# runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
```
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

View File

@ -0,0 +1,31 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "keda-http-add-on.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Generate match labels
IMPORTANT: Any change of these labels will block
future upgrades
*/}}
{{- define "keda-http-add-on.matchLabels" }}
app.kubernetes.io/part-of: {{ .Chart.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Generate basic labels
*/}}
{{- define "keda-http-add-on.labels" }}
{{- include "keda-http-add-on.matchLabels" . }}
app.kubernetes.io/version: {{ .Values.images.tag | default .Chart.AppVersion }}
helm.sh/chart: {{ include "keda-http-add-on.chart" . }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,260 @@
{{ if .Values.crds.install }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
name: httpscaledobjects.http.keda.sh
spec:
group: http.keda.sh
names:
kind: HTTPScaledObject
listKind: HTTPScaledObjectList
plural: httpscaledobjects
shortNames:
- httpso
singular: httpscaledobject
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.targetWorkload
name: TargetWorkload
type: string
- jsonPath: .status.targetService
name: TargetService
type: string
- jsonPath: .spec.replicas.min
name: MinReplicas
type: integer
- jsonPath: .spec.replicas.max
name: MaxReplicas
type: integer
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.conditions[?(@.reason=="HTTPScaledObjectIsReady")].status
name: Active
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: HTTPScaledObject is the Schema for the httpscaledobjects API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: HTTPScaledObjectSpec defines the desired state of HTTPScaledObject
properties:
coldStartTimeoutFailoverRef:
description: (optional) The name of the failover service to route
HTTP requests to when the target is not available
properties:
port:
description: The port to route to
format: int32
type: integer
portName:
description: The port to route to referenced by name
type: string
service:
description: The name of the service to route to
type: string
timeoutSeconds:
default: 30
description: The timeout in seconds to wait before routing to
the failover service (Default 30)
format: int32
type: integer
required:
- service
type: object
x-kubernetes-validations:
- message: must define either the 'portName' or the 'port'
rule: has(self.portName) != has(self.port)
hosts:
description: |-
The hosts to route. All requests which the "Host" header
matches any .spec.hosts (and the Request Target matches any
.spec.pathPrefixes) will be routed to the Service and Port specified in
the scaleTargetRef.
items:
type: string
type: array
initialCooldownPeriod:
description: (optional) Initial period before scaling
format: int32
type: integer
pathPrefixes:
description: |-
The paths to route. All requests which the Request Target matches any
.spec.pathPrefixes (and the "Host" header matches any .spec.hosts)
will be routed to the Service and Port specified in
the scaleTargetRef.
items:
type: string
type: array
replicas:
description: (optional) Replica information
properties:
max:
description: Maximum amount of replicas to have in the deployment
(Default 100)
format: int32
type: integer
min:
description: Minimum amount of replicas to have in the deployment
(Default 0)
format: int32
type: integer
type: object
scaleTargetRef:
description: |-
The name of the deployment to route HTTP requests to (and to autoscale).
Including validation as a requirement to define either the PortName or the Port
properties:
apiVersion:
type: string
kind:
type: string
name:
type: string
port:
description: The port to route to
format: int32
type: integer
portName:
description: The port to route to referenced by name
type: string
service:
description: The name of the service to route to
type: string
required:
- service
type: object
x-kubernetes-validations:
- message: must define either the 'portName' or the 'port'
rule: has(self.portName) != has(self.port)
scaledownPeriod:
description: (optional) Cooldown period value
format: int32
type: integer
scalingMetric:
description: (optional) Configuration for the metric used for scaling
properties:
concurrency:
description: Scaling based on concurrent requests for a given
target
properties:
targetValue:
default: 100
description: Target value for rate scaling
type: integer
type: object
requestRate:
description: Scaling based the average rate during an specific
time window for a given target
properties:
granularity:
default: 1s
description: Time granularity for rate calculation
type: string
targetValue:
default: 100
description: Target value for rate scaling
type: integer
window:
default: 1m
description: Time window for rate calculation
type: string
type: object
type: object
targetPendingRequests:
description: (optional) DEPRECATED (use ScalingMetric instead) Target
metric value
format: int32
type: integer
timeouts:
description: (optional) Timeouts that override the global ones
properties:
conditionWait:
description: How long to wait for the backing workload to have
1 or more replicas before connecting and sending the HTTP request
(Default is set by the KEDA_CONDITION_WAIT_TIMEOUT environment
variable)
type: string
responseHeader:
description: How long to wait between when the HTTP request is
sent to the backing app and when response headers need to arrive
(Default is set by the KEDA_RESPONSE_HEADER_TIMEOUT environment
variable)
type: string
type: object
required:
- scaleTargetRef
type: object
status:
description: HTTPScaledObjectStatus defines the observed state of HTTPScaledObject
properties:
conditions:
description: Conditions of the operator
items:
description: HTTPScaledObjectCondition stores the condition state
properties:
message:
description: Message indicating details about the transition.
type: string
reason:
description: Reason for the condition's last transition.
enum:
- ErrorCreatingAppScaledObject
- AppScaledObjectCreated
- TerminatingResources
- AppScaledObjectTerminated
- AppScaledObjectTerminationError
- PendingCreation
- HTTPScaledObjectIsReady
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
timestamp:
description: Timestamp of the condition
type: string
type:
description: Type of condition
enum:
- Ready
type: string
required:
- status
- type
type: object
type: array
targetService:
description: TargetService reflects details about the scaled service.
type: string
targetWorkload:
description: TargetWorkload reflects details about the scaled workload.
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
{{ end }}

View File

@ -0,0 +1,147 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.labels" . | indent 4 }}
name: {{ .Chart.Name }}-interceptor
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.matchLabels" . | indent 6 }}
template:
metadata:
labels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.labels" . | indent 8 }}
annotations:
{{- with .Values.interceptor.podAnnotations }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
imagePullSecrets:
{{- toYaml .Values.interceptor.imagePullSecrets | nindent 8 }}
serviceAccountName: {{ .Chart.Name }}-interceptor
{{- if .Values.podSecurityContext.interceptor }}
securityContext:
{{- toYaml .Values.podSecurityContext.interceptor | nindent 8 }}
{{- else }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}
containers:
- args:
- "--zap-log-level={{ .Values.logging.interceptor.level }}"
- "--zap-encoder={{ .Values.logging.interceptor.format }}"
- "--zap-time-encoding={{ .Values.logging.interceptor.timeEncoding }}"
{{- if .Values.logging.interceptor.stackTracesEnabled }}
- "--zap-stacktrace-level=error"
{{- end }}
image: "{{ .Values.images.interceptor }}:{{ .Values.images.tag | default .Chart.AppVersion }}"
imagePullPolicy: '{{ .Values.interceptor.pullPolicy | default "Always" }}'
name: "{{ .Chart.Name }}-interceptor"
env:
- name: KEDA_HTTP_CURRENT_NAMESPACE
value: "{{ .Release.Namespace }}"
- name: KEDA_HTTP_PROXY_PORT
value: "{{ .Values.interceptor.proxy.port }}"
- name: KEDA_HTTP_ADMIN_PORT
value: "{{ .Values.interceptor.admin.port }}"
- name: KEDA_HTTP_CONNECT_TIMEOUT
value: "{{ .Values.interceptor.tcpConnectTimeout }}"
- name: KEDA_HTTP_KEEP_ALIVE
value: "{{ .Values.interceptor.keepAlive }}"
- name: KEDA_RESPONSE_HEADER_TIMEOUT
value: "{{ .Values.interceptor.responseHeaderTimeout }}"
- name: KEDA_CONDITION_WAIT_TIMEOUT
value: "{{ .Values.interceptor.replicas.waitTimeout }}"
- name: KEDA_HTTP_ENDPOINTS_CACHE_POLLING_INTERVAL_MS
value: "{{ .Values.interceptor.endpointsCachePollingIntervalMS }}"
- name: KEDA_HTTP_FORCE_HTTP2
value: "{{ .Values.interceptor.forceHTTP2 }}"
- name: KEDA_HTTP_MAX_IDLE_CONNS
value: "{{ .Values.interceptor.maxIdleConns }}"
- name: KEDA_HTTP_IDLE_CONN_TIMEOUT
value: "{{ .Values.interceptor.idleConnTimeout }}"
- name: KEDA_HTTP_TLS_HANDSHAKE_TIMEOUT
value: "{{ .Values.interceptor.tlsHandshakeTimeout }}"
- name: KEDA_HTTP_EXPECT_CONTINUE_TIMEOUT
value: "{{ .Values.interceptor.expectContinueTimeout }}"
{{- if .Values.interceptor.tls.enabled }}
- name: KEDA_HTTP_PROXY_TLS_ENABLED
value: "true"
- name: KEDA_HTTP_PROXY_TLS_CERT_PATH
value: "{{ .Values.interceptor.tls.cert_path }}"
- name: KEDA_HTTP_PROXY_TLS_KEY_PATH
value: "{{ .Values.interceptor.tls.key_path }}"
- name: KEDA_HTTP_PROXY_TLS_PORT
value: "{{ .Values.interceptor.tls.port }}"
{{- end }}
{{- if .Values.profiling.interceptor.enabled }}
- name: PROFILING_BIND_ADDRESS
value: "127.0.0.1:{{ .Values.profiling.interceptor.port }}"
{{- end}}
ports:
- containerPort: {{ .Values.interceptor.admin.port }}
name: admin
- containerPort: {{ .Values.interceptor.proxy.port }}
name: proxy
{{- if .Values.interceptor.tls.enabled }}
- containerPort: {{ .Values.interceptor.tls.port }}
name: proxy-tls
volumeMounts:
- readOnly: true
mountPath: "/certs"
name: certs
{{- end }}
livenessProbe:
httpGet:
path: /livez
port: proxy
readinessProbe:
httpGet:
path: /readyz
port: proxy
resources:
{{- toYaml .Values.interceptor.resources | nindent 10 }}
{{- if .Values.securityContext.interceptor }}
securityContext:
{{- toYaml .Values.securityContext.interceptor | nindent 10 }}
{{- else }}
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
{{- end }}
terminationGracePeriodSeconds: 10
{{- if .Values.interceptor.tls.enabled }}
volumes:
- name: certs
secret:
secretName: {{ .Values.interceptor.tls.cert_secret }}
{{- end }}
nodeSelector:
kubernetes.io/os: linux
{{- with .Values.interceptor.nodeSelector }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.interceptor.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.interceptor.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.interceptor.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.interceptor.priorityClassName }}
priorityClassName: {{ .Values.interceptor.priorityClassName }}
{{- end }}

View File

@ -0,0 +1,23 @@
{{- if .Values.interceptor.pdb.enabled -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.labels" . | indent 4 }}
name: {{ .Chart.Name }}-interceptor
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.matchLabels" . | indent 6 }}
{{- if .Values.interceptor.pdb.minAvailable }}
minAvailable: {{ .Values.interceptor.pdb.minAvailable }}
{{- end }}
{{- if .Values.interceptor.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.interceptor.pdb.maxUnavailable }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,54 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.labels" . | indent 4 }}
name: {{ .Chart.Name }}-interceptor
rules:
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- apiGroups:
- http.keda.sh
resources:
- httpscaledobjects
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
httpscaledobjects.http.keda.sh/version: {{ .Values.images.tag | default .Chart.AppVersion }}
keda.sh/addon: {{ .Chart.Name }}
app: {{ .Chart.Name }}
name: {{ .Chart.Name }}-interceptor
app.kubernetes.io/component: interceptor
app.kubernetes.io/name: http-add-on
{{- include "keda-http-add-on.labels" . | indent 4 }}
name: {{ .Chart.Name }}-interceptor
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Chart.Name }}-interceptor
subjects:
- kind: ServiceAccount
name: {{ .Chart.Name }}-interceptor
namespace: {{ .Release.Namespace }}

Some files were not shown because too many files have changed in this diff Show More