Skip to main content

Module defaults

Module defaults 

Source
Expand description

Default capability-slot bindings for the bootstrap local Environment (A4).

Pack-descriptor strings are exposed as &'static str constants so callers that need only the names (CLI output, telemetry tags) can avoid parsing. local_pack_bindings returns the five EnvPackBindings ready to drop into greentic_deploy_spec::Environment::packs; parsing failures propagate as PackDescriptorParseError but are unreachable for the compile-time constants below.

Constants§

DEV_STORE_SECRETS_PATH
Version-independent descriptor path of the dev-store secrets backend — the default binding, delivered into a cluster as the gtc-dev-secrets Secret.
LOCAL_DEFAULT_BINDINGS
(slot, descriptor) pairs for the five default bindings.
LOCAL_DEPLOYER_PACK
Pack descriptor for the deployer slot on the local env.
LOCAL_ENV_ID
EnvId string used by the bootstrap environment.
LOCAL_SECRETS_PACK
Pack descriptor for the secrets slot on the local env.
LOCAL_SESSIONS_PACK
Pack descriptor for the sessions slot on the local env.
LOCAL_STATE_PACK
Pack descriptor for the state slot on the local env.
LOCAL_TELEMETRY_PACK
Pack descriptor for the telemetry slot on the local env.
VAULT_SECRETS_PACK
Pack descriptor for the Vault secrets backend binding.
VAULT_SECRETS_PATH
Version-independent descriptor path of the HashiCorp Vault secrets backend (Phase E). Bound to the Secrets slot to make the worker resolve secret:// refs from Vault under its pod ServiceAccount identity.

Functions§

local_pack_bindings
Builds the default EnvPackBinding set for the local environment.