Skip to content
Snippets Groups Projects

feat: added maintenance scripts for cosmos

Merged Diego Molteni requested to merge slb/dm3/azure-maintenance into master
Compare and
9 files
+ 922
3
Compare changes
  • Side-by-side
  • Inline
Files
9
---
# Source: /devops/azure/chart/templates/virtual-service.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: {{ .Release.Name }}
namespace: osdu
spec:
hosts:
- {{ .Values.configEnv.desServiceHost }}
gateways:
- istio-gateway
http:
- match:
- uri:
prefix: "{{ .Values.configEnv.sdmsPrefix }}"
route:
- destination:
host: {{ .Release.Name }}
port:
number: 80
corsPolicy:
maxAge: "60m"
allowCredentials: true
allowHeaders:
- Authorization
- Data-Partition-Id
- Correlation-Id
- Content-Type
- x-api-key
- ltag
- impersonation-token
- impersonation-token-context
- user-token
allowMethods:
- POST
- GET
- PUT
- PATCH
- DELETE
allowOrigins:
- prefix: "*"
\ No newline at end of file
Loading