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 RoleBinding. Name string // Namespace is the namespace of the RoleBinding. Namespace string // RoleName is the role name of the RoleBinding. It is assumed that the role exists in the namespace where the etcd custom resource is created. RoleName string // ServiceAccountName is the service account subject name for the RoleBinding. // It is assumed that the ServiceAccount exists in the namespace where the etcd custom resource is created. ServiceAccountName string // OwnerReference is the OwnerReference for the RoleBinding. OwnerReference metav1.OwnerReference // Labels are the labels of the RoleBinding. Labels map[string]string }
Values defines the fields used to create a RoleBinding for Etcd.
func GenerateValues ¶
func GenerateValues(etcd *druidv1alpha1.Etcd) *Values
GenerateValues generates `serviceaccount.Values` for the serviceaccount component with the given `etcd` object.
Click to show internal directories.
Click to hide internal directories.