key

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppOperatorVersion              = "0.0.0"
	TeleportOperatorFinalizer       = "teleport.finalizer.giantswarm.io"
	TeleportKubeAppDefaultNamespace = "giantswarm"
	TeleportKubeAppNamespace        = "kube-system"
	TeleportOperatorLabelValue      = "teleport-operator"
	TeleportOperatorConfigName      = "teleport-operator"
	TeleportBotSecretName           = "identity-output"
	TeleportBotNamespace            = "giantswarm"
	TeleportBotAppName              = "teleport-tbot"
	TeleportAppTokenValidity        = 720 * time.Hour
	TeleportKubeTokenValidity       = 720 * time.Hour
	TeleportNodeTokenValidity       = 720 * time.Hour

	AppCatalog            = "appCatalog"
	AppName               = "appName"
	AppVersion            = "appVersion"
	IdentityFile          = "identityFile"
	Identity              = "identity"
	ManagementClusterName = "managementClusterName"
	ProxyAddr             = "proxyAddr"
	TeleportVersion       = "teleportVersion"
	RoleKube              = "kube"
	RoleApp               = "app"
	RoleNode              = "node"
)

Variables

This section is empty.

Functions

func GetAppName

func GetAppName(clusterName string, appName string) string

func GetAppSpecKubeConfigSecretName

func GetAppSpecKubeConfigSecretName(clusterName string) string

func GetConfigmapDataFromTemplate

func GetConfigmapDataFromTemplate(authToken string, proxyAddr string, kubeClusterName string, teleportVersion string, roles []string) string

func GetConfigmapName

func GetConfigmapName(clusterName string, appName string) string

func GetKubeconfigSecretName added in v0.10.0

func GetKubeconfigSecretName(clusterName string) string

func GetRegisterName

func GetRegisterName(managementClusterName, clusterName string) string

func GetSecretName

func GetSecretName(clusterName string) string

func GetTbotConfigmapDataFromTemplate added in v0.10.0

func GetTbotConfigmapDataFromTemplate(kubeClusterName string, clusterName string) string

func GetTbotConfigmapName added in v0.10.0

func GetTbotConfigmapName(clusterName string) string

func ParseRoles added in v0.11.0

func ParseRoles(s string) ([]string, error)

func RolesToString added in v0.11.0

func RolesToString(roles []string) string

func RolesToSystemRoles added in v0.11.0

func RolesToSystemRoles(roles []string) []types.SystemRole

Types

This section is empty.

Jump to

Keyboard shortcuts

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