Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate register code instead of maintaining manually #261

Merged
merged 78 commits into from
May 19, 2024

Conversation

reaver-flomesh
Copy link
Collaborator

Description:

Testing done:

Affected area:

Functional Area
New Functionality [ ]
CI System [ ]
CLI Tool [ ]
Certificate Management [ ]
Control Plane [ ]
Demo [ ]
Documentation [ ]
Egress [ ]
Ingress [ ]
Install [ ]
Networking [ ]
Observability [ ]
Performance [ ]
SMI Policy [ ]
Security [ ]
Sidecar Injection [ ]
Tests [ ]
Upgrade [ ]
Other [ ]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project?

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change?

  3. Has documentation corresponding to this change been updated in the fsm-docs repo (if applicable)?

dependabot bot and others added 30 commits January 10, 2024 20:02
…167)

Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Commits](docker/metadata-action@v5.4.0...v5.5.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  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>
* [chore] Update FLB docs for defaultAlgo.

* [chore] Update FLB docs for defaultAlgo.
* feat: gateway supports coexistence of TCP and UDP listener

Signed-off-by: Lin Yang <reaver@flomesh.io>

* docs: update testcase

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…184)

Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Commits](docker/metadata-action@v5.5.0...v5.5.1)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  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>
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.24+incompatible to 20.10.27+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v20.10.24...v20.10.27)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lin Yang <reaver@flomesh.io>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.0.0...v3.1.0)

---
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>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: docker/build-push-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>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: docker/build-push-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>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.1.0...v3.2.0)

---
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>
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-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>
)

Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [chore] Update FLB docs for defaultAlgo.

* [chore] Update FLB docs for defaultAlgo.
* optimized fsm connector.

* Add vm-sidecar scripts

* Update README.md

* Update run-sidecar.sh

* Update run-sidecar.sh

* connector supports nacos.

* connector supports nacos.

* connector supports nacos.

* optimized connector grpc.

* optimized connector service's name.

* optimized connector service's name.

* optimized connector service's name.

* fixed fsm connector yaml.

* add connector sub-command to fsm cli.

* add connector sub-command to fsm cli.

* add connector sub-command to fsm cli.

* fix egressgateway sub-command.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* add appendTag support to consul connector.
add appendMetadata support to eureka and nacos connector.

* change flomesh/curl's tag from latest to latest-main

* Revert "change flomesh/curl's tag from latest to latest-main"

This reverts commit 1fd1f41.

---------

Co-authored-by: wanpf <wanpf@qq.com>
* fix: incorrect update annotation of svc

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: golang lint

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
* sync with fsm gateway service name's change.

* auto create check service for consul service.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* add check info with consul registration.

* fix mixed service access mode.

* fix mixed service access mode.

