config

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme = scheme.Scheme
)

Functions

This section is empty.

Types

type Config

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

Config is populated from the cluster's Secret or ConfigMap and sets behavior of kapp-controller. NOTE because config may be populated from a Secret use caution if you're tempted to serialize.

func GetConfig

func GetConfig(client kubernetes.Interface) (*Config, error)

GetConfig populates the Config struct from k8s resources. GetConfig prefers a secret named kcConfigName but if that does not exist falls back to a configMap of same name.

func (*Config) Apply

func (gc *Config) Apply() error

func (*Config) ShouldSkipTLSForDomain

func (gc *Config) ShouldSkipTLSForDomain(candidateDomain string) bool

Jump to

Keyboard shortcuts

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