Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Values ¶
type Values struct { // Name is the name of the ServiceAccount. Name string // Namespace is the namespace of the ServiceAccount. Namespace string // OwnerReference is the OwnerReference for the ServiceAccount. OwnerReference 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.
Click to show internal directories.
Click to hide internal directories.