From 00dc810544b35ab03587eb5ad4c978ef96216394 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Fri, 23 Feb 2018 14:36:10 +0100 Subject: [PATCH] Add 'team' label to pods, stateful sets, secrets and pod disruption budgets --- pkg/cluster/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cluster/util.go b/pkg/cluster/util.go index fc17d68eb..05040a07c 100644 --- a/pkg/cluster/util.go +++ b/pkg/cluster/util.go @@ -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) }