KA-S008: Invalid metadata.name Format
Warning Schema
Why This Matters
The metadata.name must be a valid DNS subdomain: lowercase alphanumeric characters, hyphens, or dots, and must start and end with an alphanumeric character. Maximum 253 characters.
How to Fix
Fix the metadata.name to be a valid DNS subdomain.
Before (incorrect)
metadata:
name: My_App # uppercase and underscore After (correct)
metadata:
name: my-app # lowercase with hyphens Rule Details
- Rule Code
- KA-S008
- Severity
- Warning
- Category
- Schema