first upload
This commit is contained in:
36
apps/dokuwiki/istio.yaml
Normal file
36
apps/dokuwiki/istio.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: networking.istio.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: dokuwiki-gw
|
||||
namespace: default
|
||||
spec:
|
||||
selector:
|
||||
istio: ingressgateway
|
||||
servers:
|
||||
- port:
|
||||
number: 80
|
||||
name: http
|
||||
protocol: HTTP
|
||||
hosts:
|
||||
- "wiki.kind.local"
|
||||
|
||||
---
|
||||
apiVersion: networking.istio.io/v1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: dokuwiki-vs
|
||||
namespace: default
|
||||
spec:
|
||||
hosts:
|
||||
- "wiki.kind.local"
|
||||
gateways:
|
||||
- dokuwiki-gw
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
route:
|
||||
- destination:
|
||||
host: dokuwiki.default.svc.cluster.local
|
||||
port:
|
||||
number: 80
|
Reference in New Issue
Block a user