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 Role.
Name string
// Namespace is the namespace of the Role.
Namespace string
// Rules holds all the PolicyRules for this Role
Rules []rbacv1.PolicyRule
// OwnerReferences are the OwnerReferences of the Role.
OwnerReferences []metav1.OwnerReference
// Labels are the labels of the Role.
Labels map[string]string
}
Values defines the fields used to create a Role for Etcd.
func GenerateValues ¶
func GenerateValues(etcd *druidv1alpha1.Etcd) *Values
GenerateValues generates `role.Values` for the role component with the given `etcd` object.
Click to show internal directories.
Click to hide internal directories.