1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 13:07:48 +00:00

README: document new hostmount prefix Makefile variables

(cherry picked from commit 906b1a075f)
This commit is contained in:
Markus Lehtonen 2020-05-25 10:22:33 +03:00
parent d75beace9b
commit a785f2825d

View file

@ -876,19 +876,21 @@ attribute in the spec template(s) to the new location
There are several Makefile variables that control the build process and the There are several Makefile variables that control the build process and the
name of the resulting container image. name of the resulting container image.
| Variable | Description | Default value | Variable | Description | Default value
| ---------------------- | -------------------------------------------- | ----------- | | -------------------------- | ----------------------------------------------------------------- | ----------- |
| IMAGE_BUILD_CMD | Command to build the image | docker build | HOSTMOUNT_PREFIX | Prefix of system directories for feature discovery (local builds) | /
| IMAGE_BUILD_EXTRA_OPTS | Extra options to pass to build command | *empty* | CONTAINER_HOSTMOUNT_PREFIX | Prefix of system directories for feature discovery (container builds) | <HOSTMOUNT_PREFIX> (*if specified*) /host- (*otherwise*)
| IMAGE_PUSH_CMD | Command to push the image to remote registry | docker push | IMAGE_BUILD_CMD | Command to build the image | docker build
| IMAGE_REGISTRY | Container image registry to use | k8s.gcr.io/nfd | IMAGE_BUILD_EXTRA_OPTS | Extra options to pass to build command | *empty*
| IMAGE_NAME | Container image name | node-feature-discovery | IMAGE_PUSH_CMD | Command to push the image to remote registry | docker push
| IMAGE_TAG_NAME | Container image tag name | <nfd version> | IMAGE_REGISTRY | Container image registry to use | k8s.gcr.io/nfd
| IMAGE_REPO | Container image repository to use | <IMAGE_REGISTRY>/<IMAGE_NAME> | IMAGE_NAME | Container image name | node-feature-discovery
| IMAGE_TAG | Full image:tag to tag the image with | <IMAGE_REPO>/<IMAGE_NAME> | IMAGE_TAG_NAME | Container image tag name | <nfd version>
| K8S_NAMESPACE | nfd-master and nfd-worker namespace | kube-system | IMAGE_REPO | Container image repository to use | <IMAGE_REGISTRY>/<IMAGE_NAME>
| KUBECONFIG | Kubeconfig for running e2e-tests | *empty* | IMAGE_TAG | Full image:tag to tag the image with | <IMAGE_REPO>/<IMAGE_NAME>
| E2E_TEST_CONFIG | Parameterization file of e2e-tests (see [example](test/e2e/e2e-test-config.exapmle.yaml)) | *empty* | K8S_NAMESPACE | nfd-master and nfd-worker namespace | kube-system
| KUBECONFIG | Kubeconfig for running e2e-tests | *empty*
| E2E_TEST_CONFIG | Parameterization file of e2e-tests (see [example](test/e2e/e2e-test-config.exapmle.yaml)) | *empty*
For example, to use a custom registry: For example, to use a custom registry:
``` ```