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
837d4a5e
Commit
837d4a5e
authored
Sep 09, 2021
by
Alexandre Vincent
Browse files
dos2unix virtual-service.yaml
parent
48312cdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/templates/virtual-service.yaml
View file @
837d4a5e
---
# Source: /devops/azure/chart/templates/virtual-service.yaml
---
# Source: /devops/azure/chart/templates/virtual-service.yaml
#
{{
- if .Values.istioDnsHost -
}}
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
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
:
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
:
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
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