Skip to content

Commit

Permalink
[release/v1.2] Cherry pick main to v1.2 (#4640)
Browse files Browse the repository at this point in the history
* Reduce the amount of configuration logging, and make it line-delimeted friendly (#4505)

* Reduce the amount and style of configuration logging

Signed-off-by: Evan Anderson <evan@stacklok.com>

* Update verbosity from 1->4

Signed-off-by: Evan Anderson <evan@stacklok.com>
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

---------

Signed-off-by: Evan Anderson <evan@stacklok.com>
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
(cherry picked from commit 7897fc5)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* feat: enable load backend resources (#4535)

enable load backend resources

Signed-off-by: shawnh2 <shawnhxh@outlook.com>
(cherry picked from commit 9c9f435)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#4537)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@0a44ba7...39370e3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
(cherry picked from commit 6ccbbac)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* chore: optimized code (#4514)

* chore: optimized code

Signed-off-by: zirain <zirain2009@gmail.com>

* revert

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit 7ad18fa)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (#4538)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f779452...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-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>
(cherry picked from commit a13f384)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump distroless/static from `26f9b99` to `3a03fc0` in /tools/docker/envoy-gateway (#4541)

build(deps): bump distroless/static in /tools/docker/envoy-gateway

Bumps distroless/static from `26f9b99` to `3a03fc0`.

---
updated-dependencies:
- dependency-name: distroless/static
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6667e4c)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 in /tools/github-actions/setup-deps (#4540)

build(deps): bump actions/setup-go in /tools/github-actions/setup-deps

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@0a12ed9...41dfa10)

---
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>
(cherry picked from commit de72c77)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/replicatedhq/troubleshoot from 0.107.1 to 0.107.4 (#4543)

build(deps): bump github.com/replicatedhq/troubleshoot

Bumps [github.com/replicatedhq/troubleshoot](https://github.com/replicatedhq/troubleshoot) from 0.107.1 to 0.107.4.
- [Release notes](https://github.com/replicatedhq/troubleshoot/releases)
- [Commits](replicatedhq/troubleshoot@v0.107.1...v0.107.4)

---
updated-dependencies:
- dependency-name: github.com/replicatedhq/troubleshoot
  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>
(cherry picked from commit 189325b)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/tsaarni/certyaml from 0.9.3 to 0.10.0 (#4546)

Bumps [github.com/tsaarni/certyaml](https://github.com/tsaarni/certyaml) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/tsaarni/certyaml/releases)
- [Commits](tsaarni/certyaml@v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/tsaarni/certyaml
  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>
(cherry picked from commit 5e397ea)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#4539)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
(cherry picked from commit a9e5cfe)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 (#4545)

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](fatih/color@v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  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>
(cherry picked from commit 902925f)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* e2e test for Gateway with EnvoyProxy (#4548)

* e2e test for Gateway with EnvoyProxy

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* remove unnecessary comments

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 217c6a5)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* make watching alpha CRDs optional (#4519)

* make watching alpha CRDs optional

* The ownership of CRD installation is not tied to a single entity
https://gateway-api.sigs.k8s.io/guides/crd-management/#who-should-manage-crds
This results in multiple entities taking ownership of CRD installation
  * infra users
  * implementations
  * cloud providers

This complicates things for implementations who may not know which
version and release of CRDs are installed, so this PR makes watching
alpha versioned CRDs optional

* Even Envoy Gateway specific CRDs have been made optional to solve the
  use case where users want to only configure Gateway API resources

* GRPCRoute is the only exception, which is v1, but has been made
  optional because it just graduated to v1 in v1.2
  but a lot of cloud providers or service mesh implementations
  have not moved to v1.2

Fixes: #3387

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit b877bac)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: validate proto messages before converting them to anypb.Any (#4499)

* validate proto message before converting to any

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 05817fc)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* Fix: xds translation failed when wasm http code source configured without sha (#4547)

* fix wasm http code source without sha

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* release note

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix gen

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix gen

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 74e5750)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump sigs.k8s.io/controller-runtime from 0.19.0 to 0.19.1 (#4544)

* build(deps): bump sigs.k8s.io/controller-runtime from 0.19.0 to 0.19.1

Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.19.0...v0.19.1)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* fix gen check

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit f5552a4)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* feat(chart): Make security context configurable (#4536)

* Make security context configurable

Signed-off-by: Tamal Saha <tamal@appscode.com>

* make gen-check

Signed-off-by: Tamal Saha <tamal@appscode.com>

* Update current.yaml

Signed-off-by: Tamal Saha <tamal@appscode.com>

---------

Signed-off-by: Tamal Saha <tamal@appscode.com>
(cherry picked from commit 20a4622)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* helm: make eg-addons support IPv6 cluster (#4559)

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit b0c6f8c)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* ci: cleanup osv-scanner config (#4579)

Signed-off-by: Shahar Harari <shahar.harari@sap.com>
(cherry picked from commit 1a275b9)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix egctl release artifacts (#4580)

* the release artifact for `egctl` was being pulled from
the `latest` release instead of a binary associated with
the release tag

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 82ce107)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix debug level logging for IR (#4584)

https://pkg.go.dev/github.com/go-logr/zapr#hdr-Implementation_Details
```
V(1) is equivalent to Zap's DebugLevel
```

Now after setting the log level to `default: debug`

I see

```
2024-10-31T01:59:31.138Z	DEBUG	gateway-api	runner/runner.go:176	{"proxy":{"metadata":{"labels":{"gateway.envoyproxy.io/owning-gateway-name":"eg","gateway.envoyproxy.io/owning-gateway-namespace":"default"}},"name":"default/eg","listeners":[{"name":"default/eg/http","address":null,"ports":[{"name":"http-80","protocol":"HTTP","servicePort":80,"containerPort":10080}]}]}}	{"runner": "gateway-api", "infra-ir": "default/eg"}
2024-10-31T01:59:31.138Z	DEBUG	gateway-api	runner/runner.go:187	{"accessLog":{"text":[{"path":"/dev/stdout"}]},"http":[{"name":"default/eg/http","address":"0.0.0.0","port":10080,"metadata":{"kind":"Gateway","name":"eg","namespace":"default","sectionName":"http"},"hostnames":["*"],"routes":[{"name":"httproute/default/backend/rule/0/match/0/www_example_com","hostname":"www.example.com","isHTTP2":false,"pathMatch":{"name":"","prefix":"/","distinct":false},"destination":{"name":"httproute/default/backend/rule/0","settings":[{"weight":1,"protocol":"HTTP","endpoints":[{"host":"10.1.19.7","port":3000}],"addressType":"IP"}]},"metadata":{"kind":"HTTPRoute","name":"backend","namespace":"default"}}],"isHTTP2":false,"path":{"mergeSlashes":true,"escapedSlashesAction":"UnescapeAndRedirect"}}]}	{"runner": "gateway-api", "xds-ir": "default/eg"}
```

Relates to #4505

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit e6307f0)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* docs: remove List type (#4585)

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit 13490ac)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* ci: enable test for dual stack cluster (#4574)

* ci: enable dual stack test

Signed-off-by: zirain <zirain2009@gmail.com>

* more comment

Signed-off-by: zirain <zirain2009@gmail.com>

* remove 1.31.0 ipv4 test suite

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit bb3bbdb)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump the k8s-io group across 2 directories with 6 updates (#4542)

* build(deps): bump the k8s-io group across 2 directories with 6 updates

Bumps the k8s-io group with 4 updates in the / directory: [k8s.io/api](https://github.com/kubernetes/api), [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver), [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) and [k8s.io/kubectl](https://github.com/kubernetes/kubectl).
Bumps the k8s-io group with 1 update in the /examples/extension-server directory: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery).

Updates `k8s.io/api` from 0.31.1 to 0.31.2
- [Commits](kubernetes/api@v0.31.1...v0.31.2)

Updates `k8s.io/apiextensions-apiserver` from 0.31.1 to 0.31.2
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.31.1...v0.31.2)

Updates `k8s.io/apimachinery` from 0.31.1 to 0.31.2
- [Commits](kubernetes/apimachinery@v0.31.1...v0.31.2)

Updates `k8s.io/cli-runtime` from 0.31.1 to 0.31.2
- [Commits](kubernetes/cli-runtime@v0.31.1...v0.31.2)

Updates `k8s.io/client-go` from 0.31.1 to 0.31.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.31.1...v0.31.2)

Updates `k8s.io/kubectl` from 0.31.1 to 0.31.2
- [Commits](kubernetes/kubectl@v0.31.1...v0.31.2)

Updates `k8s.io/apimachinery` from 0.31.1 to 0.31.2
- [Commits](kubernetes/apimachinery@v0.31.1...v0.31.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/kubectl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
...

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

* fix gen

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 74f4377)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* chore: remove dump (#4593)

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit efe625d)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: trigger reconcile for Secret updates referenced by a BackendTLSP… (#4581)

fix: trigger reconcile for Secret updates referenced by a BackendTLSPolicy

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit db68027)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* chore: use net.JoinHostPort (#4599)

* chore: use net.JoinHostPort

Signed-off-by: zirain <zirain2009@gmail.com>

* more fix

Signed-off-by: zirain <zirain2009@gmail.com>

* remove netutils.JoinHostPort

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit 6e2587d)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix keycloak ipv6 issue (#4601)

(cherry picked from commit d42915a)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: Route with multiple parents has incorrect namespace in parentRef status (#4592)

fix route status wrong ns

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 7285dda)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add envoy-gateway binary to release artifacts (#4588)

Fixes: #4566

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit b51c66a)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* [release/v1.1] release v1.1.3 (#4600)

* release: v1.1.3

Signed-off-by: Guy Daich <guy.daich@sap.com>

* remove gw-api, fix style

Signed-off-by: Guy Daich <guy.daich@sap.com>

---------

Signed-off-by: Guy Daich <guy.daich@sap.com>
(cherry picked from commit a88e6eb)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* chore: donot use space in short name (#4608)

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit ee33b28)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* Move v1.1 docs tag to v1.1.2 (#4615)

Wait until v1.1.3 tag is ready

Fixes: #4614

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 656ce52)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: HTTPRoute status only shows one parent when targeting multiple Gateways from different GatewayClasses (#4587)

* fix route status

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* address comment

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* update unit test

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 04ac7b4)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* direct response docs and tests (#4583)

* tests: direct response

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* unit tests

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* fix ns

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* docs for direct response

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* negative tests

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit f384a64)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 (#4619)

Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](fsnotify/fsnotify@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  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>
(cherry picked from commit 6f91867)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/bufbuild/buf from 1.45.0 to 1.46.0 in /tools/src/buf (#4616)

build(deps): bump github.com/bufbuild/buf in /tools/src/buf

Bumps [github.com/bufbuild/buf](https://github.com/bufbuild/buf) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/bufbuild/buf/releases)
- [Changelog](https://github.com/bufbuild/buf/blob/main/CHANGELOG.md)
- [Commits](bufbuild/buf@v1.45.0...v1.46.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/buf
  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>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 2265862)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* remove myself from maintainers (#4624)

remove myself from maintainers and update github user

Signed-off-by: Alice Lilith <lilith.alice@protonmail.com>
(cherry picked from commit 1205ccf)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* e2e: move apps to examples and pre-built (#4576)

* e2e: move grpc-ext-auth envoy-als to examples

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit a011146)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: wasm oci image source e2e test failed when IP_FAMILY=ipv6 (#4623)

fixt wasm test”

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 7b85d22)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* workaroud for the flaky oidc e2e test (#4603)

* workaroud for the flaky oidc e2e test

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add issue link

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* address comment

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix test

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit b0ab317)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump softprops/action-gh-release from 2.0.8 to 2.0.9 (#4622)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@c062e08...e7a8f85)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  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>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 26a63e1)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* Set ignore_health_on_host_removal to true for static clusters (#4612)

Removes the endpoint from the pool faster instead of waiting
for the result of the active health.
Since the control plane already has definitive endpoint health info
from the EndpointSlice API, its safe to set this.

Fixes: #4564

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 1a57daf)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 (#4620)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.60.0...v0.60.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
(cherry picked from commit e5968c9)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/replicatedhq/troubleshoot from 0.107.4 to 0.107.5 (#4621)

build(deps): bump github.com/replicatedhq/troubleshoot

Bumps [github.com/replicatedhq/troubleshoot](https://github.com/replicatedhq/troubleshoot) from 0.107.4 to 0.107.5.
- [Release notes](https://github.com/replicatedhq/troubleshoot/releases)
- [Commits](replicatedhq/troubleshoot@v0.107.4...v0.107.5)

---
updated-dependencies:
- dependency-name: github.com/replicatedhq/troubleshoot
  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>
(cherry picked from commit 976e6a1)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add docker.io registry name in image name (#4628)

* add docker.io registry name in image name

Fixes: #4626

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* add api file

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit cc71048)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* docs: Jwt claim based authorization (#4617)

* docs for jwt claim auth

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add docs for JWT claim based authorization

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* minor change

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit da4a060)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* build(deps): bump github.com/ohler55/ojg from 1.24.1 to 1.25.0 (#4618)

Bumps [github.com/ohler55/ojg](https://github.com/ohler55/ojg) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/ohler55/ojg/releases)
- [Changelog](https://github.com/ohler55/ojg/blob/develop/CHANGELOG.md)
- [Commits](ohler55/ojg@v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/ohler55/ojg
  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>
Co-authored-by: zirain <zirain2009@gmail.com>
(cherry picked from commit 2d68e6a)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* e2e: use grafana alloy instead of fluent-bit (#4525)

* use grafana alloy instead of fluent-bit

Signed-off-by: zirain <zirain2009@gmail.com>

* make alloy disabled by default

Signed-off-by: zirain <zirain2009@gmail.com>

* enable alloy in e2e

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
(cherry picked from commit 3191d49)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* chore: update site docs link for latest release (#4634)

update site docs link for latest release

Signed-off-by: Guy Daich <guy.daich@sap.com>
(cherry picked from commit 5698e88)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: push a helm chart without v in ther version (#4636)

* push a helm chart without v in ther version

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* rename tag

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit f2c8b77)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add envoy-gateway binary to latest release artifacts (#4638)

* add envoy-gateway binary to latest release artifcats

Missed in #4566

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* fix also in tagged release

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 7b6834e)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix: BackendTlsPolicy specify multiple targetRefs of the same service, only one will work (#4630)

* add tests

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix matching comparison

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* add release note

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 44c2f74)
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

* fix build

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Evan Anderson <evan@stacklok.com>
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Tamal Saha <tamal@appscode.com>
Signed-off-by: Shahar Harari <shahar.harari@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Alice Lilith <lilith.alice@protonmail.com>
Co-authored-by: Evan Anderson <evan.k.anderson@gmail.com>
Co-authored-by: sh2 <shawnhxh@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: Tamal Saha <tamal@appscode.com>
Co-authored-by: shahar-h <shahar.harari@sap.com>
Co-authored-by: Guy Daich <guy.daich@sap.com>
Co-authored-by: Alice Lilith <lilith.alice@protonmail.com>
  • Loading branch information
10 people authored Nov 6, 2024
1 parent b1f517c commit d1fefd8
Show file tree
Hide file tree
Showing 351 changed files with 6,594 additions and 2,520 deletions.
39 changes: 27 additions & 12 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps
# Generate the installation manifests first, so it can check
# for errors while running `make -k lint`
Expand All @@ -31,14 +31,14 @@ jobs:
gen-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps
- run: make -k gen-check

license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps
- run: make -k licensecheck

Expand All @@ -48,7 +48,7 @@ jobs:
contents: read # for actions/checkout
id-token: write # for fetching OIDC token
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

# test
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
needs: [lint, gen-check, license-check, coverage-test]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Build EG Multiarch Binaries
Expand All @@ -87,7 +87,7 @@ jobs:
matrix:
version: [ v1.28.13, v1.29.8, v1.30.4, v1.31.0 ]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Download EG Binaries
Expand All @@ -114,9 +114,21 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [ v1.28.13, v1.29.8, v1.30.4, v1.31.0 ]
target:
- version: v1.28.13
ipFamily: ipv4
- version: v1.29.8
ipFamily: ipv4
- version: v1.30.4
ipFamily: ipv4
# Enable these after https://github.com/envoyproxy/gateway/issues/4572 fixed
# - version: v1.31.0
# ipFamily: ipv6 # only run ipv6 test on latest version to save time
# TODO: this's IPv4 first, need a way to test IPv6 first.
- version: v1.31.0
ipFamily: dual # only run dual test on latest version to save time
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Download EG Binaries
Expand All @@ -133,8 +145,9 @@ jobs:
# E2E
- name: Run E2E Tests
env:
KIND_NODE_TAG: ${{ matrix.version }}
KIND_NODE_TAG: ${{ matrix.target.version }}
IMAGE_PULL_POLICY: IfNotPresent
IP_FAMILY: ${{ matrix.target.ipFamily }}
run: make e2e

benchmark-test:
Expand All @@ -143,7 +156,7 @@ jobs:
if: ${{ ! startsWith(github.event_name, 'push') }}
needs: [build]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Setup Graphviz
Expand All @@ -170,7 +183,7 @@ jobs:
runs-on: ubuntu-latest
needs: [conformance-test, e2e-test]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Download EG Binaries
Expand Down Expand Up @@ -210,4 +223,6 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# use `0.0.0` as the default latest version.
# use `Always` image pull policy for latest version.
run: IMAGE_PULL_POLICY=Always OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=v0.0.0-latest TAG=latest make helm-push
run: |
IMAGE_PULL_POLICY=Always OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=v0.0.0-latest TAG=latest make helm-push
IMAGE_PULL_POLICY=Always OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=0.0.0-latest TAG=latest make helm-push
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Initialize CodeQL
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/autobuild@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand All @@ -48,7 +48,7 @@ jobs:
contents: write
steps:
- name: Git checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -62,7 +62,7 @@ jobs:
extended: true

- name: Setup Node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.1.0
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: '18'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/experimental_conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
version: [ v1.28.13, v1.29.8, v1.30.4, v1.31.0 ]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

# gateway api experimental conformance
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/latest_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
benchmark-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Setup Graphviz
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Generate Release Manifests
Expand All @@ -72,11 +72,15 @@ jobs:

- name: Build egctl latest multiarch binaries
run: |
make build-multiarch BINS="egctl"
tar -zcvf egctl_latest_linux_amd64.tar.gz bin/linux/amd64/
tar -zcvf egctl_latest_linux_arm64.tar.gz bin/linux/arm64/
tar -zcvf egctl_latest_darwin_amd64.tar.gz bin/darwin/amd64/
tar -zcvf egctl_latest_darwin_arm64.tar.gz bin/darwin/arm64/
make build-multiarch
tar -zcvf envoy-gateway_latest_linux_amd64.tar.gz bin/linux/amd64/envoy-gateway
tar -zcvf envoy-gateway_linux_arm64.tar.gz bin/linux/arm64/envoy-gateway
tar -zcvf envoy-gateway_darwin_amd64.tar.gz bin/darwin/amd64/envoy-gateway
tar -zcvf envoy-gateway_darwin_arm64.tar.gz bin/darwin/arm64/envoy-gateway
tar -zcvf egctl_latest_linux_amd64.tar.gz bin/linux/amd64/egctl
tar -zcvf egctl_latest_linux_arm64.tar.gz bin/linux/arm64/egctl
tar -zcvf egctl_latest_darwin_amd64.tar.gz bin/darwin/amd64/egctl
tar -zcvf egctl_latest_darwin_arm64.tar.gz bin/darwin/arm64/egctl
# Ignore the error when we delete the latest release, it might not exist.

Expand All @@ -103,7 +107,7 @@ jobs:
GITHUB_REPOSITORY: ${{ github.repository_owner }}/${{ github.event.repository.name }}

- name: Recreate the Latest Release and Tag
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v0.1.15
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v0.1.15
with:
draft: false
prerelease: true
Expand All @@ -112,6 +116,10 @@ jobs:
release-artifacts/install.yaml
release-artifacts/quickstart.yaml
release-artifacts/benchmark_report.zip
envoy-gateway_latest_linux_amd64.tar.gz
envoy-gateway_latest_linux_arm64.tar.gz
envoy-gateway_latest_darwin_amd64.tar.gz
envoy-gateway_latest_darwin_arm64.tar.gz
egctl_latest_linux_amd64.tar.gz
egctl_latest_linux_arm64.tar.gz
egctl_latest_darwin_amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run scanner
uses: google/osv-scanner-action/osv-scanner-action@19ec1116569a47416e11a45848722b1af31a857b # v1.9.0
with:
Expand Down
35 changes: 27 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
benchmark-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup-deps

- name: Setup Graphviz
Expand Down Expand Up @@ -50,13 +50,14 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Extract Release Tag and Commit SHA
id: vars
shell: bash
run: |
echo "release_tag=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV
echo "without_v_release_tag=${release_tag:1}" >> $GITHUB_ENV
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Login to DockerHub
Expand All @@ -72,23 +73,41 @@ jobs:
run: IMAGE_PULL_POLICY=IfNotPresent make generate-artifacts IMAGE=envoyproxy/gateway TAG=${{ env.release_tag }} OUTPUT_DIR=release-artifacts

- name: Build and Push EG Release Helm Chart
run: IMAGE_PULL_POLICY=IfNotPresent OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=${{ env.release_tag }} IMAGE=docker.io/envoyproxy/gateway TAG=${{ env.release_tag }} make helm-package helm-push
run: |
IMAGE_PULL_POLICY=IfNotPresent OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=${{ env.release_tag }} IMAGE=docker.io/envoyproxy/gateway TAG=${{ env.release_tag }} make helm-package helm-push
IMAGE_PULL_POLICY=IfNotPresent OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=${{ env.without_v_release_tag }} IMAGE=docker.io/envoyproxy/gateway TAG=${{ env.release_tag }} make helm-package helm-push
- name: Download Benchmark Report
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: benchmark_report
path: release-artifacts

- name: Build egctl multiarch binaries
run: |
make build-multiarch
tar -zcvf envoy-gateway_${{ env.release_tag }}_linux_amd64.tar.gz bin/linux/amd64/envoy-gateway
tar -zcvf envoy-gateway_${{ env.release_tag }}_linux_arm64.tar.gz bin/linux/arm64/envoy-gateway
tar -zcvf envoy-gateway_${{ env.release_tag }}_darwin_amd64.tar.gz bin/darwin/amd64/envoy-gateway
tar -zcvf envoy-gateway_${{ env.release_tag }}_darwin_arm64.tar.gz bin/darwin/arm64/envoy-gateway
tar -zcvf egctl_${{ env.release_tag }}_linux_amd64.tar.gz bin/linux/amd64/egctl
tar -zcvf egctl_${{ env.release_tag }}_linux_arm64.tar.gz bin/linux/arm64/egctl
tar -zcvf egctl_${{ env.release_tag }}_darwin_amd64.tar.gz bin/darwin/amd64/egctl
tar -zcvf egctl_${{ env.release_tag }}_darwin_arm64.tar.gz bin/darwin/arm64/egctl
- name: Upload Release Manifests
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v0.1.15
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v0.1.15
with:
files: |
release-artifacts/install.yaml
release-artifacts/quickstart.yaml
release-artifacts/release-notes.yaml
release-artifacts/benchmark_report.zip
release-artifacts/egctl_${{ env.release_tag }}_linux_amd64.tar.gz
release-artifacts/egctl_${{ env.release_tag }}_linux_arm64.tar.gz
release-artifacts/egctl_${{ env.release_tag }}_darwin_amd64.tar.gz
release-artifacts/egctl_${{ env.release_tag }}_darwin_arm64.tar.gz
envoy-gateway_${{ env.release_tag }}_linux_amd64.tar.gz
envoy-gateway_${{ env.release_tag }}_linux_arm64.tar.gz
envoy-gateway_${{ env.release_tag }}_darwin_amd64.tar.gz
envoy-gateway_${{ env.release_tag }}_darwin_arm64.tar.gz
egctl_${{ env.release_tag }}_linux_amd64.tar.gz
egctl_${{ env.release_tag }}_linux_arm64.tar.gz
egctl_${{ env.release_tag }}_darwin_amd64.tar.gz
egctl_${{ env.release_tag }}_darwin_arm64.tar.gz
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

Expand All @@ -40,6 +40,6 @@ jobs:
retention-days: 5

- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Build an image from Dockerfile
run: |
Expand Down
2 changes: 1 addition & 1 deletion OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ admins:

maintainers:

- AliceProxy
- arkodg
- Xunzhuo
- zirain
Expand All @@ -25,6 +24,7 @@ emeritus-maintainers:
- skriss
- youngnick
- qicz
- Alice-Lilith

reviewers:

Expand Down
5 changes: 3 additions & 2 deletions api/v1alpha1/envoygateway_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
package v1alpha1

import (
"fmt"
"net"
"strconv"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/ptr"
Expand Down Expand Up @@ -80,7 +81,7 @@ func (e *EnvoyGateway) GetEnvoyGatewayAdmin() *EnvoyGatewayAdmin {
func (e *EnvoyGateway) GetEnvoyGatewayAdminAddress() string {
address := e.GetEnvoyGatewayAdmin().Address
if address != nil {
return fmt.Sprintf("%s:%d", address.Host, address.Port)
return net.JoinHostPort(address.Host, strconv.Itoa(address.Port))
}

return ""
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
// DefaultShutdownManagerMemoryResourceRequests for shutdown manager memory resource
DefaultShutdownManagerMemoryResourceRequests = "32Mi"
// DefaultShutdownManagerImage is the default image used for the shutdown manager.
DefaultShutdownManagerImage = "envoyproxy/gateway-dev:latest"
DefaultShutdownManagerImage = "docker.io/envoyproxy/gateway-dev:latest"
// DefaultRateLimitImage is the default image used by ratelimit.
DefaultRateLimitImage = "envoyproxy/ratelimit:28b1629a"
// HTTPProtocol is the common-used http protocol.
Expand Down
Loading

0 comments on commit d1fefd8

Please sign in to comment.