Browse Source

Fix path separator on Mac OS x

On Mac, the original script doesn't work. Thanks to $([IO.Path]::DirectorySeparatorChar), we can easily provide a standard way to execute correctly this script
pull/823/head
turibbio 6 years ago
committed by GitHub
parent
commit
8b8fda1ab6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      k8s/deploy-ingress.ps1

+ 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$([IO.Path]::DirectorySeparatorChar)namespace.yaml
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)default-backend.yaml
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)configmap.yaml
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)tcp-services-configmap.yaml
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)udp-services-configmap.yaml
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)without-rbac.yaml

Loading…
Cancel
Save