Commit 9c603367 by 蒋勇

d

parent 4ac1d8f6
......@@ -2,6 +2,7 @@ apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: add-response-header
namespace: zhichan
config:
add:
headers:
......@@ -10,3 +11,5 @@ plugin: response-transformer
# kubectl patch ingress demo -p '{"metadata":{"annotations":{"plugins.konghq.com":"add-response-header"}}}'
# 把插件应用到某个ingress--route/service
# kubectl patch ingress fktaxctl-ingress -p '{"metadata":{"annotations":{"plugins.konghq.com":"add-response-header"}}}'
# kubectl patch service fktaxctl-service -p '{"metadata":{"annotations":{"plugins.konghq.com":"add-response-header"}}}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment