Fresh Omni instance bootstrap for CI: how do we create/register the first Service Account (no UI) so omnictl can run? #2270
-
|
We have an automated test environment (CI) where we bring up a new Omni instance from scratch and then run non-interactive tests using omnictl (inside a Kubernetes pod). Most of the commands we need (apply templates / list clusters / etc.) appear to require auth via OMNI_SERVICE_ACCOUNT_KEY, but on a fresh instance we have no service account key yet. What is the supported “bootstrap” path to create/register the first Service Account + key without using the UI? Is there a CLI flow in omnictl to create the first SA/key? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, We have a functionality to create a service account token at omni startup via these flags: You can see all the flags by running: |
Beta Was this translation helpful? Give feedback.
Hi,
We have a functionality to create a service account token at omni startup via these flags:
You can see all the flags by running: