This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
The following commit(s) were added to refs/heads/develop by this push:
new f5050e6a Remove samples and migrate to the target repository (#870)
f5050e6a is described below
commit f5050e6a6bcb9147d9f0e0117bfd38ec8502b41d
Author: mfordjody <[email protected]>
AuthorDate: Sat Jan 24 22:38:32 2026 +0800
Remove samples and migrate to the target repository (#870)
---
controllers/samples/backend.yaml | 80 ------
controllers/samples/controller.yaml | 278 ---------------------
.../samples/helloworld/helloworld-deployment.yaml | 72 ------
.../samples/helloworld/helloworld-http.yaml | 75 ------
controllers/samples/observability/prome.yaml | 48 ----
controllers/samples/pixiugateway.yaml | 27 --
controllers/samples/plugins/opa.yaml | 30 ---
controllers/samples/plugins/ratelimit.yaml | 55 ----
controllers/samples/protocol/http-server.yaml | 91 -------
controllers/samples/protocol/triple-server.yaml | 107 --------
controllers/samples/security/jwt.yaml | 80 ------
11 files changed, 943 deletions(-)
diff --git a/controllers/samples/backend.yaml b/controllers/samples/backend.yaml
deleted file mode 100644
index 6ceccda4..00000000
--- a/controllers/samples/backend.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- name: backend
- namespace: default
----
-apiVersion: v1
-kind: Service
-metadata:
- name: backend
- namespace: default
- labels:
- app: backend
- service: backend
-spec:
- ports:
- - name: http
- port: 3000
- targetPort: 3000
- selector:
- app: backend
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: backend
- namespace: default
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: backend
- version: v1
- template:
- metadata:
- labels:
- app: backend
- version: v1
- spec:
- serviceAccountName: backend
- containers:
- - image:
gcr.io/k8s-staging-gateway-api/echo-basic:v20231214-v1.0.0-140-gf544a46e
- imagePullPolicy: IfNotPresent
- name: backend
- ports:
- - containerPort: 3000
- env:
- - name: POD_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: backend
- namespace: default
-spec:
- parentRefs:
- - name: pixiu-listeners
- namespace: pixiu-gateway-system
- hostnames:
- - "www.example.com"
- rules:
- - backendRefs:
- - group: ""
- kind: Service
- name: backend
- port: 3000
- weight: 1
- matches:
- - path:
- type: PathPrefix
- value: /
-
diff --git a/controllers/samples/controller.yaml
b/controllers/samples/controller.yaml
deleted file mode 100644
index 7b3a7e03..00000000
--- a/controllers/samples/controller.yaml
+++ /dev/null
@@ -1,278 +0,0 @@
----
-apiVersion: v1
-kind: Namespace
-metadata:
- name: pixiu-gateway-system
- labels:
- control-plane: controller-manager
- app.kubernetes.io/name: pg-controller
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- name: pg-controller
- namespace: pixiu-gateway-system
- labels:
- app.kubernetes.io/name: pg-controller
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
-metadata:
- name: pg-controller-role
- labels:
- app.kubernetes.io/name: pg-controller
-rules:
-- apiGroups:
- - ""
- resources:
- - events
- verbs:
- - create
- - patch
-- apiGroups:
- - ""
- resources:
- - namespaces
- - pods
- - services
- - configmaps
- verbs:
- - get
- - list
- - watch
- - create
- - update
- - patch
- - delete
-- apiGroups:
- - apps
- resources:
- - deployments
- verbs:
- - get
- - list
- - watch
- - create
- - update
- - patch
- - delete
-- apiGroups:
- - coordination.k8s.io
- resources:
- - leases
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - discovery.k8s.io
- resources:
- - endpointslices
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - gateway.networking.k8s.io
- resources:
- - gatewayclasses
- - gateways
- verbs:
- - get
- - list
- - watch
- - update
- - patch
-- apiGroups:
- - gateway.networking.k8s.io
- resources:
- - gatewayclasses/status
- - gateways/status
- - httproutes/status
- - referencegrants/status
- verbs:
- - get
- - update
- - patch
-- apiGroups:
- - gateway.networking.k8s.io
- resources:
- - httproutes
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - gateway.networking.k8s.io
- resources:
- - referencegrants
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - ""
- resources:
- - secrets
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiugatewaypolicies
- verbs:
- - get
- - list
- - watch
-
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiugatewaypolicies/status
- verbs:
- - get
- - update
- - patch
-
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiuclusterpolicies
- verbs:
- - get
- - list
- - watch
-
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiuclusterpolicies/status
- verbs:
- - get
- - update
- - patch
-
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiufilterpolicies
- verbs:
- - get
- - list
- - watch
-
-- apiGroups:
- - pixiu.apache.org
- resources:
- - pixiufilterpolicies/status
- verbs:
- - get
- - update
- - patch
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
- name: pg-controller-rolebinding
- labels:
- app.kubernetes.io/name: pg-controller
-roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: pg-controller-role
-subjects:
-- kind: ServiceAccount
- name: pg-controller
- namespace: pixiu-gateway-system
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: pg-controller
- namespace: pixiu-gateway-system
- labels:
- app.kubernetes.io/name: pg-controller
-spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: pg-controller
- replicas: 1
- template:
- metadata:
- annotations:
- kubectl.kubernetes.io/default-container: manager
- labels:
- control-plane: controller-manager
- app.kubernetes.io/name: pg-controller
- spec:
- securityContext:
- runAsNonRoot: true
- seccompProfile:
- type: RuntimeDefault
- containers:
- - command:
- - /usr/local/bin/pg-controller
- args:
- - --config-path=/config/pg.yaml
- - --log-level=info
- image: mfordjody/pixiugateway-controller:debug
- imagePullPolicy: Always
- name: manager
- ports:
- - containerPort: 8081
- name: health
- protocol: TCP
- - containerPort: 8080
- name: metrics
- protocol: TCP
- securityContext:
- readOnlyRootFilesystem: true
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - "ALL"
- livenessProbe:
- httpGet:
- path: /healthz
- port: 8081
- initialDelaySeconds: 15
- periodSeconds: 20
- readinessProbe:
- httpGet:
- path: /readyz
- port: 8081
- initialDelaySeconds: 5
- periodSeconds: 10
- resources:
- limits:
- cpu: 500m
- memory: 512Mi
- requests:
- cpu: 10m
- memory: 64Mi
- serviceAccountName: pg-controller
- terminationGracePeriodSeconds: 10
----
-apiVersion: v1
-kind: Service
-metadata:
- name: pg-controller
- namespace: pixiu-gateway-system
-spec:
- selector:
- app.kubernetes.io/name: pg-controller
- ports:
- - name: metrics
- protocol: TCP
- port: 8080
- targetPort: 8080
- - name: health
- protocol: TCP
- port: 8081
- targetPort: 8081
\ No newline at end of file
diff --git a/controllers/samples/helloworld/helloworld-deployment.yaml
b/controllers/samples/helloworld/helloworld-deployment.yaml
deleted file mode 100644
index 5a19d0ef..00000000
--- a/controllers/samples/helloworld/helloworld-deployment.yaml
+++ /dev/null
@@ -1,72 +0,0 @@
----
-apiVersion: v1
-kind: Namespace
-metadata:
- name: helloworld
----
-apiVersion: v1
-kind: Service
-metadata:
- name: dubbo-go-server
- namespace: helloworld
- labels:
- app: dubbo-go-server
-spec:
- type: ClusterIP
- ports:
- - name: triple
- protocol: TCP
- port: 20000
- targetPort: 20000
- selector:
- app: dubbo-go-server
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: dubbo-go-server
- namespace: helloworld
- labels:
- app: dubbo-go-server
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: dubbo-go-server
- template:
- metadata:
- labels:
- app: dubbo-go-server
- spec:
- containers:
- - name: server
- image: mfordjody/dubbo-go-server:debug
- imagePullPolicy: Always
- ports:
- - name: triple
- containerPort: 20000
- protocol: TCP
- env:
- - name: DUBBO_GO_CONFIG_PATH
- value: "/app/conf/dubbogo.yml"
- resources:
- limits:
- cpu: 500m
- memory: 512Mi
- requests:
- cpu: 100m
- memory: 128Mi
- livenessProbe:
- tcpSocket:
- port: 20000
- initialDelaySeconds: 30
- periodSeconds: 30
- timeoutSeconds: 5
- failureThreshold: 3
- readinessProbe:
- tcpSocket:
- port: 20000
- initialDelaySeconds: 10
- periodSeconds: 10
- timeoutSeconds: 3
- failureThreshold: 3
diff --git a/controllers/samples/helloworld/helloworld-http.yaml
b/controllers/samples/helloworld/helloworld-http.yaml
deleted file mode 100644
index e91ca404..00000000
--- a/controllers/samples/helloworld/helloworld-http.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: helloworld-http-route
- namespace: default
-spec:
- parentRefs:
- - name: pixiu-listeners
- namespace: pixiu-gateway-system
- sectionName: http
- rules:
- - matches:
- - path:
- type: PathPrefix
- value: /greet.GreetService
- backendRefs:
- - name: dubbo-go-server
- namespace: helloworld
- port: 20000
- weight: 100
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuClusterPolicy
-metadata:
- name: helloworld-cluster
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pixiu-listeners
- clusterRef:
- - name: helloworld-dubbo-go-server
- type: static
- loadBalancerPolicy: "lb"
- endpoints:
- - address: dubbo-go-server.helloworld.svc.cluster.local
- port: 20000
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: helloworld-http-filter
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pixiu-listeners
- listenersRef:
- - name: http
- filterChains:
- type: dgp.filter.httpconnectionmanager
- config:
- routeConfig:
- routes:
- - match:
- prefix: "/greet.GreetService"
- methods: []
- route:
- cluster: "helloworld-dubbo-go-server"
- cluster_not_found_response_code: 505
- - match:
- path: "/greet.GreetService/Greet"
- methods: []
- route:
- cluster: "helloworld-dubbo-go-server"
- cluster_not_found_response_code: 505
- httpFilters:
- - name: dgp.filter.http.httpproxy
- config:
- timeoutConfig:
- connectTimeout: 5s
- requestTimeout: 5s
diff --git a/controllers/samples/observability/prome.yaml
b/controllers/samples/observability/prome.yaml
deleted file mode 100644
index 914bc081..00000000
--- a/controllers/samples/observability/prome.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: prometheus-filter-policy
- namespace: default
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: HTTPRoute
- name: backend
- filterType: "dgp.filter.http.prometheusmetric"
- config:
- metric_collect_rules:
- metric_path: "/metrics"
- push_gateway_url: "http://127.0.0.1:9091"
- counter_push: true
- push_interval_threshold: 1
- push_job_name: "prometheus"
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: backend
- namespace: default
-spec:
- parentRefs:
- - name: pg
- namespace: pixiu-gateway-system
- hostnames:
- - "www.example.com"
- rules:
- - backendRefs:
- - group: ""
- kind: Service
- name: backend
- port: 3000
- weight: 1
- matches:
- - path:
- type: PathPrefix
- value: /
- filters:
- - type: ExtensionRef
- extensionRef:
- group: pixiu.apache.org
- kind: PixiuFilterPolicy
- name: jwt-filter-policy
diff --git a/controllers/samples/pixiugateway.yaml
b/controllers/samples/pixiugateway.yaml
deleted file mode 100644
index 15ac1f81..00000000
--- a/controllers/samples/pixiugateway.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-apiVersion: gateway.networking.k8s.io/v1
-kind: GatewayClass
-metadata:
- name: pg
-spec:
- controllerName: pixiu.apache.org/pixiu-gateway-controller
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: Gateway
-metadata:
- name: pixiu-listeners
- namespace: pixiu-gateway-system
-spec:
- gatewayClassName: pg
- listeners:
- - name: http
- protocol: HTTP
- port: 8888
- - name: dubbo
- protocol: TCP
- port: 8889
- - name: triple
- protocol: GRPC
- port: 9999
- - name: http2
- protocol: HTTP2
- port: 8881
diff --git a/controllers/samples/plugins/opa.yaml
b/controllers/samples/plugins/opa.yaml
deleted file mode 100644
index 9aba1b80..00000000
--- a/controllers/samples/plugins/opa.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: backend
- namespace: default
-spec:
- parentRefs:
- - name: pg
- namespace: pixiu-gateway-system
- hostnames:
- - "www.example.com"
- rules:
- - backendRefs:
- - group: ""
- kind: Service
- name: backend
- port: 3000
- weight: 1
- matches:
- - path:
- type: PathPrefix
- value: /
- filters:
- - type: ExtensionRef
- extensionRef:
- group: pixiu.apache.org
- kind: PixiuFilterPolicy
- name: opa-plugin-policy
\ No newline at end of file
diff --git a/controllers/samples/plugins/ratelimit.yaml
b/controllers/samples/plugins/ratelimit.yaml
deleted file mode 100644
index de7476fb..00000000
--- a/controllers/samples/plugins/ratelimit.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: ratelimit-filter-policy
- namespace: default
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: HTTPRoute
- name: backend
- filterType: dgp.filter.http.ratelimit
- config:
- resources:
- - name: test-http
- items:
- - matchStrategy: 1
- pattern: "/v1/*"
- rules:
- - enable: true
- flowRule:
- resource: "test-http"
- threshold: 1
- statintervalinms: 1000
----
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: backend
- namespace: default
-spec:
- parentRefs:
- - name: pg
- namespace: pixiu-gateway-system
- hostnames:
- - "www.example.com"
- rules:
- - backendRefs:
- - group: ""
- kind: Service
- name: backend
- port: 3000
- weight: 1
- matches:
- - path:
- type: PathPrefix
- value: /
- filters:
- - type: ExtensionRef
- extensionRef:
- group: pixiu.apache.org
- kind: PixiuFilterPolicy
- name: ratelimit-filter-policy
-
-
diff --git a/controllers/samples/protocol/http-server.yaml
b/controllers/samples/protocol/http-server.yaml
deleted file mode 100644
index 515cd612..00000000
--- a/controllers/samples/protocol/http-server.yaml
+++ /dev/null
@@ -1,91 +0,0 @@
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuGatewayPolicy
-metadata:
- name: pixiu-gateway-listener
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pixiu-listeners
- shutdown:
- timeout: "60s"
- stepTimeout: "10s"
- rejectPolicy: "immediacy"
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: pixiu-listeners-filter
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pixiu-listeners
- listenersRef:
- - name: http
- protocol:
- filterChains:
- type: dgp.filter.httpconnectionmanager
- config:
- routeConfig:
- routes:
- - match:
- prefix: "*"
- httpFilters:
- - name: dgp.filter.http.dubboproxy
- config:
- dubboProxyConfig:
- autoResolve: true
- registries:
- zookeeper:
- protocol: "zookeeper"
- timeout: "3s"
- address: "zookeeper:2181"
- username: ""
- password: ""
- timeoutConfig:
- connectTimeout: 5s
- requestTimeout: 5s
- - name: dubbo
- filterChains:
- type: dgp.filter.network.dubboconnectionmanager
- config:
- routeConfig:
- routes:
- - match:
- prefix: "/com.dubbogo.pixiu.TripleUserService"
- methods:
- - "*"
- route:
- cluster: "http-server"
- cluster_not_found_response_code: 505
- dubboFilters:
- - name: dgp.filter.dubbo.http
- config:
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuClusterPolicy
-metadata:
- name: pixiu-cluster
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pixiu-listeners
- clusterRef:
- - name: http-server
- type: static
- loadBalancerPolicy: "lb"
- endpoints:
- - address: http-server
- port: 20001
- - name: dubbo-server
- type: static
- loadBalancerPolicy: "lb"
- endpoints:
- - address: dubbo-server
- port: 20000
diff --git a/controllers/samples/protocol/triple-server.yaml
b/controllers/samples/protocol/triple-server.yaml
deleted file mode 100644
index bc34fe1e..00000000
--- a/controllers/samples/protocol/triple-server.yaml
+++ /dev/null
@@ -1,107 +0,0 @@
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: Gateway
-metadata:
- name: pg
- namespace: pixiu-gateway-system
-spec:
- gatewayClassName: pg
- listeners:
- - name: dubbo-listener
- protocol: TCP
- port: 8888
- - name: triple-listener
- protocol: TRIPLE
- port: 9999
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: dubbo-listeners-filter
- namespace: pixiu-gateway-system
-spec:
- filterChains:
- - filterType: dgp.filter.network.dubboconnectionmanager
- config:
- routeConfig:
- routes:
- - match:
- prefix: "/com.dubbogo.pixiu.TripleUserService"
- methods:
- - "*"
- route:
- cluster: "triple-server"
- cluster_not_found_response_code: 505
- dubboFilters:
- - name: dgp.filter.dubbo.proxy
- config:
- protocol: tri
- - filterType: dgp.filter.network.dubboconnectionmanager
- config:
- routeConfig:
- routes:
- - match:
- prefix: "/com.dubbogo.pixiu.TripleUserService"
- methods:
- - "*"
- route:
- cluster: "dubbo-server"
- cluster_not_found_response_code: 505
- dubboFilters:
- - name: dgp.filter.dubbo.proxy
- config:
- protocol: dubbo
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: dubbo-triple-proxy
- namespace: default
-spec:
- parentRefs:
- - name: pg
- namespace: pixiu-gateway-system
- sectionName: http
- rules:
- - matches:
- - path:
- type: PathPrefix
- value: /
- backendRefs:
- - name: http-server
- port: 20001
- filters:
- - type: ExtensionRef
- extensionRef:
- group: pixiu.apache.org
- kind: PixiuFilterPolicy
- name: dubboproxy-filter
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuGatewayPolicy
-metadata:
- name: dubbo-http-proxy-gateway-policy
- namespace: pixiu-gateway-system
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: Gateway
- name: pg
- shutdown:
- timeout: "60s"
- stepTimeout: "10s"
- rejectPolicy: "immediacy"
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuClusterPolicy
-metadata:
- name: http-server-cluster-policy
- namespace: default
-spec:
- targetRef:
- group: ""
- kind: Service
- name: http-server
- loadBalancer:
- policy: "lb"
-
diff --git a/controllers/samples/security/jwt.yaml
b/controllers/samples/security/jwt.yaml
deleted file mode 100644
index 1a1f1afb..00000000
--- a/controllers/samples/security/jwt.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
----
-apiVersion: pixiu.apache.org/v1alpha1
-kind: PixiuFilterPolicy
-metadata:
- name: jwt-filter-policy
- namespace: default
-spec:
- targetRef:
- group: gateway.networking.k8s.io
- kind: HTTPRoute
- name: backend
- filterType: dgp.filter.http.auth.jwt
- config:
- rules:
- - match:
- prefix: /health
- - match:
- prefix: /user
- requires:
- requires_any:
- provider_name: provider1
- - match:
- prefix: /user/pixiu
- requires:
- requires_any:
- provider_name: provider2
- - match:
- prefix: /prefix
- requires:
- requires_all:
- - provider_name: provider1
- - provider_name: provider2
- providers:
- - name: provider1
- from_headers:
- name: Authorization
- value_prefix: "Bearer "
- forward_payload_header: user-data
- issuer: issuer1
- local_jwks:
- inline_string:
"{\"keys\":[{\"kty\":\"RSA\",\"e\":\"AQAB\",\"kid\":\"ee8d626d\",\"n\":\"gRda5b0pkgTytDuLrRnNSYhvfMIyM0ASq2ZggY4dVe12JV8N7lyXilyqLKleD-2lziivvzE8O8CdIC2vUf0tBD7VuMyldnZruSEZWCuKJPdgKgy9yPpShmD2NyhbwQIAbievGMJIp_JMwz8MkdY5pzhPECGNgCEtUAmsrrctP5V8HuxaxGt9bb-DdPXkYWXW3MPMSlVpGZ5GiIeTABxqYNG2MSoYeQ9x8O3y488jbassTqxExI_4w9MBQBJR9HIXjWrrrenCcDlMY71rzkbdj3mmcn9xMq2vB5OhfHyHTihbUPLSm83aFWSuW9lE7ogMc93XnrB8evIAk6VfsYlS9Q\"}]}"
- - name: provider2
- from_headers:
- name: Authorization
- value_prefix: "Bearer "
- forward_payload_header: user-data
- issuer: issuer2
- remote_jwks:
- http_uri:
- uri: http://127.0.0.1:1314/remote
- timeout: 5s
----
-apiVersion: gateway.networking.k8s.io/v1
-kind: HTTPRoute
-metadata:
- name: backend
- namespace: default
-spec:
- parentRefs:
- - name: pg
- namespace: pixiu-gateway-system
- hostnames:
- - "www.example.com"
- rules:
- - backendRefs:
- - group: ""
- kind: Service
- name: backend
- port: 3000
- weight: 1
- matches:
- - path:
- type: PathPrefix
- value: /
- filters:
- - type: ExtensionRef
- extensionRef:
- group: pixiu.apache.org
- kind: PixiuFilterPolicy
- name: jwt-filter-policy