In upcoming Origin 1.4 and OpenShift Container Platform 3.4 releases, it will no longer be possible to use single command-line line option to pass several comma-separated environment variables or template parameters. Examples of commands that will not work as before:
oc start-build hello-world --env HTTP_PROXY=http://192.168.1.1:8080,HTTPS_PROXY=http://192.168.1.1:8443 oc new-app mysql --param MYSQL_USER=user,MYSQL_PASSWORD=pass oc process mysql --value MYSQL_USER=user,MYSQL_PASSWORD=pass You can use multiple --env/--param/--value options to provide multiple values instead: oc start-build hello-world --env HTTP_PROXY=http://192.168.1.1:8080 --env HTTPS_PROXY=http://192.168.1.1:8443 oc new-app mysql --param MYSQL_USER=user --param MYSQL_PASSWORD=pass oc process mysql --value MYSQL_USER=user --value MYSQL_PASSWORD=pass The main reason for this change is to make it possible to set a variable/parameter to arbitrary value without worrying whether it contains commas, etc. Example: oc process sometemplate --value VARIABLE=$(cat value-in-file.txt) Please update your scripts if you are using the old form. Best regards, Martin Milata _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
