stream resource name must be lower case (#2149)
This commit is contained in:
parent
2011367525
commit
c1657ec484
|
|
@ -192,7 +192,7 @@ func (c *Cluster) generateFabricEventStream(appId string) *zalandov1.FabricEvent
|
||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
// max length for cluster name is 58 so we can only add 5 more characters / numbers
|
// 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,
|
Namespace: c.Namespace,
|
||||||
Labels: c.labelsSet(true),
|
Labels: c.labelsSet(true),
|
||||||
Annotations: c.AnnotationsToPropagate(c.annotationsSet(nil)),
|
Annotations: c.AnnotationsToPropagate(c.annotationsSet(nil)),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue