pctl is a cli tool for interacting with Profiles
For operational documentation please visit the Profiles Documentation.
In order to run CLI commands you need a profiles catalog controller up and running along with its API in a cluster.
To get a local setup clone the Profiles repo and run make local-env
.
This will deploy a local kind cluster with the catalog controller and API running. Once the environment is setup
run the following to use pctl against it:
- Create your catalog, for example there is a
examples/profile-catalog-source.yaml
file in the profiles repokubectl apply -f profiles/examples/profile-catalog-source.yaml
- Ensure the current context in kubeconfig is set to the
profiles