We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 294c765 + e7adc1b commit d946546Copy full SHA for d946546
tests/test_decoder.py
@@ -130,7 +130,7 @@ def test_workflow_name_with_spaces():
130
131
# Assert
132
assert (
133
- error == "'workflow with spaces' does not match '^[a-z][a-z0-9-]{,63}(?<!-)$'"
+ error == "'workflow with spaces' does not match '^[a-z][a-z0-9-]{0,63}$(?<!-)'"
134
)
135
136
workflow/workflow-schema.yaml
@@ -65,7 +65,7 @@ definitions:
65
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
66
rfc1035-label-name:
67
type: string
68
- pattern: ^[a-z][a-z0-9-]{,63}(?<!-)$
+ pattern: ^[a-z][a-z0-9-]{0,63}$(?<!-)
69
description: >-
70
A value compatible with Kubernetes variables
71
to allow it to be used ins Pod Label
0 commit comments