Skip to content
Discussion options

You must be logged in to vote

Short answer: there isn’t currently an offline CLI for this in v1.5.1. The documented Dockerfile should produce a compatible driver image, but it isn't guaranteed to match every choice the operator/KMM build would make.

The closest workaround is to let the operator reconcile a representative DeviceConfig, then grab the build inputs it generated.

The operator puts its selected Dockerfile in a ConfigMap named:

<os-name>-<DeviceConfig name>-<namespace>

For example:

NS=<namespace>
DC=<deviceconfig-name>
OS=ubuntu-24.04

kubectl -n "$NS" get configmap "${OS}-${DC}-${NS}" -o jsonpath='{.data.dockerfile}' > Dockerfile

The generated KMM Module uses the same name and namespace as the DeviceConfig:

k…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dlipovetsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants