Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Characters for DNS/Name #9

Open
sstarcher opened this issue Sep 11, 2015 · 0 comments
Open

Invalid Characters for DNS/Name #9

sstarcher opened this issue Sep 11, 2015 · 0 comments

Comments

@sstarcher
Copy link

docker/docker-compose allows for uppercase characters for the name of the containers. metadata.name and spec.template.spec.containers[*].name have more restrictions.

The ReplicationController "AuditStuff" is invalid:
* metadata.name: invalid value 'AuditSecurityGroups': must be a DNS subdomain (at most 253 characters, matching regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*): e.g. "example.com"
* spec.template.spec.containers[0].name: invalid value 'AuditSecurityGroups': must be a DNS label (at most 63 characters, matching regex [a-z0-9]([-a-z0-9]*[a-z0-9])?): e.g. "my-name"

Possibly lowercase and add -'s to uppercase letters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant