Implementation of Amazon EKS Pod Identity Agent add-on.

Hierarchy

  • CoreAddOn
    • EksPodIdentityAgentAddOn

Constructors

Properties

coreAddOnProps: CoreAddOnProps

Methods

  • Override this method to create namespace for the core addon. In many cases the addon is created in the kube-system namespace which does not require creation as it is always there. For addons that support other namespace as destinations this method should be implemented.

    Parameters

    Returns undefined | IConstruct

  • Override this method to control how service account is created.

    Parameters

    • clusterInfo: ClusterInfo
    • saNamespace: string
    • policies: IManagedPolicy[]

    Returns ServiceAccount

  • Template method to return managed policies for the service account. Allows overriding in subclasses to handle more complex cases of policies.

    Parameters

    Returns undefined | IManagedPolicy[]

  • Template method with default implementation to execute the supplied function of policyDocumentProvider. Allows overriding this method in subclasses for more complex cases of policies.

    Parameters

    Returns undefined | PolicyDocument

  • Parameters

    • clusterInfo: ClusterInfo
    • OptionalversionMap: Map<KubernetesVersion, string>

    Returns Promise<string>