Add 'team' label to pods, stateful sets, secrets and pod disruption budgets
This commit is contained in:
parent
c4aab502b3
commit
00dc810544
|
|
@ -343,6 +343,7 @@ func (c *Cluster) labelsSet() labels.Set {
|
|||
lbls[k] = v
|
||||
}
|
||||
lbls[c.OpConfig.ClusterNameLabel] = c.Name
|
||||
lbls["team"] = c.Postgresql.Spec.TeamID
|
||||
|
||||
return labels.Set(lbls)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue