Skip to content

Commit

Permalink
feat: use HPA v2 & fix local rate limit http filter name
Browse files Browse the repository at this point in the history
Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
  • Loading branch information
zufardhiyaulhaq committed May 12, 2024
1 parent e5dd5ce commit a1ed6f6
Show file tree
Hide file tree
Showing 26 changed files with 69 additions and 62 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Istio ratelimit operator provide an easy way to configure Global or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter versioning!

![Version: 2.11.1](https://img.shields.io/badge/Version-2.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.11.1](https://img.shields.io/badge/AppVersion-2.11.1-informational?style=flat-square) [![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org) [![GitHub issues](https://img.shields.io/github/issues/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/pulls)[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/istio-ratelimit-operator)](https://artifacthub.io/packages/search?repo=istio-ratelimit-operator)
![Version: 2.13.0](https://img.shields.io/badge/Version-2.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.13.0](https://img.shields.io/badge/AppVersion-2.13.0-informational?style=flat-square) [![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org) [![GitHub issues](https://img.shields.io/github/issues/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/pulls)[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/istio-ratelimit-operator)](https://artifacthub.io/packages/search?repo=istio-ratelimit-operator)

## Installation

To install the chart with the release name `my-istio-ratelimit-operator`:

```console
helm repo add istio-ratelimit-operator https://zufardhiyaulhaq.com/istio-ratelimit-operator/charts/releases/
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.11.1 --values values.yaml
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.13.0 --values values.yaml
```

## Usage
Expand Down Expand Up @@ -101,19 +101,23 @@ public-gateway.method.grault-route_grault-route: unit=HOUR requests_per_unit=60
| extraLabels | object | `{}` | |
| operator.image | string | `"zufardhiyaulhaq/istio-ratelimit-operator"` | |
| operator.replica | int | `1` | |
| operator.tag | string | `"v2.12.0"` | |
| operator.tag | string | `"v2.13.0"` | |
| resources.limits.cpu | string | `"512m"` | |
| resources.limits.memory | string | `"512Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
| resources.requests.memory | string | `"256Mi"` | |
| serviceAccount.imagePullSecrets | list | `[]` | |
| settings.ratelimitservice.image | string | `"envoyproxy/ratelimit:5e1be594"` | |
| settings.statsdExporter.image | string | `"prom/statsd-exporter:v0.25.0"` | |
| settings.statsdExporter.image | string | `"prom/statsd-exporter:v0.26.1"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)

## Supported Releases

| Operator Version | Istio Version |
|-----|------|
| 2.13.0 | <= 1.21.x |
| 2.12.0 | <= 1.20.x |
| 2.11.2 | <= 1.17.x |
| 2.9.0 | <= 1.16.x |
Expand Down
11 changes: 7 additions & 4 deletions charts/istio-ratelimit-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Istio ratelimit operator provide an easy way to configure Global or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter versioning!

![Version: 2.11.1](https://img.shields.io/badge/Version-2.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.11.1](https://img.shields.io/badge/AppVersion-2.11.1-informational?style=flat-square) [![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org) [![GitHub issues](https://img.shields.io/github/issues/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/pulls)[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/istio-ratelimit-operator)](https://artifacthub.io/packages/search?repo=istio-ratelimit-operator)
![Version: 2.13.0](https://img.shields.io/badge/Version-2.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.13.0](https://img.shields.io/badge/AppVersion-2.13.0-informational?style=flat-square) [![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org) [![GitHub issues](https://img.shields.io/github/issues/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/zufardhiyaulhaq/istio-ratelimit-operator)](https://github.com/zufardhiyaulhaq/istio-ratelimit-operator/pulls)[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/istio-ratelimit-operator)](https://artifacthub.io/packages/search?repo=istio-ratelimit-operator)

## Installation

To install the chart with the release name `my-istio-ratelimit-operator`:

```console
helm repo add istio-ratelimit-operator https://zufardhiyaulhaq.com/istio-ratelimit-operator/charts/releases/
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.11.1 --values values.yaml
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.13.0 --values values.yaml
```

## Usage
Expand Down Expand Up @@ -101,14 +101,17 @@ public-gateway.method.grault-route_grault-route: unit=HOUR requests_per_unit=60
| extraLabels | object | `{}` | |
| operator.image | string | `"zufardhiyaulhaq/istio-ratelimit-operator"` | |
| operator.replica | int | `1` | |
| operator.tag | string | `"v2.12.0"` | |
| operator.tag | string | `"v2.13.0"` | |
| resources.limits.cpu | string | `"512m"` | |
| resources.limits.memory | string | `"512Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
| resources.requests.memory | string | `"256Mi"` | |
| serviceAccount.imagePullSecrets | list | `[]` | |
| settings.ratelimitservice.image | string | `"envoyproxy/ratelimit:5e1be594"` | |
| settings.statsdExporter.image | string | `"prom/statsd-exporter:v0.25.0"` | |
| settings.statsdExporter.image | string | `"prom/statsd-exporter:v0.26.1"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)

## Supported Releases

Expand Down
1 change: 1 addition & 0 deletions charts/istio-ratelimit-operator/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public-gateway.method.grault-route_grault-route: unit=HOUR requests_per_unit=60

| Operator Version | Istio Version |
|-----|------|
| 2.13.0 | <= 1.21.x |
| 2.12.0 | <= 1.20.x |
| 2.11.2 | <= 1.17.x |
| 2.9.0 | <= 1.16.x |
Expand Down
61 changes: 39 additions & 22 deletions charts/releases/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
apiVersion: v1
entries:
istio-ratelimit-operator:
- apiVersion: v2
appVersion: 2.13.0
created: "2024-05-12T14:43:21.17818+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
digest: 6e92a843fe8ee8e12e708bbc359262f07e9af9466c7506c92bfd083a9dd32b58
home: https://github.com/zufardhiyaulhaq/istio-ratelimit-operator
maintainers:
- email: zufardhiyaulhaq@gmail.com
name: Zufar Dhiyaulhaq
url: https://zufardhiyaulhaq.com
name: istio-ratelimit-operator
type: application
urls:
- istio-ratelimit-operator-2.13.0.tgz
version: 2.13.0
- apiVersion: v2
appVersion: 2.11.1
created: "2023-10-12T11:33:27.214195+07:00"
created: "2024-05-12T14:43:21.177443+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -20,7 +37,7 @@ entries:
version: 2.11.1
- apiVersion: v2
appVersion: 2.11.0
created: "2023-10-12T11:33:27.213107+07:00"
created: "2024-05-12T14:43:21.176092+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -37,7 +54,7 @@ entries:
version: 2.11.0
- apiVersion: v2
appVersion: 2.10.2
created: "2023-10-12T11:33:27.211698+07:00"
created: "2024-05-12T14:43:21.174846+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -54,7 +71,7 @@ entries:
version: 2.10.2
- apiVersion: v2
appVersion: 2.10.1
created: "2023-10-12T11:33:27.209978+07:00"
created: "2024-05-12T14:43:21.171833+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -71,7 +88,7 @@ entries:
version: 2.10.1
- apiVersion: v2
appVersion: 2.10.0
created: "2023-10-12T11:33:27.207524+07:00"
created: "2024-05-12T14:43:21.170004+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -88,7 +105,7 @@ entries:
version: 2.10.0
- apiVersion: v2
appVersion: 2.10.0-rc.2
created: "2023-10-12T11:33:27.205706+07:00"
created: "2024-05-12T14:43:21.168586+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -105,7 +122,7 @@ entries:
version: 2.10.0-rc.2
- apiVersion: v2
appVersion: 2.10.0-rc.1
created: "2023-10-12T11:33:27.204007+07:00"
created: "2024-05-12T14:43:21.167267+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -122,7 +139,7 @@ entries:
version: 2.10.0-rc.1
- apiVersion: v2
appVersion: 2.10.0-rc.0
created: "2023-10-12T11:33:27.202373+07:00"
created: "2024-05-12T14:43:21.166008+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -139,7 +156,7 @@ entries:
version: 2.10.0-rc.0
- apiVersion: v2
appVersion: 2.9.0
created: "2023-10-12T11:33:27.231498+07:00"
created: "2024-05-12T14:43:21.19301+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -156,7 +173,7 @@ entries:
version: 2.9.0
- apiVersion: v2
appVersion: 2.8.0
created: "2023-10-12T11:33:27.230039+07:00"
created: "2024-05-12T14:43:21.191627+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -173,7 +190,7 @@ entries:
version: 2.8.0
- apiVersion: v2
appVersion: 2.7.0
created: "2023-10-12T11:33:27.227722+07:00"
created: "2024-05-12T14:43:21.190269+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -190,7 +207,7 @@ entries:
version: 2.7.0
- apiVersion: v2
appVersion: 2.6.1
created: "2023-10-12T11:33:27.226157+07:00"
created: "2024-05-12T14:43:21.188786+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -207,7 +224,7 @@ entries:
version: 2.6.1
- apiVersion: v2
appVersion: 2.6.0
created: "2023-10-12T11:33:27.224704+07:00"
created: "2024-05-12T14:43:21.186912+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -224,7 +241,7 @@ entries:
version: 2.6.0
- apiVersion: v2
appVersion: 2.5.1
created: "2023-10-12T11:33:27.223239+07:00"
created: "2024-05-12T14:43:21.18523+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -241,7 +258,7 @@ entries:
version: 2.5.1
- apiVersion: v2
appVersion: 2.5.0
created: "2023-10-12T11:33:27.221705+07:00"
created: "2024-05-12T14:43:21.18396+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -258,7 +275,7 @@ entries:
version: 2.5.0
- apiVersion: v2
appVersion: 2.4.0
created: "2023-10-12T11:33:27.220027+07:00"
created: "2024-05-12T14:43:21.182591+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -275,7 +292,7 @@ entries:
version: 2.4.0
- apiVersion: v2
appVersion: 2.3.0
created: "2023-10-12T11:33:27.217923+07:00"
created: "2024-05-12T14:43:21.180958+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -292,7 +309,7 @@ entries:
version: 2.3.0
- apiVersion: v2
appVersion: 2.2.0
created: "2023-10-12T11:33:27.215981+07:00"
created: "2024-05-12T14:43:21.179308+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -309,7 +326,7 @@ entries:
version: 2.2.0
- apiVersion: v2
appVersion: 2.1.0
created: "2023-10-12T11:33:27.200851+07:00"
created: "2024-05-12T14:43:21.164583+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -326,7 +343,7 @@ entries:
version: 2.1.0
- apiVersion: v2
appVersion: 2.0.0
created: "2023-10-12T11:33:27.199318+07:00"
created: "2024-05-12T14:43:21.163281+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -343,7 +360,7 @@ entries:
version: 2.0.0
- apiVersion: v2
appVersion: 1.0.0
created: "2023-10-12T11:33:27.196349+07:00"
created: "2024-05-12T14:43:21.161261+07:00"
description: Istio ratelimit operator provide an easy way to configure Global
or Local Ratelimit in Istio mesh. Istio ratelimit operator also support EnvoyFilter
versioning!
Expand All @@ -358,4 +375,4 @@ entries:
urls:
- istio-ratelimit-operator-1.0.0.tgz
version: 1.0.0
generated: "2023-10-12T11:33:27.194592+07:00"
generated: "2024-05-12T14:43:21.158645+07:00"
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
app: istio-ingressgateway
istio: ingressgateway
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
app: istio-ingressgateway
istio: ingressgateway
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
app: istio-ingressgateway
istio: ingressgateway
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
app: istio-ingressgateway
istio: ingressgateway
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
labels:
app: podinfo
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
labels:
app: podinfo
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
labels:
app: podinfo
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
labels:
app: podinfo
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
app: istio-ingressgateway
istio: ingressgateway
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
labels:
app: podinfo
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
1 change: 0 additions & 1 deletion examples/global/gateway/fqdn/globalratelimitconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ spec:
labels:
"app": "istio-public-gateway"
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ spec:
labels:
"app": "istio-public-gateway"
istio_version:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
Expand Down
Loading

0 comments on commit a1ed6f6

Please sign in to comment.