Commit graph

6538 commits

Author SHA1 Message Date
Ismayil Mirzali
96814ec392 Reimplement kubectl plugin release workflow (#8812)
* Feat: reimplement kubectl plugin release system

This commit does the following changes:
- Add GitHub Actions pipeline for releasing the plugin
- Removes the build/build-plugin.sh and replaces this with GoReleaser
- Adds the use of krew-release-bot for automatically updating the krew
  release
- Removes the make target for build/build-plugin.sh

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

* Fix: pin github actions stages with commit sha

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-08-11 21:22:43 -07:00
Ismayil Mirzali
34a6ac59b7 Improve hack/generate-deploy-scripts.sh to no longer generate versioned manifests (#8877)
* feat: no longer generate versioned manifests

Updates the script to no longer generate multiple versioned deploy manifests.
The script will only generate the manifests for one given version of
Kubernetes.

See: https://github.com/kubernetes/ingress-nginx/issues/8824

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

* fix: delete unnecessary versioned deploy manifests

See: https://github.com/kubernetes/ingress-nginx/issues/8824

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-08-09 10:30:37 -07:00
James Strong
b47562b77c Merge pull request #8776 from strongjz/ci-unit-test
Trivy Image Scanning
2022-08-08 17:52:23 -07:00
James Strong
1746338147 remove on pushes
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 17:14:13 -07:00
James Strong
3a16c8fd44 stesting pathing 2022-08-08 17:08:21 -07:00
James Strong
2cc8c88c95 sarif upload issues
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 17:04:59 -07:00
James Strong
2f60f9567e testing output of sarif file
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 16:40:30 -07:00
James Strong
3e7a5739a8 fix permissions
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 16:39:32 -07:00
James Strong
835d41f860 it seems sarif upload needs git information
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 16:17:24 -07:00
James Strong
8e1758bdb5 need short tags
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 16:01:27 -07:00
James Strong
589101274e remove var
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 15:40:06 -07:00
James Strong
e9799b5118 add scanning to CI
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-08-08 15:36:49 -07:00
Long Wu Yuan
4cfb8348ad updated to new images built today (#8896) 2022-08-08 11:40:19 -07:00
dependabot[bot]
bc4fb3e791 Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#8913)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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>
2022-08-08 07:06:19 -07:00
dependabot[bot]
305bd3533b Bump github/codeql-action from 2.1.17 to 2.1.18 (#8914)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.17 to 2.1.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0c670bbf04...2ca79b6fa8)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-08-08 06:58:20 -07:00
dependabot[bot]
4317fc496b Bump github/codeql-action from 2.1.16 to 2.1.17 (#8894)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.16 to 2.1.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3e7e3b32d0...0c670bbf04)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-08-01 05:52:29 -07:00
Long Wu Yuan
fc83b5b896 update to baseiamge built after CI changes (#8892) 2022-08-01 00:58:29 -07:00
Lien Li
322e31421e migrate ginkgo to v2 (#8826)
* Migrate ginkgo to v2

* Update test/e2e/annotations/ipwhitelist.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* Update test/e2e/annotations/modsecurity/modsecurity.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* Update test/e2e/settings/access_log.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* remove unnecessary blank line

* re-order packages

* less change

Co-authored-by: Jintao Zhang <tao12345666333@163.com>
2022-07-31 09:16:28 -07:00
Markus Engel
e72e1e872a add X-Forwarded-For in custom error template (#7892) 2022-07-28 03:23:10 -07:00
Jintao Zhang
aed95867d1 fix: change all cloudbuild jobs configuration (#8870)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-26 14:43:11 -07:00
James Strong
8ad1f7c2bd Update gce docs (#8866)
* update GCE doc with proxy protocol and some fixes

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

* update gke docs

Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-07-26 13:13:10 -07:00
Jintao Zhang
7b78bd5446 fix: change cloudbuild configuration (#8869)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-26 13:01:10 -07:00
Adrián Tóth
2e7a83ef9f version (commit sha) bump for dependency github.com/moul/pb due to dependency licence (#8841) 2022-07-26 12:57:10 -07:00
Jintao Zhang
10e1496803 Revert "fix: test-runner prow build" (#8865)
This reverts commit 3d3a572a54.
2022-07-24 18:40:58 -07:00
Jintao Zhang
8759ffee6b fix: test-runner prow build (#8864)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-24 09:22:57 -07:00
Ismayil Mirzali
d91ef27863 fix: make use of sed portable for BSD and GNU (#8859)
Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-07-24 09:10:56 -07:00
Jintao Zhang
3d3a572a54 fix: test-runner prow build
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-25 00:08:53 +08:00
Long Wu Yuan
69e38f4ca6 update baseimage after bump of opentracing-cpp (#8861) 2022-07-24 09:00:57 -07:00
Long Wu Yuan
842f306273 changed baseimage sha & bumped ginkgo to 2.1.4 in test (#8860) 2022-07-23 18:54:57 -07:00
David Goffredo
c1e0c11c9a update dd-opentracing-cpp version in nginx build script (#8848)
* update dd-opentracing-cpp version in nginx build script

* idiomatic placement of "v" prefix in Datadog plugin version tag
2022-07-23 11:02:57 -07:00
Long Wu Yuan
201c14ae99 bump to alpine-3.16.1 (#8858) 2022-07-23 07:24:57 -07:00
qilong.qiu
2e55ab3b19 Add docs on Election ID to Multiple Ingress Controller guide (#8855) 2022-07-22 04:21:38 -07:00
Ricardo Katz
634ef5322a Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
James Strong
8d88c8c18a Merge pull request #8853 from rikatz/move-more-utils
Move utils to better locations to help in decoupling
2022-07-21 18:24:42 -04:00
Ricardo Pchevuzinske Katz
12f767268f Move TCPProxy to pkg 2022-07-21 18:08:28 -03:00
Ricardo Pchevuzinske Katz
b210a1eb0b Move util to specific package location 2022-07-21 18:06:55 -03:00
Long Wu Yuan
3f13781f4b added fixes for make dev-env (#8804) 2022-07-20 17:57:44 -07:00
Ricardo Katz
683d2c4344 Decouple shared functions between controllers (#8829)
* Decouple shared functions between controllers

* Apply suggestions from code review

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* Fix package names and fmt

Co-authored-by: Jintao Zhang <tao12345666333@163.com>
2022-07-20 11:53:44 -07:00
Long Wu Yuan
8a934d1f2c bumped kubectl to v1.24.0 (#8807) 2022-07-20 09:10:36 -07:00
inosato
40e2225aeb FIx typo x_forwarded_for (#8838) 2022-07-20 08:46:36 -07:00
Jintao Zhang
845b4230ac fix: test-runner Makefile (#8840)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-19 10:56:08 -07:00
dependabot[bot]
24adc59116 Bump google.golang.org/grpc from 1.47.0 to 1.48.0 (#8833)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.48.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>
2022-07-18 07:07:15 -07:00
dependabot[bot]
5127ae6549 Bump github/codeql-action from 2.1.15 to 2.1.16 (#8837)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.15 to 2.1.16.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3f62b754e2...3e7e3b32d0)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-07-18 07:05:15 -07:00
dependabot[bot]
074d95b828 Bump github.com/prometheus/common from 0.35.0 to 0.37.0 (#8832)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.35.0 to 0.37.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.35.0...v0.37.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2022-07-18 07:03:15 -07:00
dependabot[bot]
097fb50694 Bump actions/dependency-review-action from 2.0.2 to 2.0.4 (#8836)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](1c59cdf2a9...94145f3150)

---
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>
2022-07-18 05:39:16 -07:00
dependabot[bot]
0f46587b4b Bump actions/setup-go from 3.2.0 to 3.2.1 (#8835)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](b22fbbc292...84cbf80943)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2022-07-18 05:37:15 -07:00
Lien Li
664985cc1b Migrate ginkgo to v2 in e2e-test-runner (#8830) 2022-07-17 22:19:20 -07:00
Guilhem Lettron
e704530a50 feat: update mimalloc to 1.7.6 (#8827)
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
2022-07-17 12:13:20 -07:00
Philipp B
5a2c0054b1 fix(docs): describe MetalLB configuration via CRDs rather than configMap (#8821)
Signed-off-by: Philipp Born <mail@philipp-born.eu>
2022-07-13 02:53:37 -07:00
Miguel Martínez
7b51026841 Fixed typo (#8817) 2022-07-12 17:41:37 -07:00