key

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FinalizerNameDeprecated = "irsa-operator.finalizers.giantswarm.io" // should go away since it's not fully qualified
	FinalizerName           = "irsa-operator.finalizers.giantswarm.io/resource"
	// TODO move it into k8smetadata
	IRSAAnnotation = "alpha.aws.giantswarm.io/iam-roles-for-service-accounts"
	// Upgrading existing IRSA clusters witout breaking clusters
	IRSAMigrationAnnotation = "alpha.aws.giantswarm.io/irsa-migration"
	// Use Cloudfront alias before v19.0.0
	IRSAPreCloudfrontAlias = "alpha.aws.giantswarm.io/enable-cloudfront-alias"

	S3TagCloudProvider = "kubernetes.io/cluster/%s"
	S3TagCluster       = "giantswarm.io/cluster"
	S3TagInstallation  = "giantswarm.io/installation"
	S3TagOrganization  = "giantswarm.io/organization"

	CustomerTagLabel = "tag.provider.giantswarm.io/"
	ReleaseLabel     = "release.giantswarm.io/version"
)

Variables

This section is empty.

Functions

func ARNPrefix added in v0.3.6

func ARNPrefix(region string) string

func AWSEndpoint added in v0.3.4

func AWSEndpoint(region string) string

func BaseDomain added in v0.9.0

func BaseDomain(cluster capi.Cluster) (string, error)

func BucketName added in v0.2.0

func BucketName(accountID, clusterName string) string

func CloudFrontAlias added in v0.9.0

func CloudFrontAlias(baseDomain string) string

func CloudFrontDistributionComment added in v0.9.0

func CloudFrontDistributionComment(clusterID string) string

func ConfigName added in v0.6.0

func ConfigName(clusterName string) string

func ContainsFinalizer added in v0.6.0

func ContainsFinalizer(s []string, str string) bool

func EnsureTrailingDot added in v0.9.0

func EnsureTrailingDot(domain string) string

func GetCustomerTags added in v0.8.0

func GetCustomerTags(cluster *capi.Cluster) map[string]string

func IsChina added in v0.6.0

func IsChina(region string) bool

func IsV18Release added in v0.6.0

func IsV18Release(releaseVersion *semver.Version) bool

func IsV19Release added in v0.8.0

func IsV19Release(releaseVersion *semver.Version) bool

func Release added in v0.6.0

func Release(getter LabelsGetter) string

func STSUrl added in v0.9.0

func STSUrl(region string) string

func SecretName added in v0.2.0

func SecretName(clusterName string) string

Types

type AnnotationsGetter added in v0.6.0

type AnnotationsGetter interface {
	GetAnnotations() map[string]string
}

type LabelsGetter added in v0.6.0

type LabelsGetter interface {
	GetLabels() map[string]string
}

Jump to

Keyboard shortcuts

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