Commit graph

7409 commits

Author SHA1 Message Date
Ricardo Katz
d144b36c52 Bump Go version to 1.21.1 (#10377)
* Bump Go version to 1.21.1

* Bump testrunner image
2023-09-07 13:40:58 -07:00
Ricardo Katz
6cc08ca8ff Bump Go version to 1.21.1 on testrunner (#10378) 2023-09-07 16:55:06 -03:00
Chen Chen
bdd73eed04 Add golangci github action and replace the deprecated golint (#10187)
* Add golangci github action and replace the deprecated golint

Signed-off-by: z1cheng <imchench@gmail.com>

* Install if golangci-lint not exists

Signed-off-by: z1cheng <imchench@gmail.com>

* Use -z operator

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix json tag for DatadogSampleRate field in config.go

Signed-off-by: z1cheng <imchench@gmail.com>

* Add golangci linters

Signed-off-by: z1cheng <imchench@gmail.com>

* Revert DatadogSampleRate fix

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix comments

Signed-off-by: z1cheng <imchench@gmail.com>

* Add a new line

Signed-off-by: z1cheng <imchench@gmail.com>

* fixup! Add a new line

Signed-off-by: z1cheng <imchench@gmail.com>

* Add trigger condition

Signed-off-by: z1cheng <imchench@gmail.com>

* Add golint-check entry in makefile

Signed-off-by: Chen Chen <imchench@gmail.com>

* Run golint-check in a container

Signed-off-by: Chen Chen <imchench@gmail.com>

---------

Signed-off-by: z1cheng <imchench@gmail.com>
Signed-off-by: Chen Chen <imchench@gmail.com>
2023-09-06 10:06:53 -07:00
Matt Clegg
a753919ac0 BUGFIX incorrect indentation (#10254)
Error: Failed to render chart: exit status 1: Error: YAML parse error on ingress-nginx/templates/controller-serviceaccount.yaml: error converting YAML to JSON: yaml: line 14: mapping values are not allowed in this context
  Use --debug flag to render out invalid YAML
  Error: plugin "diff" exited with error
2023-09-04 23:57:51 -07:00
dependabot[bot]
c8eb3c4d48 Bump aquasecurity/trivy-action from 0.11.2 to 0.12.0 (#10365)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](41f05d9ecf...fbd16365eb)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2023-09-04 05:37:48 -07:00
Ehsan Saei
34d2d3a37b Upgrade OpenTelemetry to v1.11.0 and gRPC to v1.57.0 (#10352)
* Upgrade OpenTelemetry to v1.11.0 and gRPC to v1.57

* upgrade module
2023-09-03 14:13:47 -07:00
Son Bui
ab6335224a fix: path with sepecial characters warning #10281 #10308 (#10330) 2023-09-03 14:09:47 -07:00
dependabot[bot]
5572938edd Bump docker/setup-buildx-action from 2.9.1 to 2.10.0 (#10353)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](4c0219f9ac...885d1462b8)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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>
2023-08-31 00:52:48 -07:00
Chen Chen
20c2ec79c2 Fix golangci-lint errors (#10196)
* Fix golangci-lint errors

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix dupl errors

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix comments

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix errcheck lint errors

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix assert in e2e test

Signed-off-by: z1cheng <imchench@gmail.com>

* Not interrupt the waitForPodsReady

Signed-off-by: z1cheng <imchench@gmail.com>

* Replace string with constant

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix comments

Signed-off-by: z1cheng <imchench@gmail.com>

* Revert write file permision

Signed-off-by: z1cheng <imchench@gmail.com>

---------

Signed-off-by: z1cheng <imchench@gmail.com>
2023-08-31 00:36:48 -07:00
Son Bui
1daa42d1a7 chore(build): Fix Run make dev-env syntax error (#10294)
* fix: Run make dev-env syntax error #10293

Signed-off-by: Son Bui <sonbv00@gmail.com>

* fix: Run make dev-env value too great for base #10294

---------

Signed-off-by: Son Bui <sonbv00@gmail.com>
2023-08-30 19:06:47 -07:00
Rudolf Byker
e290d357f0 Add firewall configuration to quick start documentation (#10357) 2023-08-29 00:17:22 -07:00
Marcelo Cyreno
6fe32e6c8a Making auth access logs optional (#10335) 2023-08-28 07:37:44 -07:00
dependabot[bot]
9d0adff961 Bump actions/checkout from 3.5.3 to 3.6.0 (#10354)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](c85c95e3d7...f43a0e5ff2)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-08-28 04:55:43 -07:00
dependabot[bot]
598d5176d9 Bump actions/dependency-review-action from 3.0.6 to 3.0.8 (#10333)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3.0.6 to 3.0.8.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](1360a344cc...f6fff72a32)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  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>
2023-08-26 16:59:22 -07:00
Marcelo Cyreno
412c6b7c76 Fix “dev-env” Makefile target to work with kubectl 1.28+ (#10350) 2023-08-25 20:25:21 -07:00
Son Bui
378ca12901 fix: update action file to auto release plugin #10197 (#10321)
Signed-off-by: Son Bui <sonbv00@gmail.com>
2023-08-25 06:00:53 -07:00
Ciprian Hacman
a2b3d964c1 Use gzip instead of pigz in CI (#10348)
Signed-off-by: Ciprian Hacman <chacman@microsoft.com>
2023-08-24 21:33:19 -07:00
dependabot[bot]
c0d1e76a9d Bump actions/setup-go from 4.0.1 to 4.1.0 (#10313)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](fac708d667...93397bea11)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2023-08-23 15:26:00 -07:00
dependabot[bot]
634f463ccc Bump securego/gosec from 2.16.0 to 2.17.0 (#10332)
Bumps [securego/gosec](https://github.com/securego/gosec) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/securego/gosec/releases)
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml)
- [Commits](c5ea1b7bdd...a89e9d5a7a)

---
updated-dependencies:
- dependency-name: securego/gosec
  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>
2023-08-21 06:21:23 -07:00
dependabot[bot]
e99e2f1482 Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 (#10314)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](336e29918d...3fa32b8bb5)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2023-08-16 02:44:27 -07:00
Mark Ley
d7bfa1941d Disable Modsecurity from internal processing which affects large ingresses (#10316)
* Disable Modsecurity from interanl processing

* Fix modsecurity check logic
2023-08-14 10:35:21 -07:00
Lucas Fernando Cardoso Nunes
ec33a0e6c7 fix: add /etc/mime.types #10309 (#10310)
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
2023-08-13 08:27:20 -07:00
Son Bui
2a80fea36b Remove curl dependencies in e2e tests #9716 (#10296)
* fix: Replace curl list backend with dbg command #9716

Signed-off-by: Son Bui <sonbv00@gmail.com>

* fix: Remove curl dependencies in e2e tests #9716

Signed-off-by: Son Bui <sonbv00@gmail.com>

---------

Signed-off-by: Son Bui <sonbv00@gmail.com>
2023-08-11 20:21:19 -07:00
dependabot[bot]
2b17386db0 Bump github.com/opencontainers/runc from 1.1.8 to 1.1.9 (#10298)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.9/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  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>
2023-08-11 13:11:22 -07:00
logica
c608f4183e Bump k8s.io/component-base from 0.26.4 to 0.27.4 (Replace Topology Aware Hints with Topology Aware Routing) (#10282)
* Bump k8s.io/component-base from 0.26.4 to 0.27.4

Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.26.4 to 0.27.4.
- [Commits](https://github.com/kubernetes/component-base/compare/v0.26.4...v0.27.4)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* changed annotation to TopologyMode

* fixed documents

* fixed test

* using api constraint for test deployment options

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 07:17:27 -07:00
Jack
25c095c7f9 docs: swap explanation to match example (#10220) 2023-08-11 07:13:27 -07:00
Jintao Zhang
a4f1d2da64 ci(helm): fix Helm Chart release action 422 error (#10237)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2023-08-11 07:11:27 -07:00
Kazuki Suda
13269bd5dc helm: Use .Release.Namespace as default for ServiceMonitor namespace (#10249)
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2023-08-11 07:09:27 -07:00
Altif
bdaacf656b Updated index.md - Fix typos (#10256) 2023-08-11 07:07:27 -07:00
dependabot[bot]
59c0d69c29 Bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#10258)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.2 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.57.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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>
2023-08-11 07:05:28 -07:00
Gabor Lekeny
959bbfe028 Handle request_id variable correctly in auth requests (#9219)
* Handle $request_id variable correctly in auth requests

* Make share_all_vars configurable

* Fix test name
2023-08-07 06:16:32 -07:00
dependabot[bot]
ff2e535ab2 Bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#10280)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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>
2023-08-07 05:52:31 -07:00
James Strong
4b7365a6d1 test kind updates (#10272)
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-08-02 07:12:42 -07:00
Ehsan Saei
9e43122ef3 promote distroless otel init image (#10257) 2023-08-02 03:34:49 -07:00
Jan-Otto Kröpke
a1ca30f37e [helm] configure allow to configure hostAliases (#10180)
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
2023-07-28 04:41:56 -07:00
dependabot[bot]
e8f5e88cf6 Bump github.com/opencontainers/runc from 1.1.7 to 1.1.8 (#10244)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.8/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.7...v1.1.8)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  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>
2023-07-24 10:22:13 -07:00
Chen Chen
c7a497e217 Add rolling update strategy to each static deployment file (#10129)
* Add rollingUpdate strategy to each static deployment file

Signed-off-by: z1cheng <imchench@gmail.com>

* Update the templates and regenerate

Signed-off-by: z1cheng <imchench@gmail.com>

* Upgrade k8s version and add rolling update for exoscale

Signed-off-by: z1cheng <imchench@gmail.com>

* Add rolling update strategy to Oracle template

Signed-off-by: z1cheng <imchench@gmail.com>

* Revert the k8s version in generate-deploy-scripts.sh

Signed-off-by: z1cheng <imchench@gmail.com>

---------

Signed-off-by: z1cheng <imchench@gmail.com>
2023-07-24 08:26:13 -07:00
Ricardo Katz
5fe29c3be1 Implement annotation validation (#9673)
* Add validation to all annotations

* Add annotation validation for fcgi

* Fix reviews and fcgi e2e

* Add flag to disable cross namespace validation

* Add risk, flag for validation, tests

* Add missing formating

* Enable validation by default on tests

* Test validation flag

* remove ajp from list

* Finalize validation changes

* Add validations to CI

* Update helm docs

* Fix code review

* Use a better name for annotation risk
2023-07-21 20:32:07 -07:00
James Strong
817ab796ef Merge pull request #10235 from tao12345666333/fix-sha
fix NGINX deps sha256sum
2023-07-21 21:37:52 -04:00
Jintao Zhang
3ac66de80c fix deps sha
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2023-07-22 06:41:22 +08:00
James Strong
d43fe46b30 Merge pull request #10232 from strongjz/fix-images-tags
Fix images tags
2023-07-20 21:10:19 -04:00
James Strong
1e8b479289 update reg
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-07-20 21:05:38 -04:00
James Strong
91d8c48e37 fix gcloud builds
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-07-20 21:04:21 -04:00
James Strong
ad65cb2360 Golang 1.20.6 for test runner (#10230)
* Golang 1.20.6 for test runner

* alpine 3.18.2 as well

Signed-off-by: James Strong <strong.james.e@gmail.com>

---------

Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-07-20 14:34:12 -07:00
Jan-Otto Kröpke
e7c4eacaff [helm] pass service annotations through helm tpl engine (#10084)
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
2023-07-20 11:00:10 -07:00
amirschw
2ebd4ac89e Ignore deployment template's replicas if KEDA is enabled (#9534) 2023-07-20 10:34:11 -07:00
Jintao Zhang
948df2a2b0 chore: bump OpenResty to v1.21.4.2 (#10219)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2023-07-20 08:36:09 -07:00
dependabot[bot]
8600b2134d Bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#10193)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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>
2023-07-17 05:49:09 -07:00
dependabot[bot]
e759d380ed Bump docker/setup-buildx-action from 2.9.0 to 2.9.1 (#10207)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](2a1a44ac4a...4c0219f9ac)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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>
2023-07-17 04:47:08 -07:00
lijie
4704b91c72 Scanning port 10247 lead to tcp connection 502 error (#9815)
* fix tcp 502 error

* fix tcp 502 error for parse tcp  backend data

* fix tcp 502 error for parse tcp  backend data
2023-07-16 13:45:06 -07:00