Commit 502aefe7 by 蒋勇

d

parent 4f53831f
...@@ -16,7 +16,5 @@ metadata: ...@@ -16,7 +16,5 @@ metadata:
name: jwt name: jwt
namespace: tencent-qifu namespace: tencent-qifu
config: config:
add:
headers:
- "Authorization: injected-by-kong"
plugin: jwt plugin: jwt
disabled: false
\ No newline at end of file
...@@ -70,6 +70,27 @@ spec: ...@@ -70,6 +70,27 @@ spec:
serviceName: paas-service serviceName: paas-service
servicePort: 80 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 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
......
...@@ -18,7 +18,7 @@ spec: ...@@ -18,7 +18,7 @@ spec:
restartPolicy: Always restartPolicy: Always
containers: containers:
- name: entprofile - 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 imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - 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