diff --git a/devops/azure/chart/templates/virtual-service.yaml b/devops/azure/chart/templates/virtual-service.yaml index 8d3a2cc1b23edee0a353b22fa8e6d8d3f09e53bb..93a8d8af9b645f3db447b8c15cab1a7e149e3f22 100644 --- a/devops/azure/chart/templates/virtual-service.yaml +++ b/devops/azure/chart/templates/virtual-service.yaml @@ -1,5 +1,6 @@ --- # Source: /devops/azure/chart/templates/virtual-service.yaml +{{- if .Values.istioDnsHost }} apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: @@ -34,4 +35,5 @@ spec: - PATCH - DELETE allowOrigins: - - prefix: "*" \ No newline at end of file + - prefix: "*" +{{- end }} \ No newline at end of file