kube

package
v0.0.0-...-dcdb1c8 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAccountController

type ServiceAccountController struct {
	// contains filtered or unexported fields
}

ServiceAccountController monitors service account definition changes in a namespace. For each service account object, its SpiffeID is added to identity registry for whitelisting purpose.

func NewServiceAccountController

func NewServiceAccountController(core corev1.CoreV1Interface, namespaces []string, reg registry.Registry) *ServiceAccountController

NewServiceAccountController returns a new ServiceAccountController

func (*ServiceAccountController) Run

func (c *ServiceAccountController) Run(stopCh chan struct{})

Run starts the ServiceAccountController until a value is sent to stopCh. It should only be called once.

type ServiceController

type ServiceController struct {
	// contains filtered or unexported fields
}

ServiceController monitors the service definition changes in a namespace. If a new service is added with "alpha.istio.io/kubernetes-serviceaccounts" or "alpha.istio.io/canonical-serviceaccounts" annotations enabled, the corresponding service account will be added to the identity registry for whitelisting.

func NewServiceController

func NewServiceController(core corev1.CoreV1Interface, namespaces []string, reg registry.Registry) *ServiceController

NewServiceController returns a new ServiceController

func (*ServiceController) Run

func (c *ServiceController) Run(stopCh chan struct{})

Run starts the ServiceController until a value is sent to stopCh. It should only be called once.

Jump to

Keyboard shortcuts

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