secrets

package
v0.0.0-...-764f856 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretGenerator

type SecretGenerator struct {
	AutoApproval         bool
	CertExpiration       int
	ClusterDomain        string
	Domain               string
	IsInstall            bool
	Namespace            string
	SecretsConfigMapName string
	SecretsGeneration    string
	SecretsName          string
	TemplateEnv          map[string]string
}

SecretGenerator contains all global state for creating new secrets

func (*SecretGenerator) Generate

func (sg *SecretGenerator) Generate(manifestReader io.Reader) error

Generate will fetch the current secrets, generate any missing values, and writes the new secrets under a new name. Then it updates the secrets configmap to describe the updated status quo.

Jump to

Keyboard shortcuts

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