From e2121deeea84d3c68a7fa236668c1aa36c4b09e4 Mon Sep 17 00:00:00 2001 From: Nilesh Gule Date: Sat, 15 Sep 2018 01:05:21 +0800 Subject: [PATCH] Changed path separator to make powershell script work on Windows and Mac --- k8s/deploy-ingress-azure.ps1 | 6 +++--- k8s/deploy-ingress.ps1 | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/k8s/deploy-ingress-azure.ps1 b/k8s/deploy-ingress-azure.ps1 index f93cf437b..0cf5a945e 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/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 diff --git a/k8s/deploy-ingress.ps1 b/k8s/deploy-ingress.ps1 index 694361bfa..d7837a6d7 100644 --- a/k8s/deploy-ingress.ps1 +++ b/k8s/deploy-ingress.ps1 @@ -1,12 +1,12 @@ kubectl apply -f ingress.yaml # Deploy nginx-ingress core files -kubectl apply -f nginx-ingress\namespace.yaml -kubectl apply -f nginx-ingress\default-backend.yaml -kubectl apply -f nginx-ingress\configmap.yaml -kubectl apply -f nginx-ingress\tcp-services-configmap.yaml -kubectl apply -f nginx-ingress\udp-services-configmap.yaml -kubectl apply -f nginx-ingress\without-rbac.yaml +kubectl apply -f nginx-ingress/namespace.yaml +kubectl apply -f nginx-ingress/default-backend.yaml +kubectl apply -f nginx-ingress/configmap.yaml +kubectl apply -f nginx-ingress/tcp-services-configmap.yaml +kubectl apply -f nginx-ingress/udp-services-configmap.yaml +kubectl apply -f nginx-ingress/without-rbac.yaml