woodpecker/pipeline
Neil Hanlon a95a5b43bf
fix(backend/kubernetes): Ensure valid naming of name field (#1661)
- Kubernetes v1.26 on VKE causes error when creating persistent volume
claim because of uppercase characters in name field

This patch is trivial just in order to get it working - happy to
implement differently.

The error in question:

```
The PersistentVolumeClaim "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0" is invalid: metadata.name: Invalid value: "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
```
2023-03-21 20:00:45 +01:00
..
backend fix(backend/kubernetes): Ensure valid naming of name field (#1661) 2023-03-21 20:00:45 +01:00
frontend Update Go dependencies and minimal Go version to 1.20 (#1650) 2023-03-21 00:48:15 +01:00
multipart Dedup code and migrate away from deprecated funcs (#1141) 2022-08-30 01:14:07 +02:00
rpc Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
samples Replace DRONE_ with CI_ variables in pipeline steps (#427) 2021-11-25 20:43:31 +01:00
schema Add option to ignore failures on steps (#1219) 2022-11-15 19:47:27 +01:00
shared Fix multiline secrets replacer (#700) 2022-01-16 22:57:37 +01:00
drone_compatibility.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
error.go Fix invalid service names for Kubernetes (#1234) 2022-10-05 13:39:48 +02:00
error_test.go Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00
logger.go Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
option.go Make pipeline runtime log with description (#970) 2022-06-15 18:11:20 +02:00
pipeline.go Refactor agent: split code in subfunctions (#1441) 2022-11-23 15:35:24 +01:00
stepBuilder.go fix(backend/kubernetes): Ensure valid naming of name field (#1661) 2023-03-21 20:00:45 +01:00
stepBuilder_test.go Split and refactor (#1394) 2022-11-06 12:44:04 +01:00
tracer.go Fix wrong drone env vars (#1419) 2022-11-22 23:57:12 +01:00