Lenses can be provisioned using Lenses CLI.
provision sub-command provide a way to automate setting up Lenses and use GitOps compatible workflows. It requires a
YAML file which describes the configured resources.
Eligible resourses to be provisioned:
- Lenses License
Find the latest list of dynamically provisioned resources here .
Example of using
lenses-cli provision /opts/provision.yaml
Running the lenses-cli command will override previous configurations. Use
--setup-modeto check if wizard has not been completed and continue to provision only then. See more details on section Is CLI provision suitable for GitOps?
|sidecar||no||block the process from exiting and let the process run in idle (used in when runs as sidecar)|
|no||wait until Lenses endpoint is responding, then start provisioning|
|no||check if wizard has not been completed and continue to provision only then|
Example of using `provision` sub-command with additional params:
lenses-cli provision /opts/provision.yaml \ --mode=sidecar \ --setup-mode
Use lenses cli to automate Lenses provisioning and use GitOps compatible formats
Details on the current flow between Wizard Mode and Lenses CLI.