Documentation ¶
Index ¶
- Constants
- Variables
- func BuildKubernetesSecretData(fields []*onepassword.ItemField, files []*onepassword.File) map[string][]byte
- func BuildKubernetesSecretFromOnePasswordItem(name, namespace string, annotations map[string]string, ...) *corev1.Secret
- func CreateKubernetesSecretFromItem(kubeClient kubernetesClient.Client, secretName, namespace string, ...) error
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 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.
Click to show internal directories.
Click to hide internal directories.