Documentation ¶
Index ¶
- Constants
- func ARNPrefix(region string) string
- func AWSEndpoint(region string) string
- func BucketName(accountID, clusterName string) string
- func ConfigName(clusterName string) string
- func ContainsFinalizer(s []string, str string) bool
- func IsChina(region string) bool
- func IsV18Release(releaseVersion *semver.Version) bool
- func Release(getter LabelsGetter) string
- func SecretName(clusterName string) string
- type AnnotationsGetter
- type LabelsGetter
Constants ¶
View Source
const ( ClusterNameLabel = "cluster.x-k8s.io/cluster-name" CAPIWatchFilterLabel = "cluster.x-k8s.io/watch-filter" CAPAReleaseComponent = "cluster-api-provider-aws" FinalizerName = "irsa-operator.finalizers.giantswarm.io" //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" 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" V18AlphaRelease = "18.0.0-alpha1" )
Variables ¶
This section is empty.
Functions ¶
func AWSEndpoint ¶ added in v0.3.4
func BucketName ¶ added in v0.2.0
func ConfigName ¶ added in v0.6.0
func ContainsFinalizer ¶ added in v0.6.0
func IsV18Release ¶ added in v0.6.0
func Release ¶ added in v0.6.0
func Release(getter LabelsGetter) string
func SecretName ¶ added in v0.2.0
Types ¶
type AnnotationsGetter ¶ added in v0.6.0
type LabelsGetter ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.