minishift: minishift openshift config set fails on Windows 7 and 10
minishift openshift config set fails to setup the config on Windows 7. Also it gives wrong exit code, which masks that the setup of config actually failed:
C:\Users\CDKQE> minishift openshift config set --patch "{\"assetConfig" : { \"logoutURL\" : \"http://www.minishift.io\"}}
Patching OpenShift configuration /var/lib/origin/openshift.local.config/master/master-config.yaml with {"assetConfig" : { "logoutURL" : "http://www.minishift.io"}}
ssh command error:
command : sudo echo 'admissionConfig:
pluginConfig:
openshift.io/ImagePolicy:
configuration:
apiVersion: v1
executionRules:
[...]
servingInfo:
bindAddress: 0.0.0.0:8443
bindNetwork: tcp4
certFile: master.server.crt
clientCA: ca.crt
keyFile: master.server.key
maxRequestsInFlight: 1200
namedCertificates: null
requestTimeoutSeconds: 3600
templateServiceBrokerConfig: null
volumeConfig:
dynamicProvisioningEnabled: true
' | sed 's/.$//' | sudo tee /var/lib/minishift/openshift.local.config/master/master-config
.yaml > /dev/null
err : exit status 1
output : bash: -c: line 164: unexpected EOF while looking for matching `''
bash: -c: line 288: syntax error: unexpected end of file
Restarting OpenShift
C:\Users\CDKQE>echo %errorlevel%
0
With integration tests I am facing this issue only on Windows 7. Linux and macOS are fine. Windows 10 I was unable to check.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (9 by maintainers)
hi @agajdosi ,
Now, not able to reproduce in the affected Win 10 provided by you.