Browse Source

Changed path separator to make powershell script work on Windows and Mac

pull/771/head
Nilesh Gule 6 years ago
parent
commit
e2121deeea
2 changed files with 9 additions and 9 deletions
  1. +3
    -3
      k8s/deploy-ingress-azure.ps1
  2. +6
    -6
      k8s/deploy-ingress.ps1

+ 3
- 3
k8s/deploy-ingress-azure.ps1 View File

@ -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
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

+ 6
- 6
k8s/deploy-ingress.ps1 View File

@ -1,12 +1,12 @@
kubectl apply -f ingress.yaml kubectl apply -f ingress.yaml
# Deploy nginx-ingress core files # 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

Loading…
Cancel
Save