kubernetessecrets

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ItemPathAnnotation = OnepasswordPrefix + "/item-path"
View Source
const NameAnnotation = OnepasswordPrefix + "/item-name"
View Source
const OnepasswordPrefix = "operator.1password.io"
View Source
const RestartDeploymentsAnnotation = OnepasswordPrefix + "/auto-restart"
View Source
const VersionAnnotation = OnepasswordPrefix + "/item-version"

Variables

View Source
var ErrCannotUpdateSecretType = errs.New("Cannot change secret type. Secret type is immutable")

Functions

func BuildKubernetesSecretData

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

func BuildKubernetesSecretFromOnePasswordItem

func BuildKubernetesSecretFromOnePasswordItem(name, namespace string, annotations map[string]string, labels map[string]string, secretType string, item onepassword.Item, ownerRef *metav1.OwnerReference) *corev1.Secret

func CreateKubernetesSecretFromItem

func CreateKubernetesSecretFromItem(kubeClient kubernetesClient.Client, secretName, namespace string, item *onepassword.Item, autoRestart string, labels map[string]string, secretType string, ownerRef *metav1.OwnerReference) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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