From c1657ec4843f30957d968f0092589a41443558c6 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Thu, 29 Dec 2022 16:55:18 +0100 Subject: [PATCH] stream resource name must be lower case (#2149) --- pkg/cluster/streams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/streams.go b/pkg/cluster/streams.go index 2f403ab23..bf1c2b742 100644 --- a/pkg/cluster/streams.go +++ b/pkg/cluster/streams.go @@ -192,7 +192,7 @@ func (c *Cluster) generateFabricEventStream(appId string) *zalandov1.FabricEvent }, ObjectMeta: metav1.ObjectMeta{ // max length for cluster name is 58 so we can only add 5 more characters / numbers - Name: fmt.Sprintf("%s-%s", c.Name, util.RandomPassword(5)), + Name: fmt.Sprintf("%s-%s", c.Name, strings.ToLower(util.RandomPassword(5))), Namespace: c.Namespace, Labels: c.labelsSet(true), Annotations: c.AnnotationsToPropagate(c.annotationsSet(nil)),