Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessKeyDataKey = "AccessKeyID" // keep this in sync with https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/identity/identity.go#L47 SecretAccessKeyDataKey = "SecretAccessKey" // keep this in sync with https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/identity/identity.go#L48 SessionTokenDataKey = "SessionToken" // keep this in sync with https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/identity/identity.go#L49 )
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
Types ¶
type AWSCredentials ¶
func NewAWSCredentials ¶
type AWSPodIdentity ¶
type AWSPodIdentity struct {
// contains filtered or unexported fields
}
AWSPodIdentity is a service for creating AWS pod identity folow the guide: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md It will create a S3 bucket and put the OIDC files(pubicl access) and certs(private access) to the bucket, then create a OpenID connect provider.
func NewAWSPodIdentity ¶
func NewAWSPodIdentity(bucketName string, config *aws.Config) *AWSPodIdentity
func (*AWSPodIdentity) Delete ¶
func (pi *AWSPodIdentity) Delete() error
func (*AWSPodIdentity) Reconcile ¶
func (pi *AWSPodIdentity) Reconcile() error
func (*AWSPodIdentity) ServiceAccountIssuer ¶
func (pi *AWSPodIdentity) ServiceAccountIssuer() string
type AWSProvider ¶
func (*AWSProvider) IsInitialized ¶
func (p *AWSProvider) IsInitialized(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.