Skip to content

Commit de34339

Browse files
author
Alan Christie
committed
fix: Better rfc1035-label-name regex
1 parent 82f14bf commit de34339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow/workflow-schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ definitions:
6565
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
6666
rfc1035-label-name:
6767
type: string
68-
pattern: ^[a-z][a-z0-9-]{,63}$(?<!-)
68+
pattern: ^[a-z][a-z0-9-]{0,63}$(?<!-)
6969
description: >-
7070
A value compatible with Kubernetes variables
7171
to allow it to be used ins Pod Label

0 commit comments

Comments
 (0)