diff --git a/k8s/deploy-ingress-azure.ps1 b/k8s/deploy-ingress-azure.ps1 index f93cf437b..400cdb61f 100644 --- a/k8s/deploy-ingress-azure.ps1 +++ b/k8s/deploy-ingress-azure.ps1 @@ -1,3 +1,3 @@ -kubectl patch deployment -n ingress-nginx nginx-ingress-controller --type=json --patch="$(cat nginx-ingress\publish-service-patch.yaml)" -kubectl apply -f nginx-ingress\azure\service.yaml -kubectl apply -f nginx-ingress\patch-service-without-rbac.yaml \ No newline at end of file +kubectl patch deployment -n ingress-nginx nginx-ingress-controller --type=json --patch="$(cat nginx-ingress$([IO.Path]::DirectorySeparatorChar)publish-service-patch.yaml)" +kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)azure$([IO.Path]::DirectorySeparatorChar)service.yaml +kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)patch-service-without-rbac.yaml