Skip to content

Validate service name to be a valid DNS subdomain #53

@psviderski

Description

@psviderski

Service names are used for service discovery via the embedded DNS server: <service-name>.internal (implemented in #16)
A service name must be a valid DNS subdomain. See DNS Subdomain Names in k8s docs: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names

The validation can be implemented in ServiceSpec.Validate which should automatically apply it to both individual service and Compose deployments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions