Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build/components/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ firmware:
libvirt: v10.9.0
edk2: stable202411
core:
3p-kubevirt: v1.6.2-v12n.5
3p-containerized-data-importer: v1.60.3-v12n.14
#3p-kubevirt: v1.6.2-v12n.5
#3p-containerized-data-importer: v1.60.3-v12n.14
3p-kubevirt: dvp/chore/add-heritage-label
3p-containerized-data-importer: dvp/chore/add-heritage-label
distribution: 2.8.3
package:
acl: v2.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ const (
// QuotaExcludeLabel provides a constant for exclude quota label.
QuotaExcludeLabel = "resource-quota-overrides.deckhouse.io/ignore"

// HeritageLabel is the label to indicate Pod heritage.
HeritageLabel = "heritage"
// DeckhouseLabelValue is the value to indicate Pod is related to the deckhouse.
DeckhouseLabelValue = "deckhouse"

// InhibitNodeShutdownLabel is a label to prevent node shutdown is Pod with label is present.
InhibitNodeShutdownLabel = "pod.deckhouse.io/inhibit-node-shutdown"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ func (imp *Bounder) makeBounderPodSpec() (*corev1.Pod, error) {
Annotations: map[string]string{
annotations.AnnCreatedBy: "yes",
},
Labels: map[string]string{
annotations.HeritageLabel: annotations.DeckhouseLabelValue,
},
Finalizers: []string{
imp.PodSettings.Finalizer,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (imp *Importer) makeImporterPodSpec() (*corev1.Pod, error) {
Name: imp.PodSettings.Name,
Namespace: imp.PodSettings.Namespace,
Labels: map[string]string{
annotations.HeritageLabel: annotations.DeckhouseLabelValue,
annotations.AppLabel: annotations.DVCRLabelValue,
annotations.QuotaExcludeLabel: annotations.QuotaExcludeValue,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func (p *Pod) makeSpec() (*corev1.Pod, error) {
annotations.AnnCreatedBy: "yes",
},
Labels: map[string]string{
annotations.HeritageLabel: annotations.DeckhouseLabelValue,
annotations.AppLabel: annotations.DVCRLabelValue,
annotations.UploaderServiceLabel: p.PodSettings.ServiceName,
annotations.QuotaExcludeLabel: annotations.QuotaExcludeValue,
Expand Down
Loading