Skip to content

Commit

Permalink
fix reload statsd exporter
Browse files Browse the repository at this point in the history
Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
  • Loading branch information
zufardhiyaulhaq committed Oct 12, 2023
1 parent 865cdd8 commit dcb7b4f
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 31 deletions.
6 changes: 3 additions & 3 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.0](https://img.shields.io/badge/Version-2.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.11.0](https://img.shields.io/badge/AppVersion-2.11.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)
![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)

## 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.0 --values values.yaml
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.11.1 --values values.yaml
```

## Usage
Expand Down Expand Up @@ -101,7 +101,7 @@ 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.11.0"` | |
| operator.tag | string | `"v2.11.1"` | |
| resources.limits.cpu | string | `"512m"` | |
| resources.limits.memory | string | `"512Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/istio-ratelimit-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
apiVersion: v2
name: istio-ratelimit-operator
description: 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.0
appVersion: 2.11.0
version: 2.11.1
appVersion: 2.11.1
type: application
home: https://github.com/zufardhiyaulhaq/istio-ratelimit-operator

Expand Down
6 changes: 3 additions & 3 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.0](https://img.shields.io/badge/Version-2.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.11.0](https://img.shields.io/badge/AppVersion-2.11.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)
![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)

## 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.0 --values values.yaml
helm install my-istio-ratelimit-operator istio-ratelimit-operator/istio-ratelimit-operator --version 2.11.1 --values values.yaml
```

## Usage
Expand Down Expand Up @@ -101,7 +101,7 @@ 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.11.0"` | |
| operator.tag | string | `"v2.11.1"` | |
| resources.limits.cpu | string | `"512m"` | |
| resources.limits.memory | string | `"512Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/istio-ratelimit-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ operator:
# image of istio-ratelimit-operator
image: "zufardhiyaulhaq/istio-ratelimit-operator"
# tag of istio-ratelimit-operator image
tag: "v2.11.0"
tag: "v2.11.1"
# number of replica for deployment
replica: 1

Expand Down
59 changes: 38 additions & 21 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.11.1
created: "2023-10-12T11:33:27.214195+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: 545c038dcbf44a7b06b099245976f6aa6b394d29cd40e2b8205a6c1f2c016f66
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.11.1.tgz
version: 2.11.1
- apiVersion: v2
appVersion: 2.11.0
created: "2023-08-03T11:05:05.255868+07:00"
created: "2023-10-12T11:33:27.213107+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.0
- apiVersion: v2
appVersion: 2.10.2
created: "2023-08-03T11:05:05.255044+07:00"
created: "2023-10-12T11:33:27.211698+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.10.2
- apiVersion: v2
appVersion: 2.10.1
created: "2023-08-03T11:05:05.253812+07:00"
created: "2023-10-12T11:33:27.209978+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.1
- apiVersion: v2
appVersion: 2.10.0
created: "2023-08-03T11:05:05.251807+07:00"
created: "2023-10-12T11:33:27.207524+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.0
- apiVersion: v2
appVersion: 2.10.0-rc.2
created: "2023-08-03T11:05:05.250175+07:00"
created: "2023-10-12T11:33:27.205706+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-rc.2
- apiVersion: v2
appVersion: 2.10.0-rc.1
created: "2023-08-03T11:05:05.248784+07:00"
created: "2023-10-12T11:33:27.204007+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.1
- apiVersion: v2
appVersion: 2.10.0-rc.0
created: "2023-08-03T11:05:05.245993+07:00"
created: "2023-10-12T11:33:27.202373+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.0
- apiVersion: v2
appVersion: 2.9.0
created: "2023-08-03T11:05:05.269817+07:00"
created: "2023-10-12T11:33:27.231498+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.9.0
- apiVersion: v2
appVersion: 2.8.0
created: "2023-08-03T11:05:05.268102+07:00"
created: "2023-10-12T11:33:27.230039+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.8.0
- apiVersion: v2
appVersion: 2.7.0
created: "2023-08-03T11:05:05.266777+07:00"
created: "2023-10-12T11:33:27.227722+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.7.0
- apiVersion: v2
appVersion: 2.6.1
created: "2023-08-03T11:05:05.265385+07:00"
created: "2023-10-12T11:33:27.226157+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.6.1
- apiVersion: v2
appVersion: 2.6.0
created: "2023-08-03T11:05:05.263994+07:00"
created: "2023-10-12T11:33:27.224704+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.0
- apiVersion: v2
appVersion: 2.5.1
created: "2023-08-03T11:05:05.262592+07:00"
created: "2023-10-12T11:33:27.223239+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.5.1
- apiVersion: v2
appVersion: 2.5.0
created: "2023-08-03T11:05:05.261339+07:00"
created: "2023-10-12T11:33:27.221705+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.0
- apiVersion: v2
appVersion: 2.4.0
created: "2023-08-03T11:05:05.260132+07:00"
created: "2023-10-12T11:33:27.220027+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.4.0
- apiVersion: v2
appVersion: 2.3.0
created: "2023-08-03T11:05:05.258715+07:00"
created: "2023-10-12T11:33:27.217923+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.3.0
- apiVersion: v2
appVersion: 2.2.0
created: "2023-08-03T11:05:05.257428+07:00"
created: "2023-10-12T11:33:27.215981+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.2.0
- apiVersion: v2
appVersion: 2.1.0
created: "2023-08-03T11:05:05.244408+07:00"
created: "2023-10-12T11:33:27.200851+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.1.0
- apiVersion: v2
appVersion: 2.0.0
created: "2023-08-03T11:05:05.242992+07:00"
created: "2023-10-12T11:33:27.199318+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.0.0
- apiVersion: v2
appVersion: 1.0.0
created: "2023-08-03T11:05:05.241709+07:00"
created: "2023-10-12T11:33:27.196349+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 @@ -341,4 +358,4 @@ entries:
urls:
- istio-ratelimit-operator-1.0.0.tgz
version: 1.0.0
generated: "2023-08-03T11:05:05.240093+07:00"
generated: "2023-10-12T11:33:27.194592+07:00"
Binary file not shown.
2 changes: 1 addition & 1 deletion controllers/ratelimitservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func reloadStatsdExporter(domain string) error {
Timeout: 5 * time.Second,
}

response, err := client.Post(domain+"/-/reload", "", nil)
response, err := client.Post(domain+":9102/-/reload", "", nil)
if err != nil {
return err
}
Expand Down

0 comments on commit dcb7b4f

Please sign in to comment.