Red Hat Bugzilla – Bug 1302424
[RFE] oc new-app option that sets nodeselector and serviceaccountname
Last modified: 2016-07-25 21:02:51 EDT
Description of problem:
- Requesting the `oc new-app` to have option to use existing serviceaccount and also set nodeselector value for new-app
Version-Release number of selected component (if applicable):
oc new-app --docker-image=myregistry.com/mycompany/mysql --serviceaccount=example --nodeselector="zone=primary"
The following would add a value for serviceaccountname under podspec and nodeselector under podspec for the deployment config.
We will unlikely expose this on new-app, but we would like to expose this via the CLI.
Clayton I think you're saying we'd like to have a "oc set nodeselector" and "oc set serviceaccount" command for editing deploymentconfigs, is that accurate?