Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release 2.13.0 #593

Merged
merged 6 commits into from
Jan 19, 2024
Merged

Release 2.13.0 #593

merged 6 commits into from
Jan 19, 2024

Conversation

wozniakjan
Copy link
Member

Preparation for the KEDA release 2.13.0

Checklist

see also: kedacore/keda#5275

@wozniakjan
Copy link
Member Author

wozniakjan commented Jan 19, 2024

I am not entirely sure about these two commits, ptal @kedacore/keda-core-contributors
EDIT: both are clear now, CRDs have expected diff and the chart will continue to support webhook disablement

1) CRD update - resolved in #593 (comment), 949b54f

old question

1) CRD update - 2d22f00

I did following procedure

# template CRDs for the latest release
kustomize build https://github.com/kedacore/keda/config/crd?ref=v2.13.0 > all.yaml

# split the templated file
yq -s '"crd-" + .spec.names.plural + ".yaml"' all.yaml

# move the split files to the correct location
mv crd-*.yaml ./keda/templates/crds/

and then copied back the helm templating manually to those CRDs but there seems to be a good amount of drift so I am sceptical of my process ...

2) removing deprecated webhook enable flag - 8e863fa

the notes mentioned to remove it, just wanted to confirm this is the right time and place :)

@wozniakjan wozniakjan mentioned this pull request Jan 19, 2024
25 tasks
@wozniakjan wozniakjan marked this pull request as ready for review January 19, 2024 09:55
@wozniakjan wozniakjan requested a review from a team as a code owner January 19, 2024 09:56
@tomkerkhove
Copy link
Member

I am not entirely sure about these two commits, ptal @kedacore/keda-core-contributors

1) CRD update - 2d22f00

I did following procedure

# template CRDs for the latest release
kustomize build https://github.com/kedacore/keda/config/crd?ref=v2.13.0 > all.yaml

# split the templated file
yq -s '"crd-" + .spec.names.plural + ".yaml"' all.yaml

# move the split files to the correct location
mv crd-*.yaml ./keda/templates/crds/

and then copied back the helm templating manually to those CRDs but there seems to be a good amount of drift so I am sceptical of my process ...

I honestly just copy the artifacts from KEDA's release and past them in the files, I do not use Kustomize for it

@tomkerkhove
Copy link
Member

Mind adding the change from #558 in this PR please?

@tomkerkhove
Copy link
Member

2) removing deprecated webhook enable flag - 8e863fa

the notes mentioned to remove it, just wanted to confirm this is the right time and place :)

@kedacore/keda-maintainers I'm not sure if we should do hard delete, or if we should change the default to true? I personally prefer the latter as people can still turn it off if they want, but recall we may have taken a dependency on it in 2.13

@wozniakjan
Copy link
Member Author

wozniakjan commented Jan 19, 2024

Mind adding the change from #558 in this PR please?

I'm on it, thanks for reminding :)

@kedacore/keda-maintainers I'm not sure if we should do hard delete, or if we should change the default to true? I personally prefer the latter as people can still turn it off if they want, but recall we may have taken a dependency on it in 2.13

I would be in favour of keeping it and given the default is already true, I can just easily change the deprecation/removal note to mention 2.13 instead?

maybe @zroubalik or @JorTurFer have an opinion?

@wozniakjan
Copy link
Member Author

I honestly just copy the artifacts from KEDA's release and past them in the files, I do not use Kustomize for it

@tomkerkhove, I investigated the diff a bit closer and the culprit is the yq I used to auto-split the crds yaml, lot a whitespace changes and line breaks in a different location, I will replace my attempt for automation with manual labour to reduce the diff :)

keda/values.yaml Outdated Show resolved Hide resolved
@tomkerkhove
Copy link
Member

I only see changes for trigger authentication, just to verify - The other CRDs did not change?

@JorTurFer
Copy link
Member

I only see changes for trigger authentication, just to verify - The other CRDs did not change?

I don't think so, but let me double-check

@JorTurFer
Copy link
Member

Sorry for the noise, could we include this PR as part of the release? #591

@tomkerkhove
Copy link
Member

Merged, all we need to do is sync and re-package

@wozniakjan
Copy link
Member Author

Merged, all we need to do is sync and re-package

I'm on it :)

Signed-off-by: Jan Wozniak <[email protected]>
$ helm package keda --destination docs

Signed-off-by: Jan Wozniak <[email protected]>
$ helm repo index docs --url https://kedacore.github.io/charts

Signed-off-by: Jan Wozniak <[email protected]>
@wozniakjan
Copy link
Member Author

wozniakjan commented Jan 19, 2024

