Merge pull request #1916 from coreos-inc/k8s-generate-name
Add a dash to generated k8s job names
This commit is contained in:
commit
94a0fee63f
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ class KubernetesExecutor(BuilderExecutor):
|
|||
'kind': 'Job',
|
||||
'metadata': {
|
||||
'namespace': self.namespace,
|
||||
'generateName': build_uuid,
|
||||
'generateName': build_uuid + '-',
|
||||
'labels': {
|
||||
'build': build_uuid,
|
||||
'time': datetime.datetime.now().strftime('%Y-%m-%d-%H'),
|
||||
|
|
Reference in a new issue