The binary, its directory, its config directory and its environment
variables take the new name. For one release the previous names still
work: every NVKECTL_* setting is also read under its NKECTL_* name with a
deprecation warning (the NKECTL_CWE_* names of the generation before are
no longer read), a config file left under nkectl/ is read and copied to
nvkectl/ once, and releases publish both nvkectl-<os>-<arch> and
nkectl-<os>-<arch>, to GitHub and to S3 under the existing prefix.
The e2e helper package, the e2e test, the smoke and fetch scripts and
the bootstrap e2e workflow follow the binary; the fetch script accepts a
release that carries only the old asset name. The CLI's own documents
and the two installation documents that print the download URLs change
with it.
Kept on purpose: the NVCR repository name until an nvkectl repository
exists in the NGC org, the S3 prefix the publishing role's policy names,
and the prose in the other documents.
BREAKING CHANGE: the CLI is installed and invoked as nvkectl. The
previous binary name, environment variable names and config directory
are honoured for one release, as described above.
Closes#1455
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The bootstrap's ephemeral Kind cluster creates and uses the database
nke-controller, as the Tilt and e2e deploy paths do after #1271. nkectl's
controller values set appDb.dbName to nke-controller, and an embedded
postgres-values.yaml replaces the Postgres chart's init-cwe.sql so it creates
that database. init-temporal.sql and the chart defaults are unchanged.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
Rename cli/internal/bootstrap/cwedeploy to controllerdeploy, cli/internal/cwe
to cli/internal/controller, clients.CWEClient and CWEClientFn to
ControllerClient and ControllerClientFn, and the bundled cwe-values.yaml and
cwe-nodeport.yaml to controller-values.yaml and controller-nodeport.yaml.
Update every path-bound reference: the cli/Makefile ldflag that stamps
capiVersion, the CAPD e2e path filters, the root Makefile's provider manifest
change detection, the regenerated provider manifest header, README links and
path comments. No behaviour change.
Signed-off-by: Aaron Patten <apatten@nvidia.com>