manifestutils

package
v0.93.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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