Open AlZero-t opened 4 years ago
Hi, I have a question for you about plugin for kubernetes . this is example plugins:
I want to switch from A domain to B domain I wrote the following YAML file But I don't know how to modify it Can you take a look at it for me
1 apiVersion: extensions/v1betal 2 kind: Ingress 3 metadata: 4 name: rewrite-icc-api-kong 5 annotations: 6 plugins.kongq.com: kong-plugin-url-rewrite 7 konghq.com/strip-path: "false" 8 9 spec: 10 rules: 11 - host: services.dev.iccchina.com/api/test 12 http: 13 paths: 14 -backend: 15 serviceName: icc-api 16 servicePort: 80 17 url: icc-api.dev.iccchina.com/api/v1/test
A domain services.dev.iccchina.com/api/test B domain icc-api.dev.iccchina.com/api/v1/test
thinks
Hi, I have a question for you about plugin for kubernetes . this is example plugins:
I want to switch from A domain to B domain I wrote the following YAML file But I don't know how to modify it Can you take a look at it for me
1 apiVersion: extensions/v1betal 2 kind: Ingress 3 metadata: 4 name: rewrite-icc-api-kong 5 annotations: 6 plugins.kongq.com: kong-plugin-url-rewrite 7 konghq.com/strip-path: "false" 8 9 spec: 10 rules: 11 - host: services.dev.iccchina.com/api/test 12 http: 13 paths: 14 -backend: 15 serviceName: icc-api 16 servicePort: 80 17 url: icc-api.dev.iccchina.com/api/v1/test