ATTENTION: The new Otomi CLI is still in PREVIEW!
A new install path will soon be made available. If you encounter problems, please create an issue here.
- Bash v4
Otomi CLI only supports Bash -ge version 4.Install or upgrade on Mac OS:
Note: the image used is rather large, so this might take some time.
Run the following command:
|Apply K8S resources|
|Run interactive bash shell in otomi-core container|
|Bootstrap values repo with artifacts corresponding to the cluster's stack version|
|Check if generated manifests adhere to defined OPA policies|
|Execute wrapper for generate pipelines -> git commit changed files|
|Decrypts file(s) given as arguments (relative to env folder), or all env/.secrets.yaml to env/.secrets.yaml.dec files|
|Destroy all or some charts|
|Diff k8s resources|
|Encrypt file(s) given as arguments (relative to env folder), or all env/*.secrets.yaml files|
|Wrapper for git pull && otomi bootstrap|
|Sync k8s resources|
|Export k8s resources|
|Run tests against the target cluster|
|Validate generated manifests against supported k8s versions/CRDs and best practices|
|Validate values for each cluster against JSON schema (takes target options)|
|Show helmfile values for target cluster|
|Execute command in container|