squash all
Mostly copied over from my old repo and modified for app of apps. Cleaning up the mess from migration Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
471f30f0b1
commit
52933116f0
104 changed files with 2532 additions and 44 deletions
39
harbor-config/virtualservice.yaml
Normal file
39
harbor-config/virtualservice.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: harbor
|
||||
namespace: harbor
|
||||
spec:
|
||||
hosts:
|
||||
- registry.gwg313.xyz
|
||||
gateways:
|
||||
- harbor-gateway
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /api/
|
||||
- uri:
|
||||
prefix: /service/
|
||||
- uri:
|
||||
prefix: /chartrepo
|
||||
- uri:
|
||||
prefix: /c/
|
||||
- uri:
|
||||
prefix: /v1/
|
||||
- uri:
|
||||
prefix: /v2/
|
||||
route:
|
||||
- destination:
|
||||
host: harbor-core
|
||||
port:
|
||||
number: 80
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
name: portal
|
||||
route:
|
||||
- destination:
|
||||
host: harbor-portal
|
||||
port:
|
||||
number: 80
|
||||
timeout: 30s
|
||||
Loading…
Add table
Add a link
Reference in a new issue