Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate fsm-classic features (#20)
* wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] go mod tidy Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, webhooks Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, deps Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, helm charts Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, log Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, crds Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, mcs Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, pipy client Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, repo client Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, helm charts Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, package charts Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, rbac Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, remote connector Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, cfg Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, deps Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, new format of gateway config.json Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, gateway cache Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, controller-runtime manager Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, log Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, editorconfig Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, cleanup code Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, helm charts Signed-off-by: Lin Yang <[email protected]> * wip: [skip ci] migrate fsm-classic, fix cycle import Signed-off-by: Lin Yang <[email protected]> * feat: migrate fsm-classic, fix CI Signed-off-by: Lin Yang <[email protected]> * fix: go mod tidy Signed-off-by: Lin Yang <[email protected]> * fix: a typo in Makefile Signed-off-by: Lin Yang <[email protected]> * fix: check scripts Signed-off-by: Lin Yang <[email protected]> * fix: make codegen Signed-off-by: Lin Yang <[email protected]> * fix: make build-ci Signed-off-by: Lin Yang <[email protected]> * fix: make codegen Signed-off-by: Lin Yang <[email protected]> * fix: make charts-tgz Signed-off-by: Lin Yang <[email protected]> * fix: go mod tidy Signed-off-by: Lin Yang <[email protected]> * fix: go lint Signed-off-by: Lin Yang <[email protected]> * fix: make package-scripts Signed-off-by: Lin Yang <[email protected]> * fix: shell check Signed-off-by: Lin Yang <[email protected]> * fix: golangci-lint Signed-off-by: Lin Yang <[email protected]> * fix: golangci-lint Signed-off-by: Lin Yang <[email protected]> * fix: golangci-lint Signed-off-by: Lin Yang <[email protected]> * fix: golangci-lint configuration Signed-off-by: Lin Yang <[email protected]> * fix: CRDs Signed-off-by: Lin Yang <[email protected]> * fix: testcase for create certificate manager from MRC Signed-off-by: Lin Yang <[email protected]> * fix: testcase for messaging broker Signed-off-by: Lin Yang <[email protected]> * fix: checks codegen Signed-off-by: Lin Yang <[email protected]> * fix: make check-scripts Signed-off-by: Lin Yang <[email protected]> * fix: fsm-ingress & fsm-gateway command line arguments Signed-off-by: Lin Yang <[email protected]> * fix: crds yamls Signed-off-by: Lin Yang <[email protected]> * fix: CMD arguments Signed-off-by: Lin Yang <[email protected]> * fix: RBAC Signed-off-by: Lin Yang <[email protected]> * fix: interface conversion Signed-off-by: Lin Yang <[email protected]> * fix: forgot to mount scripts volume Signed-off-by: Lin Yang <[email protected]> * fix: add environment variables for controller, ingress and gateway Signed-off-by: Lin Yang <[email protected]> * fix: repo client Signed-off-by: Lin Yang <[email protected]> * fix: repo root url Signed-off-by: Lin Yang <[email protected]> * fix: a typo Signed-off-by: Lin Yang <[email protected]> * build: bump pipy to 0.90.2-41 Signed-off-by: Lin Yang <[email protected]> * fix: ingress scripts Signed-off-by: Lin Yang <[email protected]> * build: update gateway scripts Signed-off-by: Lin Yang <[email protected]> * fix: default port of ingress TLS Signed-off-by: Lin Yang <[email protected]> * fix: load fsm-ingress and fsm-gateway images into kind cluster Signed-off-by: Lin Yang <[email protected]> * fix: add options to enable/disable ingress, gateway, flb, service-lb, egress-gateway in e2e testcases Signed-off-by: Lin Yang <[email protected]> * fix: e2e testcase reinstall fsm Signed-off-by: Lin Yang <[email protected]> * fix: export env PATH Signed-off-by: Lin Yang <[email protected]> * fix: export env PATH Signed-off-by: Lin Yang <[email protected]> * fix: increase the timeout of installing fsm Signed-off-by: Lin Yang <[email protected]> * fix: disable ingress when testing helm install Signed-off-by: Lin Yang <[email protected]> * feat: disable ingress by default Signed-off-by: Lin Yang <[email protected]> * chore: .gitignore Signed-off-by: Lin Yang <[email protected]> * chore: make chart-readme Signed-off-by: Lin Yang <[email protected]> * fix: checks if k8s cluster supports EndpointSlice Signed-off-by: Lin Yang <[email protected]> * fix: Unit test Signed-off-by: Lin Yang <[email protected]> * fix: Unit test - TestIsMonitoredNamespace Signed-off-by: Lin Yang <[email protected]> * fix: Unit test - TestListTrafficSplits Signed-off-by: Lin Yang <[email protected]> * fix: Unit test - TestGetCertificateManagerFromMRC Signed-off-by: Lin Yang <[email protected]> * feat: webhook service Signed-off-by: Lin Yang <[email protected]> * feat: checks and rebuild repo if needed Signed-off-by: Lin Yang <[email protected]> * feat: update logging config Signed-off-by: Lin Yang <[email protected]> * fix: golang lint Signed-off-by: Lin Yang <[email protected]> * feat: deployment startup dependencies Signed-off-by: Lin Yang <[email protected]> * feat: create default FSM GatewayClass Signed-off-by: Lin Yang <[email protected]> * refactor: housekeeping Signed-off-by: Lin Yang <[email protected]> * feat: add required labels to resources for cleaning up Signed-off-by: Lin Yang <[email protected]> * fix: golang lint Signed-off-by: Lin Yang <[email protected]> * fix: panic if cannot create/update gateway class Signed-off-by: Lin Yang <[email protected]> * feat: FLB supports multiple k8s cluster Signed-off-by: Lin Yang <[email protected]> * feat: FLB supports service tags Signed-off-by: Lin Yang <[email protected]> * build: bump version of golangci-lint image to 1.53 Signed-off-by: Lin Yang <[email protected]> * fix: make chart-readme Signed-off-by: Lin Yang <[email protected]> * fix: service key Signed-off-by: Lin Yang <[email protected]> * refactor: re-organize constants Signed-off-by: Lin Yang <[email protected]> * refactor: to upper case for 'FLB' Signed-off-by: Lin Yang <[email protected]> * refactor: to upper case for 'ServiceLB' Signed-off-by: Lin Yang <[email protected]> * test: add scripts for testing Signed-off-by: Lin Yang <[email protected]> * fix: update GatewayClass Signed-off-by: Lin Yang <[email protected]> * fix: ignore creating GatewayClass error Signed-off-by: Lin Yang <[email protected]> * fix: create GatewayClass before cache start Signed-off-by: Lin Yang <[email protected]> * fix: nil pointer Signed-off-by: Lin Yang <[email protected]> * fix: cache key for GatewayClass Signed-off-by: Lin Yang <[email protected]> * fix: cache key for GatewayClass Signed-off-by: Lin Yang <[email protected]> * fix: config spec issue Signed-off-by: Lin Yang <[email protected]> * fix: generate chart.tgz Signed-off-by: Lin Yang <[email protected]> * fix: go mod tidy Signed-off-by: Lin Yang <[email protected]> * fix: golang lint Signed-off-by: Lin Yang <[email protected]> * fix: mesh-config rbac Signed-off-by: Lin Yang <[email protected]> * fix: health check port Signed-off-by: Lin Yang <[email protected]> * fix: webhook port Signed-off-by: Lin Yang <[email protected]> * fix: nil pointer of NamespacedIngress client Signed-off-by: Lin Yang <[email protected]> * fix: NamespacedIngress chart Signed-off-by: Lin Yang <[email protected]> * refactor: log level Signed-off-by: Lin Yang <[email protected]> * refactor: add log for debugging Signed-off-by: Lin Yang <[email protected]> * fix: enclose tag Signed-off-by: Lin Yang <[email protected]> * refactor: adjust log level Signed-off-by: Lin Yang <[email protected]> * refactor: adjust log level Signed-off-by: Lin Yang <[email protected]> * refactor: adjust log level Signed-off-by: Lin Yang <[email protected]> * feat: generate mock Signed-off-by: Lin Yang <[email protected]> * fix: service-lb image Signed-off-by: Lin Yang <[email protected]> * fix: service-lb image in values.yaml Signed-off-by: Lin Yang <[email protected]> * chore: NA Signed-off-by: Lin Yang <[email protected]> * fix: make chart-readme Signed-off-by: Lin Yang <[email protected]> * fix: get resource from cache Signed-off-by: Lin Yang <[email protected]> * fix: GVK issue Signed-off-by: Lin Yang <[email protected]> * feat: maps more ports for testing Signed-off-by: Lin Yang <[email protected]> * fix: a typo Signed-off-by: Lin Yang <[email protected]> * fix: golang lint Signed-off-by: Lin Yang <[email protected]> * docs: Gateway API Compatibility Signed-off-by: Lin Yang <[email protected]> * docs: Gateway API test cases Signed-off-by: Lin Yang <[email protected]> * test: FLB values.yaml for testing Signed-off-by: Lin Yang <[email protected]> * feat: support -f/--values option for install cmd Signed-off-by: Lin Yang <[email protected]> * fix: resolve values Signed-off-by: Lin Yang <[email protected]> * fix: wrong APIVersion Signed-off-by: Lin Yang <[email protected]> * refactor: simplify code Signed-off-by: Lin Yang <[email protected]> * refactor: log level Signed-off-by: Lin Yang <[email protected]> * fix: generate mockspec Signed-off-by: Lin Yang <[email protected]> * fix: /bin/sh: 1: Syntax error: "(" unexpected Signed-off-by: Lin Yang <[email protected]> * Revert "fix: /bin/sh: 1: Syntax error: "(" unexpected" This reverts commit a8e6886. * fix: mcs Signed-off-by: Lin Yang <[email protected]> * test: multicluster test scripts Signed-off-by: Lin Yang <[email protected]> * fix: receiver Signed-off-by: Lin Yang <[email protected]> * fix: MCS update event Signed-off-by: Lin Yang <[email protected]> * test: scripts for testing MCS Signed-off-by: Lin Yang <[email protected]> * fix: a typo Signed-off-by: Lin Yang <[email protected]> * fix: create k3d clusters with config file Signed-off-by: Lin Yang <[email protected]> * test: [skip ci] add docs for testing MCS Signed-off-by: Lin Yang <[email protected]> * fix: unused shell variable Signed-off-by: Lin Yang <[email protected]> * test: [skip ci] add docs for testing MCS Signed-off-by: Lin Yang <[email protected]> * fix: a timing issue Signed-off-by: Lin Yang <[email protected]> * fix: golang lint Signed-off-by: Lin Yang <[email protected]> * test: [skip ci] scripts for testing MCS Signed-off-by: Lin Yang <[email protected]> * refactor: [skip ci] beautify shell output Signed-off-by: Lin Yang <[email protected]> --------- Signed-off-by: Lin Yang <[email protected]>
- Loading branch information