Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Wellbore Domain Services
Commits
f410bdc4
Commit
f410bdc4
authored
Sep 16, 2021
by
Alexandre Vincent
Browse files
Merge branch 'avincent/add-virtual-service' into 'master'
add virtual service See merge request
!239
parents
a2c7fe2c
a97274b8
Pipeline
#65918
failed with stages
in 17 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/templates/virtual-service.yaml
0 → 100644
View file @
f410bdc4
---
# Source: /devops/azure/chart/templates/virtual-service.yaml
#
{{
- if .Values.istioDnsHost
}}
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
os-wellbore-ddms{{ include "os-wellbore-ddms.name-suffix" . }}
namespace
:
osdu
spec
:
hosts
:
-
"
{{
.Values.istioDnsHost
}}"
gateways
:
-
istio-gateway
http
:
-
match
:
-
uri
:
prefix
:
'
{{
include
"os-wellbore-ddms.prefix"
.
}}/'
# TODO make naming more uniform across services: prefix: "/api/{{ .Chart.Name }}/v2"
route
:
-
destination
:
host
:
os-wellbore-ddms{{ include "os-wellbore-ddms.name-suffix" . }}
port
:
number
:
80
corsPolicy
:
maxAge
:
"
60m"
allowCredentials
:
true
allowHeaders
:
-
Authorization
-
Data-Partition-Id
-
Correlation-Id
allowMethods
:
-
POST
-
GET
-
PUT
-
PATCH
-
DELETE
allowOrigins
:
-
prefix
:
"
*"
{{
- end
}}
\ No newline at end of file
devops/azure/chart/values.yaml
View file @
f410bdc4
...
...
@@ -80,3 +80,6 @@ ingress:
authorizationPolicy
:
name
:
wellbore-jwt-authz
istioDnsHost
:
"
"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment