Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Labels ¶
func Labels(instance metav1.ObjectMeta, name string, image string, component string, filterLabels []string) map[string]string
Labels return the common labels to all objects that are part of a managed CR.
func SelectorLabels ¶
func SelectorLabels(instance metav1.ObjectMeta, component string) map[string]string
SelectorLabels return the common labels to all objects that are part of a managed CR to use as selector. Selector labels are immutable for Deployment, StatefulSet and DaemonSet, therefore, no labels in selector should be expected to be modified for the lifetime of the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.