Commit 502aefe7 by 蒋勇

d

parent 4f53831f
......@@ -16,7 +16,5 @@ metadata:
name: jwt
namespace: tencent-qifu
config:
add:
headers:
- "Authorization: injected-by-kong"
plugin: jwt
\ No newline at end of file
plugin: jwt
disabled: false
\ No newline at end of file
......@@ -70,6 +70,27 @@ spec:
serviceName: paas-service
servicePort: 80
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: paas-pugintest-ingress
namespace: tencent-qifu
annotations:
configuration.konghq.com: kongingress-strip-path
plugins.konghq.com: jwt
spec:
rules:
- host: txchannel-dev.brg.tencentyun.com
http:
paths:
- path: /testplugin
pathType: Prefix
backend:
serviceName: paas-service
servicePort: 80
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
......
......@@ -18,7 +18,7 @@ spec:
restartPolicy: Always
containers:
- name: entprofile
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:179.1.61
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:179.1.62
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
......
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