* fix access controll.
* feat: support setting replicas and resource limits of Gateway

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add HPA and PodDisruptionBudget for gateway

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add testcase for setting replicas and resource limit

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
…ttachment (#181)

Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
* change fsm.cloudConnector.gateway.ingressipSelector's default value to ExternalIP.

* restore eureka catalog service.

* optimized fsm connector.

* optimized eureka connector.

* optimized fsm nacos connector.

* optimized fsm nacos connector.

* optimized fsm eureka connector.

* add service message dispatcher.

* add service message dispatcher.

* add service message dispatcher.

* add service message dispatcher.

* optimized connector's message dispatcher.

* optimized connector's message dispatcher.

* optimized connector's message dispatcher.
* split e2e test_1-4.

* add enableSidecarPrettyConfig into MeshConfig.

* reduce config.json.
* feat: support FLB TLS service

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.5

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: assignment to entry in nil map

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.6

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: settings

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.7

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: assignment to entry in nil map

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.8

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: calculating hash of secret

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.9

Signed-off-by: Lin Yang <reaver@flomesh.io>

* revert: version

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
cybwan and others added 19 commits May 1, 2024 14:21
* fix invalid cloud service's name.

* fix invalid cloud service's name.

* fix pretty config json.

* fix pretty config json.
Signed-off-by: Lin Yang <reaver@flomesh.io>
* feat: delete svc from FLB in case it's not a FLB service anymore

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: delete svc from FLB in case it's not a FLB service anymore

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: golang lint

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
* feat: mock FLB API Server

Signed-off-by: Lin Yang <reaver@flomesh.io>

* refactor: FLB API path

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Signed-off-by: Lin Yang <reaver@flomesh.io>
@reaver-flomesh reaver-flomesh added the enhancement New feature or request label May 19, 2024
@reaver-flomesh reaver-flomesh added this to the v1.3.0 milestone May 19, 2024
@reaver-flomesh reaver-flomesh self-assigned this May 19, 2024
@reaver-flomesh reaver-flomesh merged commit 9c9319b into release/v1.3 May 19, 2024
31 checks passed
@reaver-flomesh reaver-flomesh deleted the feature/register-gen branch May 19, 2024 06:42
reaver-flomesh added a commit that referenced this pull request May 19, 2024
* build(deps): Bump crazy-max/ghaction-docker-meta from 5.4.0 to 5.5.0 (#167)

Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Commits](docker/metadata-action@v5.4.0...v5.5.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  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>

* [chore] Update FLB docs for defaultAlgo. (#168)

* [chore] Update FLB docs for defaultAlgo.

* [chore] Update FLB docs for defaultAlgo.

* update api reference doc generation config (#165)

* feat: gateway supports coexistence of TCP and UDP listener (#169)

* feat: gateway supports coexistence of TCP and UDP listener

Signed-off-by: Lin Yang <reaver@flomesh.io>

* docs: update testcase

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* docs: fix a typo (#170)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump codecov/codecov-action from 3 to 4 (#185)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump crazy-max/ghaction-docker-meta from 5.5.0 to 5.5.1 (#184)

Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Commits](docker/metadata-action@v5.5.0...v5.5.1)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  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>

* build(deps): Bump github.com/docker/docker (#186)

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.24+incompatible to 20.10.27+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v20.10.24...v20.10.27)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump golangci/golangci-lint-action from 3 to 4 (#190)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#197)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.0.0...v3.1.0)

---
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>

* build(deps): Bump docker/build-push-action from 5.1.0 to 5.2.0 (#201)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: docker/build-push-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>

* build(deps): Bump docker/build-push-action from 5.2.0 to 5.3.0 (#206)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: docker/build-push-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>

* build(deps): Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#208)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.1.0...v3.2.0)

---
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>

* build(deps): Bump docker/login-action from 3.0.0 to 3.1.0 (#207)

Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-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>

* build(deps): Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#205)

Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [chore] Update FLB docs for defaultAlgo. (#168)

* [chore] Update FLB docs for defaultAlgo.

* [chore] Update FLB docs for defaultAlgo.

* optimized fsm connector (#171)

* optimized fsm connector.

* Add vm-sidecar scripts

* Update README.md

* Update run-sidecar.sh

* Update run-sidecar.sh

* connector supports nacos.

* connector supports nacos.

* connector supports nacos.

* optimized connector grpc.

* optimized connector service's name.

* optimized connector service's name.

* optimized connector service's name.

* fixed fsm connector yaml.

* add connector sub-command to fsm cli.

* add connector sub-command to fsm cli.

* add connector sub-command to fsm cli.

* fix egressgateway sub-command.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* fsm connector supports multi vm clusters.

* add appendTag support to consul connector.
add appendMetadata support to eureka and nacos connector.

* change flomesh/curl's tag from latest to latest-main

* Revert "change flomesh/curl's tag from latest to latest-main"

This reverts commit 1fd1f41.

---------

Co-authored-by: wanpf <wanpf@qq.com>

* fix: incorrect update annotation of FLB svc (#173)

* fix: incorrect update annotation of svc

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: golang lint

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: assignment entry to nil map (#174)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: cloud connector issuses (#175)

* sync with fsm gateway service name's change.

* auto create check service for consul service.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* use fgw's cluster ip as via gateway for local k8s services.

* add check info with consul registration.

* fix mixed service access mode.

* fix mixed service access mode.

* fix access controll.

* fix fgw http route's hostnames. (#176)

* feat: support setting replicas and resource limits of Gateway (#179)

* feat: support setting replicas and resource limits of Gateway

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add HPA and PodDisruptionBudget for gateway

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add testcase for setting replicas and resource limit

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add label gateway.networking.k8s.io/policy=true to FSM policy attachment (#181)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: reduce the possibility for wrongly configuring remote logging (#182)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: status of Gateway IP addresses due to service name changed (#183)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build: bump pipy from 0.99.0-2 to 0.99.1-1 (#187)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: add ProxyPreserveHost option for gateway (#188)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* optimized fsm connector. (#194)

* change fsm.cloudConnector.gateway.ingressipSelector's default value to ExternalIP.

* restore eureka catalog service.

* optimized fsm connector.

* optimized eureka connector.

* optimized fsm nacos connector.

* optimized fsm nacos connector.

* optimized fsm eureka connector.

* add service message dispatcher.

* add service message dispatcher.

* add service message dispatcher.

* add service message dispatcher.

* optimized connector's message dispatcher.

* optimized connector's message dispatcher.

* optimized connector's message dispatcher.

* reduce config.json (#195)

* split e2e test_1-4.

* add enableSidecarPrettyConfig into MeshConfig.

* reduce config.json.

* feat: support FLB TLS service (#192)

* feat: support FLB TLS service

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.5

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: assignment to entry in nil map

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.6

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: settings

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.7

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: assignment to entry in nil map

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.8

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: calculating hash of secret

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare pre-release v1.2.1-alpha.9

Signed-off-by: Lin Yang <reaver@flomesh.io>

* revert: version

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: API path of updating FLB secret

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: check existence of TLS port in FLB service spec (#209)

* fix: check existence of TLS port in FLB service spec

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: G109: Potential Integer overflow made by strconv.Atoi result conversion to int16/32 (gosec)

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* optimized fsm connector (#210)

* add connector crd.

* add connector crd.

* add connector crd.

* add connector crd.

* add connector crd.

* add connector crd.

fix: connector chart

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare release v1.2.1

Signed-off-by: Lin Yang <reaver@flomesh.io>

* optimized fsm connector. (#215)

* chore: prepare release v1.2.2

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#219)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.2.0...v3.3.0)

---
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>

* feat: support headless service without selector (#216)

* feat: support headless service without selector

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: golang lint

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: watch Endpoints changes for headless service (#217)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: minimum k8s for fsm-ingress (#218)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: add resource limit to all containers (#220)

* fix: add resource limit to all containers

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: a typo

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: nindent

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: support forward mode. (#221)

* fix dns searches.

* support forward mode.

* chore: prepare release v1.2.3

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: add resource limits to container of pipy repo (#222)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: add create namespace permission to fsm (#224)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* Support disabling multi-level gateways. (#223)

* fix: add update/patch/delete namespace permission to fsm (#225)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare release v1.2.4

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump golang.org/x/net from 0.17.0 to 0.23.0 (#226)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](golang/net@v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump golang.org/x/net from 0.17.0 to 0.23.0 (#226)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](golang/net@v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: prepare release v1.2.4

Signed-off-by: Lin Yang <reaver@flomesh.io>

chore: prepare release v1.2.4

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump golangci/golangci-lint-action from 4 to 5 (#228)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v4...v5)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: switch to ncipollo/release-action

Signed-off-by: Lin Yang <reaver@flomesh.io>

* ci: switch to ncipollo/release-action

Signed-off-by: Lin Yang <reaver@flomesh.io>

ci: switch to ncipollo/release-action

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: use distroless cc instead of distroless cc-debian11 to keep up with latest security update

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build: switch base image to debian 12

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix:invalid cloud service's name. (#229)

* fix invalid cloud service's name.

* fix invalid cloud service's name.

* fix pretty config json.

* fix pretty config json.

* fix ruleName for multi services. (#231)

* feat: new annotations for FLB (#234)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: delete svc from FLB in case it's not a FLB service anymore (#236)

* feat: delete svc from FLB in case it's not a FLB service anymore

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: delete svc from FLB in case it's not a FLB service anymore

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: golang lint

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* docs: add supported version of GatewayAPI resources (#237)

* fix: don't delete svc from cache if failed to delete svc from FLB (#238)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build: bump pipy from 0.99.1-1 to 1.1.0-1 (#240)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* build(deps): Bump golangci/golangci-lint-action from 5 to 6 (#241)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: add more variables to compute FLB svc hash (#243)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: remove service hash annotation if it's not a FLB svc anymore (#244)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix nacos password (#246)

* fix: compute hash (#250)

Signed-off-by: Lin Yang <reaver@flomesh.io>

* test: mock server for testing FLB controller (#249)

* feat: mock FLB API Server

Signed-off-by: Lin Yang <reaver@flomesh.io>

* refactor: FLB API path

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare release v1.2.5

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix resources of init container injected with sidecar (#254)

* fix: merge issue

Signed-off-by: Lin Yang <reaver@flomesh.io>

* chore: prepare release v1.3.0

Signed-off-by: Lin Yang <reaver@flomesh.io>

* feat: generate register code automatically

Signed-off-by: Lin Yang <reaver@flomesh.io>

* Revert "chore: prepare release v1.3.0"

This reverts commit 3e24288.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Lin Yang <reaver@flomesh.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevein Liu <kevein@flomesh.cn>
Co-authored-by: Addo.Zhang <duwasai@gmail.com>
Co-authored-by: Cybwan <baili@flomesh.io>
Co-authored-by: wanpf <wanpf@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants