ske

package
v0.95.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOSName          = "flatcar"
	DefaultCRI             = "containerd"
	DefaultVolumeType      = "storage_premium_perf1"
	DefaultVolumeSizeGB    = 20
	VersionStateSupported  = "supported"
	VersionStatePreview    = "preview"
	VersionStateDeprecated = "deprecated"

	SKEUpdateDoc = "" /* 317-byte string literal not displayed */

	NodePoolsPlanTitle = "Plan for node_pools might look incorrect"
	NodePoolsPlanDesc  = "When updating the node_pools of a stackit_ske_cluster, the Terraform plan might appear incorrect " +
		"and shows a diff indicating that existing pools will be destroyed and recreated.\n\n" +
		"This happens because Terraform matches list elements by their index rather than by name. " +
		"Adding, removing, or reordering items in the list shifts these indices, causing cascading diffs.\n\n" +
		"However, the SKE API correctly identifies node pools by name and applies the intended changes safely. " +
		"Please review your changes carefully to ensure the correct configuration will be applied.\n\n" +
		"Always append new node pools to the end of the node_pools list, to prevent index shifting and keep your Terraform plans clean."
)

Variables

This section is empty.

Functions

func NewClusterDataSource

func NewClusterDataSource() datasource.DataSource

NewClusterDataSource is a helper function to simplify the provider implementation.

func NewClusterResource

func NewClusterResource()