openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

Pass --env options to oc cluster up #91

Closed michaelpaesold closed 6 years ago

michaelpaesold commented 6 years ago

I implemented passing --env or -e options from oc-cluster up to oc cluster up.

It was a TODO in the code and I wanted to use it for trying setting GOMAXPROCS inside the openshift container. Supports multiple --env options.

Example: oc-cluster up --env GOMAXPROCS=1

(see https://docs.openshift.org/latest/install_config/install/prerequisites.html#configuring-core-usage)

michaelpaesold commented 6 years ago

@jorgemoralespou are you still maintaining oc-cluster-wrapper? Could you review my PR? Thanks!

michaelpaesold commented 6 years ago

Thank you!