Fixes MicroService Pathing
This commit is contained in:
@@ -16,6 +16,13 @@ spec:
|
||||
- host: ${DOMAIN}
|
||||
http:
|
||||
paths:
|
||||
- path: /api/storage
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: storage-service
|
||||
port:
|
||||
number: 8000
|
||||
- path: /api(/|$)(.*)
|
||||
pathType: Prefix
|
||||
backend:
|
||||
@@ -25,6 +32,13 @@ spec:
|
||||
number: 8070
|
||||
- http:
|
||||
paths:
|
||||
- path: /api/storage
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: storage-service
|
||||
port:
|
||||
number: 8000
|
||||
- path: /api(/|$)(.*)
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
||||
@@ -12,6 +12,7 @@ spec:
|
||||
- hosts:
|
||||
- ${DOMAIN}
|
||||
- ${API_DOMAIN}
|
||||
- ${STORAGE_API_DOMAIN}
|
||||
secretName: letsencrypt-cluster-certificate-tls
|
||||
rules:
|
||||
- host: ${DOMAIN}
|
||||
@@ -34,6 +35,16 @@ spec:
|
||||
name: backend-service
|
||||
port:
|
||||
number: 8070
|
||||
- host: ${STORAGE_API_DOMAIN}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: storage-service
|
||||
port:
|
||||
number: 8000
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
name: storage-secret
|
||||
type: Opaque
|
||||
data:
|
||||
storage_url: $STORAGE_URL
|
||||
storage_type: $STORAGE_TYPE
|
||||
aws_access_key_id: $AWS_ACCESS_KEY_ID
|
||||
aws_access_access_key: $AWS_SECRET_ACCESS_KEY
|
||||
|
||||
Reference in New Issue
Block a user