Hoppa till innehållet
Stackship-dokumentation English

LivscykelhanteringAdministratörerMaskinöversatt

Konfigurationsreferens

Konfigurationsnycklar i modulen lifecycle: sektioner, miljövariabler, typer och standardvärden.

Genererad från modulens kod när dess image byggdes — redigera inte. Varje nyckel kan sättas som miljövariabel på modulens deployment i namnrymden stackship-system; dubbla understreck skiljer nivåerna åt. En miljövariabel går före modulens medlevererade appsettings. Värden som kan vara hemligheter visas inte.

Auth

Binds till StackshipAuthOptions.

Nyckel Miljövariabel Typ Standardvärde
Auth:InternalUrl Auth__InternalUrl string ""
Auth:Module:Audience Auth__Module__Audience string
Auth:Module:ClientId Auth__Module__ClientId string ""
Auth:Module:ClientSecret Auth__Module__ClientSecret string (visas inte)
Auth:Realm Auth__Realm string ""
Auth:Stackship:Audience Auth__Stackship__Audience string
Auth:Stackship:ClientId Auth__Stackship__ClientId string ""
Auth:Stackship:ClientSecret Auth__Stackship__ClientSecret string (visas inte)
Auth:Url Auth__Url string ""

ReleaseFeed

Binds till ReleaseFeedOptions.

Nyckel Miljövariabel Typ Standardvärde
ReleaseFeed:Channel ReleaseFeed__Channel string stable
ReleaseFeed:FeedUrl ReleaseFeed__FeedUrl string ""
ReleaseFeed:PollIntervalSeconds ReleaseFeed__PollIntervalSeconds integer 3600
ReleaseFeed:TrustedPublicKeysPem:{index} ReleaseFeed__TrustedPublicKeysPem__{index} string

Stackship

Binds till StackshipModuleOptions.

Nyckel Miljövariabel Typ Standardvärde
Stackship:AutoUnregisterOnShutdown Stackship__AutoUnregisterOnShutdown boolean true
Stackship:BackendBaseUrl Stackship__BackendBaseUrl string ""
Stackship:BaseUrl Stackship__BaseUrl string ""
Stackship:CustomResourceDefinitions:{index}:Group Stackship__CustomResourceDefinitions__{index}__Group string
Stackship:CustomResourceDefinitions:{index}:Plural Stackship__CustomResourceDefinitions__{index}__Plural string
Stackship:CustomResourceDefinitions:{index}:ReadAction Stackship__CustomResourceDefinitions__{index}__ReadAction string
Stackship:CustomResourceDefinitions:{index}:ResourceName Stackship__CustomResourceDefinitions__{index}__ResourceName string
Stackship:CustomResourceDefinitions:{index}:StatusSource Stackship__CustomResourceDefinitions__{index}__StatusSource string
Stackship:CustomResourceDefinitions:{index}:UserManagedResource Stackship__CustomResourceDefinitions__{index}__UserManagedResource boolean
Stackship:CustomResourceDefinitions:{index}:Version Stackship__CustomResourceDefinitions__{index}__Version string
Stackship:DisplayName Stackship__DisplayName string ""
Stackship:HeartbeatInterval Stackship__HeartbeatInterval duration 00:00:30
Stackship:HeartbeatTimeout Stackship__HeartbeatTimeout duration
Stackship:HttpTimeout Stackship__HttpTimeout duration 00:00:15
Stackship:Key Stackship__Key string (visas inte)
Stackship:RegistrationRetryInterval Stackship__RegistrationRetryInterval duration 00:00:05
Stackship:UseGrpcRegistration Stackship__UseGrpcRegistration boolean false

Stackship:Authorization

Binds till AuthorizationOptions.

Nyckel Miljövariabel Typ Standardvärde
Stackship:Authorization:CacheTtlSeconds Stackship__Authorization__CacheTtlSeconds integer 30
Stackship:Authorization:RbacEndpoint Stackship__Authorization__RbacEndpoint string ""

Läses vid start

Nycklar som modulen läser direkt när den startar, utanför en options-sektion. Värdekolumnen visar vad modulens appsettings levererar.

Nyckel Miljövariabel Typ Levererat värde
ConnectionStrings:Postgres ConnectionStrings__Postgres (visas inte)
Lifecycle:ComponentsManifestPath Lifecycle__ComponentsManifestPath manifests/lifecycle/components.json