diff --git a/CHANGELOG.md b/CHANGELOG.md index 46d91fc4b5f..d3a6484d5db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,9 +69,9 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio - **PostgreSQL Scaler**: Replace `lib/pq` with `pgx` ([#4704](https://github.com/kedacore/keda/issues/4704)) - **Prometheus Metrics**: Add new metric with KEDA build info ([#4647](https://github.com/kedacore/keda/issues/4647)) - **Prometheus Scaler**: Add support for Google Managed Prometheus ([#4675](https://github.com/kedacore/keda/pull/4675)) +- **Admission Webhooks**: Allow to change the port ([#468](https://github.com/kedacore/charts/issues/468)) - **Solace Scaler**: Add new `messageReceiveRateTarget` metric to Solace Scaler ([#4665](https://github.com/kedacore/keda/issues/4665)) - ### Fixes - **Admission Webhooks**: Allow to remove the finalizer even if the ScaledObject isn't valid ([#4396](https://github.com/kedacore/keda/issue/4396)) @@ -134,7 +134,6 @@ Here is an overview of all **stable** additions: - **General**: Introduce new ArangoDB Scaler ([#4000](https://github.com/kedacore/keda/issues/4000)) - **Prometheus Metrics**: Introduce scaler activity in Prometheus metrics ([#4114](https://github.com/kedacore/keda/issues/4114)) - **Prometheus Metrics**: Introduce scaler latency in Prometheus metrics ([#4037](https://github.com/kedacore/keda/issues/4037)) -- **Prometheus Scaler**: Extend Prometheus Scaler to support Azure managed service for Prometheus ([#4153](https://github.com/kedacore/keda/issues/4153)) Here is an overview of all new **experimental** features: @@ -155,6 +154,7 @@ Here is an overview of all new **experimental** features: - **RabbitMQ Scaler**: Add TLS support ([#967](https://github.com/kedacore/keda/issues/967)) - **Redis Scalers**: Add support to Redis 7 ([#4052](https://github.com/kedacore/keda/issues/4052)) - **Selenium Grid Scaler**: Add `platformName` to selenium-grid scaler metadata structure ([#4038](https://github.com/kedacore/keda/issues/4038)) +- **Prometheus Scaler**: Extend Prometheus Scaler to support Azure managed service for Prometheus ([#4153](https://github.com/kedacore/keda/issues/4153)) ### Fixes diff --git a/cmd/webhooks/main.go b/cmd/webhooks/main.go index 7add745ee3f..9a79928a200 100644 --- a/cmd/webhooks/main.go +++ b/cmd/webhooks/main.go @@ -56,12 +56,14 @@ func main() { var webhooksClientRequestQPS float32 var webhooksClientRequestBurst int var certDir string + var webhooksPort int pflag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") pflag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") pflag.Float32Var(&webhooksClientRequestQPS, "kube-api-qps", 20.0, "Set the QPS rate for throttling requests sent to the apiserver") pflag.IntVar(&webhooksClientRequestBurst, "kube-api-burst", 30, "Set the burst for throttling requests sent to the apiserver") pflag.StringVar(&certDir, "cert-dir", "/certs", "Webhook certificates dir to use. Defaults to /certs") + pflag.IntVar(&webhooksPort, "port", 9443, "Port number to serve webhooks. Defaults to 9443") opts := zap.Options{} opts.BindFlags(flag.CommandLine) @@ -81,7 +83,7 @@ func main() { LeaderElection: false, MetricsBindAddress: metricsAddr, WebhookServer: webhook.NewServer(webhook.Options{ - Port: 9443, + Port: webhooksPort, CertDir: certDir, TLSOpts: []func(tlsConfig *tls.Config){ func(tlsConfig *tls.Config) {