manifests

package
v0.0.0-...-ac0d06b Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterUUIDCmKey       = "cluster-uuid"
	ClusterUUIDCm          = "d8-cluster-uuid"
	ClusterUUIDCmNamespace = "kube-system"
)
View Source
const (
	ConvergeLabel = "dhctl.deckhouse.io/node-for-converge"
)
View Source
const TerraformClusterStateName = "d8-cluster-terraform-state"

Variables

This section is empty.

Functions

func ClusterUUIDConfigMap

func ClusterUUIDConfigMap(uuid string) *apiv1.ConfigMap

func DeckhouseAdminClusterRole

func DeckhouseAdminClusterRole() *rbacv1.ClusterRole

func DeckhouseAdminClusterRoleBinding

func DeckhouseAdminClusterRoleBinding() *rbacv1.ClusterRoleBinding

func DeckhouseDeployment

func DeckhouseDeployment(params DeckhouseDeploymentParams) *appsv1.Deployment

func DeckhouseNamespace

func DeckhouseNamespace(name string) *apiv1.Namespace

func DeckhouseRegistrySecret

func DeckhouseRegistrySecret(registry config.RegistryData) *apiv1.Secret

func DeckhouseServiceAccount

func DeckhouseServiceAccount() *apiv1.ServiceAccount

func GetDeckhouseDeployTime

func GetDeckhouseDeployTime(deployment *appsv1.Deployment) time.Time

func KubeDNSService

func KubeDNSService(ipAddress string) *apiv1.Service

func ParameterizeDeckhouseDeployment

func ParameterizeDeckhouseDeployment(input *appsv1.Deployment, params DeckhouseDeploymentParams) *appsv1.Deployment

func PatchWithNodeTerraformState

func PatchWithNodeTerraformState(stateData []byte) interface{}

func PatchWithTerraformState

func PatchWithTerraformState(stateData []byte) interface{}

func SecretMasterDevicePath

func SecretMasterDevicePath(nodeName string, devicePath []byte) *apiv1.Secret

func SecretNameForNodeTerraformState

func SecretNameForNodeTerraformState(nodeName string) string

func SecretWithClusterConfig

func SecretWithClusterConfig(data []byte) *apiv1.Secret

func SecretWithNodeTerraformState

func SecretWithNodeTerraformState(nodeName, nodeGroup string, data, settings []byte) *apiv1.Secret

func SecretWithProviderClusterConfig

func SecretWithProviderClusterConfig(configData, discoveryData []byte) *apiv1.Secret

func SecretWithStaticClusterConfig

func SecretWithStaticClusterConfig(configData []byte) *apiv1.Secret

func SecretWithTerraformState

func SecretWithTerraformState(data []byte) *apiv1.Secret

Types

type DeckhouseDeploymentParams

type DeckhouseDeploymentParams struct {
	Bundle   string
	Registry string
	LogLevel string

	DeployTime time.Time

	IsSecureRegistry       bool
	MasterNodeSelector     bool
	KubeadmBootstrap       bool
	ExternalModulesEnabled bool // TODO remove this after integrating external-module-manager into deckhouse-controller
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL