Skip to content

Commit

Permalink
Namespaces length should be less than 63 characters to prevent errors…
Browse files Browse the repository at this point in the history
… while adding the suffix

Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Jan 19, 2022
1 parent 8a1196a commit 4194b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func Parse(c string, jobsRequired bool) error {
for _, job := range ConfigSpec.Jobs {
if len(job.Namespace) > 62 {
log.Warnf("Namespace %s length has > 63 characters, truncating it", job.Namespace)
job.Namespace = job.Namespace[:62]
job.Namespace = job.Namespace[:57]
}
}
}
Expand Down

0 comments on commit 4194b82

Please sign in to comment.