Documentation ¶
Index ¶
- Constants
- func CanEnableExtension(runtime imv1.Runtime) bool
- func ExtendWithAnnotations(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithCertConfig(_ imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithCloudProfile(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithExposureClassName(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithLabels(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithNetworkFilter(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithOIDC(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func ExtendWithTolerations(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func NewDNSExtender(secretName, domainPrefix, dnsProviderType string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func NewKubernetesExtender(defaultKubernetesVersion string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func NewMaintenanceExtender(enableKubernetesVersionAutoUpdate, enableMachineImageVersionAutoUpdate bool) func(runtime imv1.Runtime, shoot *gardener.Shoot) error
- func NewProviderExtender(enableIMDSv2 bool, defaultMachineImageName, defaultMachineImageVersion string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error
- type ControlPlaneProviderFunc
- type DNSExtensionProviderConfig
- type DNSProviderReplication
- type ExtensionProviderConfig
- type InfrastructureProviderFunc
- type ShootIssuers
Constants ¶
View Source
const ( ShootRuntimeIDAnnotation = "infrastructuremanager.kyma-project.io/runtime-id" ShootLicenceTypeAnnotation = "infrastructuremanager.kyma-project.io/licence-type" RuntimeIDLabel = "kyma-project.io/runtime-id" ShootRestrictedEUAccessAnnotation = "support.gardener.cloud/eu-access-for-cluster-nodes" )
View Source
const ( DefaultAWSCloudProfileName = "aws" DefaultAzureCloudProfileName = "az" DefaultGCPCloudProfileName = "gcp" DefaultOpenStackCloudProfileName = "converged-cloud-kyma" )
View Source
const ( RuntimeGlobalAccountLabel = "kyma-project.io/global-account-id" RuntimeSubaccountLabel = "kyma-project.io/subaccount-id" ShootGlobalAccountLabel = "account" ShootSubAccountLabel = "subaccount" )
View Source
const NetworkFilterType = "shoot-networking-filter"
View Source
const (
OidcExtensionType = "shoot-oidc-service"
)
Variables ¶
This section is empty.
Functions ¶
func CanEnableExtension ¶
func ExtendWithAnnotations ¶
func ExtendWithCloudProfile ¶
func ExtendWithExposureClassName ¶
ExposureClassName is required only for OpenStack
func ExtendWithNetworkFilter ¶
func ExtendWithTolerations ¶
func NewDNSExtender ¶
func NewKubernetesExtender ¶
func NewKubernetesExtender(defaultKubernetesVersion string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error
NewKubernetesExtender creates a new Kubernetes extender function. It sets the Kubernetes version of the Shoot to the version specified in the Runtime. If the version is not specified in the Runtime, it sets the version to the `defaultKubernetesVersion`, set in `converter_config.json`. It sets the EnableStaticTokenKubeconfig field of the Shoot to false.
func NewMaintenanceExtender ¶
Types ¶
type DNSExtensionProviderConfig ¶
type DNSExtensionProviderConfig struct { // APIVersion is gardener extension api version APIVersion string `json:"apiVersion"` // DnsProviderReplication indicates whether dnsProvider replication is on DNSProviderReplication *DNSProviderReplication `json:"dnsProviderReplication,omitempty"` // Kind is extension type Kind string `json:"kind"` }
type DNSProviderReplication ¶
type DNSProviderReplication struct { // Enabled indicates whether replication is on Enabled bool `json:"enabled"` }
type ExtensionProviderConfig ¶
type ExtensionProviderConfig struct { // APIVersion is gardener extension api version APIVersion string `json:"apiVersion"` // DnsProviderReplication indicates whether dnsProvider replication is on DNSProviderReplication *DNSProviderReplication `json:"dnsProviderReplication,omitempty"` // ShootIssuers indicates whether shoot Issuers are on ShootIssuers *ShootIssuers `json:"shootIssuers,omitempty"` // Kind is extension type Kind string `json:"kind"` }
func NewCertConfig ¶
func NewCertConfig() *ExtensionProviderConfig
type ShootIssuers ¶
type ShootIssuers struct { // Enabled indicates whether shoot Issuers are on Enabled bool `json:"enabled"` }
Click to show internal directories.
Click to hide internal directories.