stream resource name must be lower case (#2149)

This commit is contained in:
Felix Kunde 2022-12-29 16:55:18 +01:00 committed by GitHub
parent 2011367525
commit c1657ec484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)),