Documentation
¶
Overview ¶
Package plan contains pure setup planning types and default resolution.
Index ¶
Constants ¶
View Source
const ( StorageModeDynamic = "dynamic" StorageModeHostpath = "hostpath" )
View Source
const ( PlatformModeOrg = "org" PlatformModePublic = "public" )
View Source
const ( RegistryModeAuto = "auto" RegistryModeBundledHTTP = "bundled-http" RegistryModeBundledHTTPS = "bundled-https" RegistryModeExternal = "external" )
View Source
const ( DefaultOrgCatalogNamespace = "mcp-servers-org" DefaultTestMTLSClusterIssuer = "mcp-runtime-ca" DefaultMCPAuthTLSSecret = "mcp-auth-server-tls" // #nosec G101 -- Kubernetes Secret name, not a credential. )
Variables ¶
This section is empty.
Functions ¶
func CatalogNamespacesForPlatformMode ¶
CatalogNamespacesForPlatformMode lists every catalog setup must provision.
func NormalizePlatformMode ¶
func NormalizeRegistryMode ¶
Types ¶
type Input ¶
type Input struct {
Kubeconfig string
Context string
RegistryType string
RegistryStorageSize string
RegistryMode string
ExternalRegistryURL string
ExternalRegistryUser string
ExternalRegistryPass string
StorageMode string
PlatformMode string
IngressMode string
IngressManifest string
IngressManifestChanged bool
ForceIngressInstall bool
TLSEnabled bool
ProvidedTLSSecrets bool
ExpectClusterID string
TestMode bool
TestMultiReplica bool
ParallelBuilds bool
StrictProd bool
DeployAnalytics bool
DeployMCPAuthServer bool
MCPAuthServerImage string
MCPAuthIssuerURL string
MCPAuthResourceURLs []string
MCPAuthTLSSecret string
MCPAuthSigningKeySecret string
MCPAuthConnectorsFile string
MCPAuthConnector string
OperatorArgs []string
// Let's Encrypt (HTTP-01 via cert-manager). If empty, other TLS modes apply; mutually exclusive with TLSClusterIssuer.
ACMEmail string
ACMEStaging bool
// TLSClusterIssuer is a pre-existing cert-manager.io ClusterIssuer (e.g. org internal CA / Vault / ADCS). Mutually exclusive with ACMEmail.
TLSClusterIssuer string
// MTLSClusterIssuer enables optional adapter client-certificate validation
// for gateway server and adapter client certificates. Name an enterprise
// ClusterIssuer with an independent signing root in production. Test mode
// defaults to the bundled mcp-runtime-ca and may provision it automatically.
MTLSClusterIssuer string
InstallCertManager bool
}
Input captures the raw CLI inputs for setup.
type Plan ¶
type Plan struct {
Kubeconfig string
Context string
RegistryType string
RegistryStorageSize string
RegistryMode string
ExternalRegistryURL string
ExternalRegistryUser string
ExternalRegistryPass string
StorageMode string
PlatformMode string
Ingress cluster.IngressOptions
RegistryManifest string
TLSEnabled bool
ProvidedTLSSecrets bool
ExpectClusterID string
TestMode bool
TestMultiReplica bool
ParallelBuilds bool
StrictProd bool
DeployAnalytics bool
DeployMCPAuthServer bool
MCPAuthServerImage string
MCPAuthIssuerURL string
MCPAuthResourceURLs []string
MCPAuthTLSSecret string
MCPAuthSigningKeySecret string
MCPAuthConnectorsFile string
MCPAuthConnector string
OperatorArgs []string
ACMEmail string
ACMEStaging bool
TLSClusterIssuer string
MTLSClusterIssuer string
InstallCertManager bool
}
Plan captures the resolved setup decisions.
Click to show internal directories.
Click to hide internal directories.