I don't think so, but let me double-check

I double checked, looks like only TA and CTA changed + CloudEvent CRDs got added as a new one in #572. These are the only diffs regarding CRDs I observed.

Also sync and re-package is now pushed.

@tomkerkhove tomkerkhove merged commit 0520e8f into kedacore:main Jan 19, 2024
37 checks passed
@tomkerkhove
Copy link
Member

@JorTurFer
Copy link
Member

@wozniakjan Did you verify that main/keda/templates/crds/crd-cloudeventsources.yaml does not need any changes?

I did it

JorTurFer added a commit that referenced this pull request Jan 30, 2024
…uing KEDA TLS certificates (#530)

* feat(keda): ✨ Allow providing own cert-manager issuer in TLS certificate

Signed-off-by: Dmytro Kovalenko <[email protected]>

* docs(keda): 📝 Generate Helm docs

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

* refactor(keda): ♻️ Refactor values format

Signed-off-by: Dmytro Kovalenko <[email protected]>

* revert(keda): ⏪ Revert unnecessary auto-formatting

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Loïs Postula <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Adarsh-verma-14 <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* Support profiling for keda components (#549)

Signed-off-by: yuval weber <[email protected]>
Signed-off-by: unknown <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Adarsh-verma-14 <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

* Add CloudEventSources Crd and ClustetName Parameter

Signed-off-by: SpiritZhou <[email protected]>

* Update

Signed-off-by: SpiritZhou <[email protected]>

* Update

Signed-off-by: SpiritZhou <[email protected]>

* Update keda/values.yaml

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

* Fix

Signed-off-by: SpiritZhou <[email protected]>

* Update

Signed-off-by: SpiritZhou <[email protected]>

* Revert unnecessary update

Signed-off-by: SpiritZhou <[email protected]>

---------

Signed-off-by: SpiritZhou <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Zbynek Roubalik <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Co-authored-by: Tom Kerkhove <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

* chore: Adjust RBAC with code (#585)

* chore: Adjust RBAC with code

Signed-off-by: Jorge Turrado <[email protected]>

* fix typo

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

* remove not required insecureSkipTLSVerify (#564)

Signed-off-by: Frank Kloeker <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* 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 <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* 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 <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: choisungwook <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* Support crd-specific annotations (#584)

* support crd-specific annotations

Signed-off-by: Adam Walford <[email protected]>

* update readme

Signed-off-by: Adam Walford <[email protected]>

* update docs using helm-docs

Signed-off-by: Adam Walford <[email protected]>

---------

Signed-off-by: Adam Walford <[email protected]>
Co-authored-by: Adam Walford <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* Add ciliumnetworkpolicies (#558)

Signed-off-by: Dmytro Kovalenko <[email protected]>

* Add tlsConfig for ServiceMonitor (#591)

Co-authored-by: guicholeo <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* Release 2.13.0 (#593)

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Dmytro Kovalenko <[email protected]>

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

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Dmytro Kovalenko <[email protected]>

* refactor: Unify cert-manager annotations

Signed-off-by: Dmytro Kovalenko <[email protected]>

---------

Signed-off-by: Dmytro Kovalenko <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Loïs Postula <[email protected]>
Signed-off-by: Adarsh-verma-14 <[email protected]>
Signed-off-by: yuval weber <[email protected]>
Signed-off-by: unknown <[email protected]>
Signed-off-by: SpiritZhou <[email protected]>
Signed-off-by: Zbynek Roubalik <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Frank Kloeker <[email protected]>
Signed-off-by: ferndem <[email protected]>
Signed-off-by: Milan Plzik <[email protected]>
Signed-off-by: choisungwook <[email protected]>
Signed-off-by: Adam Walford <[email protected]>
Co-authored-by: Dmytro Kovalenko <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Co-authored-by: Loïs Postula <[email protected]>
Co-authored-by: Roy Gao <[email protected]>
Co-authored-by: Adarsh Verma <[email protected]>
Co-authored-by: yuval weber <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Co-authored-by: Radek Fojtik <[email protected]>
Co-authored-by: Quentin Bisson <[email protected]>
Co-authored-by: SpiritZhou <[email protected]>
Co-authored-by: Zbynek Roubalik <[email protected]>
Co-authored-by: Frank Kloeker <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: Bhargav Ravuri <[email protected]>
Co-authored-by: ferndem <[email protected]>
Co-authored-by: Milan Plžík <[email protected]>
Co-authored-by: choisungwook <[email protected]>
Co-authored-by: Adam Walford <[email protected]>
Co-authored-by: Adam Walford <[email protected]>
Co-authored-by: guicholeo <[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.

3 participants