Skip to content

Commit c1657ec

Browse files
authored
stream resource name must be lower case (#2149)
1 parent 2011367 commit c1657ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/streams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func (c *Cluster) generateFabricEventStream(appId string) *zalandov1.FabricEvent
192192
},
193193
ObjectMeta: metav1.ObjectMeta{
194194
// max length for cluster name is 58 so we can only add 5 more characters / numbers
195-
Name: fmt.Sprintf("%s-%s", c.Name, util.RandomPassword(5)),
195+
Name: fmt.Sprintf("%s-%s", c.Name, strings.ToLower(util.RandomPassword(5))),
196196
Namespace: c.Namespace,
197197
Labels: c.labelsSet(true),
198198
Annotations: c.AnnotationsToPropagate(c.annotationsSet(nil)),

0 commit comments

Comments
 (0)