grafana/pkg/tests
Prem Saraswat 5c03c14b25
resource-api: Loosen name validation to match K8s requirements (#93404)
* resource-api: Loosen name validation to match K8s requirements

This patch modifies some of the requirements for name validation of
objects in Resource API to match Kubernetes.

The limit we have on characters in name is 64, but some resources allow
upto 253 characters. Similarly we also include `:` in the regex, as many
objects in default K8s setup use it in the name (the group
`system:masters` for example)

Signed-off-by: Prem Kumar <prem.saraswat@grafana.com>

* Update the name column length in migrator and update e2e test to verify

---------

Signed-off-by: Prem Kumar <prem.saraswat@grafana.com>
2024-10-10 11:03:18 -04:00
..
api Plugin Extensions: Require meta-data to be defined in plugin.json during development mode (#93429) 2024-10-04 08:41:26 +02:00
apis resource-api: Loosen name validation to match K8s requirements (#93404) 2024-10-10 11:03:18 -04:00
testinfra Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
testsuite Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
web Session: set authID and authenticatedBy (#85806) 2024-04-11 10:25:29 +02:00
README.md Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
utils.go Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00

Integration tests

This directory contains Grafana server integration tests.