Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Remap ¶
func Remap(context *model.KopsModelContext, addon *addonsapi.AddonSpec, objects []*kubemanifest.Object) error
Remap remaps the dns-controller addon
Types ¶
type ServiceAccount ¶
type ServiceAccount struct { }
ServiceAccount represents the service-account used by the dns-controller. It implements iam.Subject to get AWS IAM permissions.
func (*ServiceAccount) BuildAWSPolicy ¶
func (r *ServiceAccount) BuildAWSPolicy(b *iam.PolicyBuilder) (*iam.Policy, error)
BuildAWSPolicy generates a custom policy for a ServiceAccount IAM role.
func (*ServiceAccount) ServiceAccount ¶
func (r *ServiceAccount) ServiceAccount() (types.NamespacedName, bool)
ServiceAccount returns the kubernetes service account used.
Click to show internal directories.
Click to hide internal directories.