You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Woodpecker generates a prefix for kubernetes resources like 0-2156149869907855750. This can be used as prefix for a pvc name but it's an invalid prefix for services because "The name of a Service object must be a valid RFC1035 label name" (source).
default/woodpecker-woodpecker-agent-f485dddcf-bhlqb[woodpecker-agent]: {
"level": "error",
"error": "rpc error: code = Unknown desc = Proc finished with exitcode 1, Service \"0-2891002623454858384-services-0\" is invalid: [metadata.name: Invalid value: \"0-2891002623454858384-services-0\": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?'), spec.ports: Required value]",
"time": "2022-10-04T21:50:55Z",
"message": "grpc error: wait(): code: Unknown: rpc error: code = Unknown desc = Proc finished with exitcode 1, Service \"0-2891002623454858384-services-0\" is invalid: [metadata.name: Invalid value: \"0-2891002623454858384-services-0\": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?'), spec.ports: Required value]"
}
Component
agent
Describe the bug
Woodpecker generates a prefix for kubernetes resources like
0-2156149869907855750
. This can be used as prefix for a pvc name but it's an invalid prefix for services because "The name of a Service object must be a valid RFC1035 label name" (source).The ci config:
The error:
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: