Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KonfigureLabelKey `konfigure.giantswarm.io/data=sops-key` is used to fetch Kubernetes // Secrets with SOPS keys in order to import them to a temporary location. KonfigureLabelKey = "konfigure.giantswarm.io/data" KonfigureLabelValue = "sops-keys" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidConfigError ¶
type InvalidConfigError struct {
// contains filtered or unexported fields
}
func (*InvalidConfigError) Error ¶
func (e *InvalidConfigError) Error() string
func (*InvalidConfigError) Is ¶
func (e *InvalidConfigError) Is(target error) bool
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
func (*NotFoundError) Is ¶
func (e *NotFoundError) Is(target error) bool
type PgpImportError ¶
type PgpImportError struct {
// contains filtered or unexported fields
}
func (*PgpImportError) Error ¶
func (e *PgpImportError) Error() string
func (*PgpImportError) Is ¶
func (e *PgpImportError) Is(target error) bool
type SOPSEnv ¶
type SOPSEnv struct {
// contains filtered or unexported fields
}
func NewSOPSEnv ¶
func NewSOPSEnv(config SOPSEnvConfig) (*SOPSEnv, error)
NewSOPSEnv creates SOPS environment configurator, it works according to the below combinations.
User expects to run SOPS against his local default keychains for GPG and AGE: keysDir="" keysSource="local"
User expects to run SOPS against his custom keychains located under `path`: keysDir="path" keysSource="local"
User expects to run SOPS against Kubernetes-downloaded keys stored at tmp location: keysDir="" keysSource="kubernetes"
User expects to run SOPS against Kubernetes-downloaded keys stored under `path`: keysDir="path" keysSource="kubernetes"
func SetupNewSopsEnvironmentFromFakeKubernetes ¶ added in v1.2.0
func (*SOPSEnv) GetKeysDir ¶
type SOPSEnvConfig ¶
Click to show internal directories.
Click to hide internal directories.