Commit 4780ddc5 authored by Alexandre Vincent's avatar Alexandre Vincent
Browse files

add condition on istioDnHost defined to enable virtual-service

parent 7138e901
--- ---
# Source: /devops/azure/chart/templates/virtual-service.yaml # Source: /devops/azure/chart/templates/virtual-service.yaml
#
{{- if .Values.istioDnsHost -}}
apiVersion: networking.istio.io/v1alpha3 apiVersion: networking.istio.io/v1alpha3
kind: VirtualService kind: VirtualService
metadata: metadata:
...@@ -33,4 +35,5 @@ spec: ...@@ -33,4 +35,5 @@ spec:
- PATCH - PATCH
- DELETE - DELETE
allowOrigins: allowOrigins:
- prefix: "*" - prefix: "*"
\ No newline at end of file {{- end -}}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment