Commit Graph

89 Commits

Author SHA1 Message Date
dependabot[bot] a0a7969a6d
Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 (#237)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 10:56:31 -07:00
dependabot[bot] e1d421398c
Bump github.com/labstack/echo/v4 from 4.4.0 to 4.5.0 (#215)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-19 09:37:10 -07:00
dependabot[bot] 9ea87ecf8b
Bump github.com/onsi/gomega from 1.14.0 to 1.15.0 (#220)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-08-18 22:45:22 +00:00
Ajanth 2a88fcdeb9
Added targetMetric field in CRD (#168)
* Forgot to sign last commit

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* chore: KEDA was accepted as CNCF Incubation project (#229)

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>
Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Duplicate Release Process

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Duplicate

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* duplicate

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Delete developing 2.md

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* func GetInt64Or isn't used so deleting it

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Changing to TargetPendingRequests

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Update external_scaler.go

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Update http.keda.sh_httpscaledobjects.yaml

Signed-off-by: Ajanth <ajanth1997@gmail.com>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-08-18 21:19:26 +00:00
Tom Kerkhove 99aee5fc26
chore: KEDA was accepted as CNCF Incubation project (#229)
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:25:24 +02:00
Aaron Schlesinger cde901f266
adding release process document (#211)
* adding release process document

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

* updating helm chart and adding docs/blog

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

* fixing links

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-20 09:37:26 +02:00
dependabot[bot] edc5cf7513
Bump google.golang.org/protobuf from 1.26.0 to 1.27.1 (#207)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.26.0 to 1.27.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.26.0...v1.27.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 15:32:12 -07:00
dependabot[bot] b5a81bb39f
Bump github.com/labstack/echo/v4 from 4.3.0 to 4.4.0 (#209)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-07-14 12:53:07 -07:00
dependabot[bot] d0234811f0
Bump github.com/onsi/gomega from 1.13.0 to 1.14.0 (#208)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 14:39:19 -07:00
Aaron Schlesinger 41ebdf507f
Factoring the HTTP Transport out of the forwarder (#184)
This commit reuses the `http.RoundTripper` so that we pool connections.
Before, we were creating a new round tripper -- and hence, a new
connection pool -- every time we forwarded a request. The result
was that we were not reusing connection, and were attempting to
create _new_ connections every time we forwarded a request.

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-01 22:41:49 +00:00
Aaron Schlesinger d05e32f03a
Removing the Makefile (#194)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-01 22:36:52 +00:00
Aaron Schlesinger 0238aee01a
adding GOOS and GOARCH to the Dockerfiles (#186)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-01 22:33:48 +00:00
Aaron Schlesinger 09f3812e19
Checking for type assertion success (#181)
Fixes https://github.com/kedacore/http-add-on/issues/174

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

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-01 05:24:02 +00:00
Aaron Schlesinger c0aaa608bb
Fixing kubectl command in walkthrough documentation (#205)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-30 18:02:09 +00:00
Aaron Schlesinger 8c4d4a7046
setting proper tag version in release script (#198)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 08:02:57 -07:00
Aaron Schlesinger 3320091f01
removing the 'alpha' notice from the README (#192)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 06:26:05 +00:00
Aaron Schlesinger f42c8f5441
Updating the issue, PR and feature request templates (#193)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 08:20:05 +02:00
Aaron Schlesinger 929fc9707e
Adding CoC (#178)
* Adding CoC

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

* adding note about CoC in contributing doc

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-17 05:26:59 +00:00
dependabot[bot] 79470adccc
Bump github.com/labstack/echo/v4 from 4.2.2 to 4.3.0 (#162)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.2.2...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-16 17:56:14 +00:00
dependabot[bot] fe25494039
Bump github.com/onsi/gomega from 1.11.0 to 1.13.0 (#176)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.11.0 to 1.13.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.11.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-06-16 10:50:36 -07:00
Aaron Schlesinger 2fc3dc80d5
Distinguishing the contributing and developing documentation (#180)
* Distinguishing the contributing and developing documentation

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

* Using the kedacore .github repo's CONTRIBUTING.md file

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-16 17:20:21 +00:00
dependabot[bot] cdc9d9cb09
Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.4 (#177)
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.16.1 to 1.16.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.1...v1.16.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 15:07:30 -07:00
Aaron Schlesinger 8a28568a2f
removing the 'v' prefix from image names (#167)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-06-03 11:37:03 -07:00
Aaron Schlesinger efb92393d1
Fixing link to the XKCD Chart (#175)
Also adding slightly more explanation about the chart and
relevant HTTPScaledObject

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-03 07:22:36 +02:00
Aaron Schlesinger 9570de0f1b
simplifying the magefile (#152)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-31 14:11:14 +02:00
Aaron Schlesinger 7bbcc91cb5
Clarifying the install document (#170) 2021-05-25 14:11:08 +02:00
Lucas Santos 6442f7769c
Move charts to keda/charts (#125)
* Move charts to keda/charts

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

* Update install docs

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

* Change repository name to match charts

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

* Fix spacing

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

* Re add xkcd as example

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

* Add files from #150

Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Update instructions following new chart location

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

* Fix broken link

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

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 22:34:12 +00:00
Aaron Schlesinger 0e516f4dea
removing unused code (#135)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 19:52:25 +00:00
Aaron Schlesinger 22c912071b
Fixing app creation timing issue (#116)
* upgrading all dockerfile Go versions to 1.16

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

* creating new targets for the example/test HTTPScaledObject

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

* moving external scaler generated files

the scaler uses the server stubs but the operator now needs to use the client, so it needs to move out of the scaler binary

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

* progress on code to wait for scaler

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

* checking deployment replicas:

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

* Adding health check endpoints to the scaler

Also centralizing config for the scaler with envconfig

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

* Closing both the gRPC server and HTTP healthcheck server on context cancel/timeout

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

* adding util functions for adding liveness/readiness probes

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

* fixing var name

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

* adding readiness and liveness probes, and tests for it

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

* printing output for scaler tests, even when they fail

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

* simplifying scaler health check code

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

* adding health check test code to scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 18:55:47 +00:00
Aaron Schlesinger b78a484028
Using the interceptor handler directly (#151)
* Using the interceptor handler directly

Instead of attaching the handler to a catch-all route on a mux
and then serving the mux over HTTP, this simply attaches the
interceptor handler directly to the HTTP listener. The effect
is the same.

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

* adding log line to interceptor startup

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 09:51:59 -07:00
Aaron Schlesinger 730509f762
Adding note on installing the canary versions of images (#166)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-12 07:14:37 +02:00
Lucas Santos 4ec42512c6
validating pull policies (#161)
* Make imagePullPolicy configurable

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

* Fix tests

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

* Pass on config from main

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

* Ensure policy string

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

* Fix tests

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

* Fix test

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

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-05-06 16:56:36 -07:00
Lucas Santos 2d14117680
Make imagePullPolicy configurable (#155)
* Make imagePullPolicy configurable

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

* Fix tests

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

* Pass on config from main

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

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-05-06 16:26:02 -07:00
Tom Kerkhove 9bb3c8e5b9
fix: Don't use env. in environment definitions (#158)
Signed-off-by: GitHub <noreply@github.com>
2021-05-04 11:23:17 -07:00
Tom Kerkhove c25f9b43a5
fix: Push images to GitHub Container Registry, not Docker Hub (#157)
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-04-28 20:33:30 +02:00
Aaron Schlesinger f939c2c985
Adding a next steps link to the end of the install.md page (#153)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-28 07:54:00 +02:00
Aaron Schlesinger 406027f762
Logging in to GHCR with the GITHUB_TOKEN instead of the PAT (#156)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-28 07:27:31 +02:00
Aaron Schlesinger 0b06e78d6b
making triggers a list, which is required for KEDA scaled objects (#146)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-27 13:36:07 -07:00
Aaron Schlesinger 18d4cda836
versioning the HTTPScaledObject example and reference (#143)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-27 12:23:12 -07:00
Michael Gasch 01465bdcb7
Update faq.md (#154)
Remove requirement of Service Mesh in Knative

Signed-off-by: Michael Gasch <mgasch@vmware.com>
2021-04-26 14:27:58 -07:00
Aaron Schlesinger c44234a072
using GITHUB_TOKEN for docker images (#148)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-22 11:49:11 -07:00
Aaron Schlesinger b74cbaa05c
fixing docker push actions (#144)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-21 10:27:03 +02:00
Aaron Schlesinger e37b3b500d
adding a short intro section to the README (#140) 2021-04-15 15:03:20 +02:00
Aaron Schlesinger e513b2df37
adding required parameters to the xkcd chart values file (#131)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-14 10:50:27 -07:00
Aaron Schlesinger 54928eaee7
Building images in PRs (#133)
* Building images in PRs

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

* upping Dockerfile Go versions

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-14 10:45:34 -07:00
Aaron Schlesinger 8c60d9d6c8
Switching `make` commands to `helm` commands. (#128)
* Switching `make` commands to `helm` commands.

Fixes https://github.com/kedacore/http-add-on/issues/117

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

* adding mage version minimum

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-14 10:41:36 -07:00
Aaron Schlesinger a98fe077c0
adding documentation examples in the PR template (#136)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-14 10:30:35 -07:00
dependabot[bot] ffe69cb2a1
Bump k8s.io/api from 0.17.2 to 0.20.4 (#70)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.17.2 to 0.20.4.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.17.2...v0.20.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-12 13:25:09 -07:00
dependabot[bot] 92e34c3ca5
Bump sigs.k8s.io/controller-runtime from 0.8.1 to 0.8.3 (#91)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.8.1 to 0.8.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.8.1...v0.8.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-04-12 13:18:58 -07:00
dependabot[bot] a4c9062727
Bump github.com/labstack/echo/v4 from 4.2.1 to 4.2.2 (#127)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.2.1...v4.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-04-12 13:14:19 -07:00