Skip to content

Commit

Permalink
Add -n openshift-machine-api to oc apply for baremetalhost
Browse files Browse the repository at this point in the history
When creating a baremetalhost it's necessary to specify this namespace
despite it being in the yaml metadata, otherwise the node won't be
seen by the actuator/operator.
  • Loading branch information
Steven Hardy committed Apr 29, 2019
1 parent 8087d67 commit ef9be3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-bm-worker/README.md
Expand Up @@ -31,7 +31,7 @@ spec:
The output can be passed directly to `oc apply` like this:

```
$ go run make-bm-worker/main.go -address ipmi://192.168.111.1:6233 -password password -user admin worker-99 | oc apply -f -
$ go run make-bm-worker/main.go -address ipmi://192.168.111.1:6233 -password password -user admin worker-99 | oc apply -f - -n openshift-machine-api
```

Include the `-image` option to include the image settings needed to
Expand Down

0 comments on commit ef9be3e

Please sign in to comment.