admission_controller

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

Deploy Admission-Controller

  1. Deploy Secret and MutatingWebhookConfiguration that admission-controller needs.
sh $GOPATH/src/github.com/containers-ai/alameda/admission-controller/generate-key.sh
  1. Deploy admission-controller.
kubectl apply -f $GOPATH/src/github.com/containers-ai/alameda/admission-controller/deployment.yaml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CACertFile        string          `mapstructure:"ca-cert-file"`
	CertFile          string          `mapstructure:"tls-cert-file"`
	KeyFile           string          `mapstructure:"tls-private-key-file"`
	Enable            bool            `mapstructure:"enable"`
	DeployedNamespace string          `mapstructure:"deployed-namespace"`
	Log               *log.Config     `mapstructure:"log"`
	Datahub           *datahub.Config `mapstructure:"datahub"`
	Port              int32           `mapstructure:"port"`
	Service           *service.Config `mapstructure:"service"`
}

Config contains the server (the webhook) cert and key.

func NewDefaultConfig

func NewDefaultConfig() Config

func (Config) ConfigTLS added in v0.3.8

func (c Config) ConfigTLS() (*tls.Config, error)

Jump to

Keyboard shortcuts

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