dnscontroller

package
v1.24.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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