v1

package
v0.0.136 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v1alpha1 is the v1alpha1 version of the API. +groupName=kubernetes-client.io

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// Name name of the secret data entry
	Name string `json:"name,omitempty"`

	// Key the key in the underlying secret storage (e.g. the key in vault)
	Key string `json:"key,omitempty"`

	// Property the property in the underlying secret storage (e.g.  in vault)
	Property string `json:"property,omitempty"`
}

Data the data properties

type ExternalSecret

type ExternalSecret struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata"`

	// Spec holds the desired state of the ExternalSecret from the client
	// +optional
	Spec ExternalSecretSpec `json:"spec"`

	// Status holds the current status
	// +optional
	Status *ExternalSecretStatus `json:"status,omitempty"`
}

ExternalSecret represents a collection of mappings of Secrets to destinations in the underlying secret store (e.g. Vault keys)

+k8s:openapi-gen=true

func (*ExternalSecret) KeyAndNames added in v0.0.75

func (s *ExternalSecret) KeyAndNames() []string

KeyAndNames returns the data key and names for the secret

func (*ExternalSecret) Keys

func (s *ExternalSecret) Keys() []string

Keys returns the keys for the secret

type ExternalSecretList

type ExternalSecretList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ExternalSecret `json:"items"`
}

ExternalSecretList contains a list of ExternalSecret

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

type ExternalSecretSpec

type ExternalSecretSpec struct {
	BackendType     string `json:"backendType,omitempty"`
	VaultMountPoint string `json:"vaultMountPoint,omitempty"`
	VaultRole       string `json:"vaultRole,omitempty"`
	ProjectID       string `json:"projectId,omitempty"`

	// Data the data for each entry in the Secret
	Data []Data `json:"data,omitempty"`

	// Template
	Template Template `json:"template,omitempty"`
}

ExternalSecretSpec defines the desired state of ExternalSecret.

type ExternalSecretStatus

type ExternalSecretStatus struct {
	LastSync           metav1.Time `json:"lastSync,omitempty"`
	ObservedGeneration int         `json:"observedGeneration,omitempty"`
	Status             string      `json:"status,omitempty"`
}

ExternalSecretStatus defines the current status of the ExternalSecret.

type Template

type Template struct {
	// Type the type of the secret
	Type string `json:"type,omitempty"`

	// Metadata the metadata such as labels or annotations
	Metadata metav1.ObjectMeta `json:"metadata,omitempty"`
}

Template the template data

Jump to

Keyboard shortcuts

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