Lenses can be provisioned using Lenses CLI. Use the provision sub-command to automate setting up Lenses and use GitOps compatible workflows. It requires a YAML file which describes the configured resources.
provision
Eligible resourses to be provisioned:
Find the latest list of dynamically provisioned resources.
Example of the 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 in Is CLI provision suitable for GitOps?
--setup-mode
--mode=[VALUE]
--wait-for-lenses
Example of the provision sub-command with additional parameters:
lenses-cli provision /opts/provision.yaml \ --mode=sidecar \ --setup-mode
Contents:
On this page