Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: gate grpc client and auth flags behind feature flag
Previously the holos render platform and component subcommands had flags for oidc authentication and client access to the gRPC service. These flags aren't currently used, they're remnants from the json powered form prototype. This patch gates the flags behind a feature flag which is disabled by default. Result: holos render platform --help render an entire platform Usage: holos render platform DIRECTORY [flags] Examples: holos render platform ./platform Flags: --concurrency int number of components to render concurrently (default 8) -v, --version version for platform Global Flags: --log-drop strings log attributes to drop (example "user-agent,version") --log-format string log format (text|json|console) (default "console") --log-level string log level (debug|info|warn|error) (default "info") --- HOLOS_FEATURE_CLIENT=1 holos render platform --help render an entire platform Usage: holos render platform DIRECTORY [flags] Examples: holos render platform ./platform Flags: --concurrency int number of components to render concurrently (default 8) --oidc-client-id string oidc client id. (default "270319630705329162@holos_platform") --oidc-extra-scopes strings optional oidc scopes --oidc-force-refresh force refresh --oidc-issuer string oidc token issuer url. (default "https://login.holos.run") --oidc-scopes strings required oidc scopes (default openid,email,profile,groups,offline_access) --server string server to connect to (default "https://app.holos.run:443") -v, --version version for platform Global Flags: --log-drop strings log attributes to drop (example "user-agent,version") --log-format string log format (text|json|console) (default "console") --log-level string log level (debug|info|warn|error) (default "info")
- Loading branch information