Skip to content
This repository was archived by the owner on Mar 18, 2020. It is now read-only.
This repository was archived by the owner on Mar 18, 2020. It is now read-only.

Service names can only be a maximum of 24 characters long #30

@donovanmuller

Description

@donovanmuller

This seems to only apply to Services.
Therefore you can end up with:

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/api/v1/namespaces/scdf/services. Message: Service "ticktock-timezone-timezone-0" is invalid: metadata.name: Invalid value: "ticktock-timezone-timezone-0": must be no more than 24 characters. Received status: Status(apiVersion=v1, code=422, ...

Need to investigate a good way of handling this.
Perhaps truncate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions