kubernetessecrets

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ItemPathAnnotation = onepasswordPrefix + "/item-path"
View Source
const NameAnnotation = onepasswordPrefix + "/item-name"
View Source
const VersionAnnotation = onepasswordPrefix + "/item-version"

Variables

This section is empty.

Functions

func BuildKubernetesSecretData

func BuildKubernetesSecretData(fields []*onepassword.ItemField) map[string][]byte

func BuildKubernetesSecretFromOnePasswordItem

func BuildKubernetesSecretFromOnePasswordItem(name, namespace string, annotations map[string]string, item onepassword.Item) *corev1.Secret

func CreateKubernetesSecretFromItem

func CreateKubernetesSecretFromItem(kubeClient kubernetesClient.Client, secretName, namespace string, item *onepassword.Item) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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