Skip to content

http-add-on: migrate v1.Endpoints to discoveryv1.EndpointSlices#779

Merged
JorTurFer merged 1 commit into
kedacore:mainfrom
wozniakjan:http-add-on_migrate_endpoints_to_endpointslices
Sep 22, 2025
Merged

http-add-on: migrate v1.Endpoints to discoveryv1.EndpointSlices#779
JorTurFer merged 1 commit into
kedacore:mainfrom
wozniakjan:http-add-on_migrate_endpoints_to_endpointslices

Conversation

@wozniakjan

Copy link
Copy Markdown
Member

see also: kedacore/http-add-on#1298
see also: kedacore/http-add-on#1297

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

@wozniakjan wozniakjan requested a review from a team as a code owner September 18, 2025 12:00
@wozniakjan wozniakjan requested a review from Copilot September 18, 2025 13:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the KEDA HTTP add-on from using deprecated v1.Endpoints to the newer discoveryv1.EndpointSlices API, aligning with Kubernetes best practices and preparing for future compatibility.

  • Updates RBAC permissions to use discovery.k8s.io API group instead of core API
  • Changes resource permissions from endpoints to endpointslices
  • Bumps application version from 0.10.0 to 0.11.0

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
http-add-on/templates/scaler/rbac.yml Updates RBAC permissions for scaler component to use EndpointSlices
http-add-on/templates/interceptor/rbac.yml Updates RBAC permissions for interceptor component to use EndpointSlices
http-add-on/Chart.yaml Bumps appVersion to reflect the API migration changes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread http-add-on/Chart.yaml Outdated
@wozniakjan wozniakjan force-pushed the http-add-on_migrate_endpoints_to_endpointslices branch from 384e6eb to 062b7f3 Compare September 22, 2025 07:53
@JorTurFer JorTurFer merged commit e98a773 into kedacore:main Sep 22, 2025
9 of 13 checks passed
robinderooij-rl pushed a commit to RosemanLabs/keda-charts that referenced this pull request Sep 30, 2025
wozniakjan added a commit that referenced this pull request Oct 6, 2025
* Add ability to add extra ENV vars to containers

The http-add-on chart did not have the ability yet to add custom extra
env variables to the deployments. This implements it according to the
standard set in the PR implementing the extra container ags,
using an object instead of a list of objects. (See for this PR:
#245)

A previous PR was already made some time ago but it did not adhere to
the requested convention: #762

This PR tries to solve that issue.

Signed-off-by: Robin de Rooij <[email protected]>

* Allow Keda to request SA tokens (#728)

* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <[email protected]>

* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <[email protected]>

* Allow Keda to request SA tokens

Signed-off-by: Bojan Zelic <[email protected]>

---------

Signed-off-by: Bojan Zelic <[email protected]>
Signed-off-by: Robin de Rooij <[email protected]>

* Move global extraEnvs object to their components

Signed-off-by: Robin de Rooij <[email protected]>

* http-add-on: migrate v1.Endpoints to discoveryv1.EndpointSlices (#779)

Signed-off-by: Jan Wozniak <[email protected]>
Signed-off-by: Robin de Rooij <[email protected]>

* release http-add-on v0.11.0 (#780)

Signed-off-by: Jan Wozniak <[email protected]>
Signed-off-by: Robin de Rooij <[email protected]>

* Add to README

Signed-off-by: Robin de Rooij <[email protected]>

---------

Signed-off-by: Robin de Rooij <[email protected]>
Signed-off-by: Bojan Zelic <[email protected]>
Signed-off-by: Jan Wozniak <[email protected]>
Co-authored-by: Bojan Zelic <[email protected]>
Co-authored-by: Jan Wozniak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants