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
This commit is contained in:
parent
1178b83585
commit
8b8fda1ab6
@ -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$([IO.Path]::DirectorySeparatorChar)namespace.yaml
|
||||||
kubectl apply -f nginx-ingress\default-backend.yaml
|
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)default-backend.yaml
|
||||||
kubectl apply -f nginx-ingress\configmap.yaml
|
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)configmap.yaml
|
||||||
kubectl apply -f nginx-ingress\tcp-services-configmap.yaml
|
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)tcp-services-configmap.yaml
|
||||||
kubectl apply -f nginx-ingress\udp-services-configmap.yaml
|
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)udp-services-configmap.yaml
|
||||||
kubectl apply -f nginx-ingress\without-rbac.yaml
|
kubectl apply -f nginx-ingress$([IO.Path]::DirectorySeparatorChar)without-rbac.yaml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user