5.0

Provisioning Lenses

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
  • Connections

Find the latest list of dynamically provisioned resources here .

Example of using provision sub-command:

lenses-cli provision /opts/provision.yaml

Running the lenses-cli command will override previous configurations. Use --setup-mode to check if wizard has not been completed and continue to provision only then. See more details on section Is CLI provision suitable for GitOps?

Available params 

ParamValuesRequiredUsage
--mode=[VALUE]sidecarnoblock the process from exiting and let the process run in idle (used in when runs as sidecar)
--wait-for-lensesnowait until Lenses endpoint is responding, then start provisioning
--setup-modenocheck 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
Contents
Use lenses cli to automate Lenses provisioning and use GitOps compatible formats
Details on the current flow between Wizard Mode and Lenses CLI.