config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Getter = config.NewGetterOrDie(config.GetterOptions{
		Name:       "apinetlet",
		SignerName: certificatesv1.KubeAPIServerClientSignerName,
		Template: &x509.CertificateRequest{
			Subject: pkix.Name{
				CommonName:   networkingv1alpha1.NetworkPluginCommonName("onmetal-api-net"),
				Organization: []string{networkingv1alpha1.NetworkPluginsGroup},
			},
		},
		GetUsages:      utilcertificate.DefaultKubeAPIServerClientGetUsages,
		NetworkContext: egressselector.ControlPlane.AsNetworkContext(),
	})

	GetConfig      = Getter.GetConfig
	GetConfigOrDie = Getter.GetConfigOrDie
)

Functions

func NewAPINetGetter

func NewAPINetGetter(namespace string) (*config.Getter, error)

func NewAPINetGetterOrDie

func NewAPINetGetterOrDie(namespace string) *config.Getter

Types

This section is empty.

Jump to

Keyboard shortcuts

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