Skip to content

Commit

Permalink
ensure jobs aren't over 63 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
consindo authored Jan 9, 2024
1 parent 167da43 commit 82c9d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waka-orchestrator/updaters/kubernetes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class KubernetesImporter {
// regex is to make it DNS-1123 compliant
const jobName = `waka-importer-${prefix}-${version
.replace(/[_\. ]/g, '-')
.toLowerCase()}`
.toLowerCase().slice(0, 62)}`

const k8sEnvironment = Object.keys(env).map(name => ({
name,
Expand Down

0 comments on commit 82c9d7b

Please sign in to comment.