serviceaccount

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates a new service account deployer instance.

Types

type Values

type Values struct {
	// Name is the name of the ServiceAccount.
	Name string
	// Namespace is the namespace of the ServiceAccount.
	Namespace string
	// OwnerReferences are the OwnerReferences of the ServiceAccount.
	OwnerReferences []metav1.OwnerReference
	// Labels are the labels to apply to the ServiceAccount.
	Labels map[string]string
	// DisableAutomount defines the AutomountServiceAccountToken of the ServiceAccount.
	DisableAutomount bool
}

Values defines the fields used to create a ServiceAccount for Etcd.

func GenerateValues

func GenerateValues(etcd *druidv1alpha1.Etcd, disableEtcdServiceAccountAutomount bool) *Values

GenerateValues generates `serviceaccount.Values` for the serviceaccount component for the given `etcd` object.

Jump to

Keyboard shortcuts

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