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

The deployment "kube-root-ca.crt" is invalid #28

Open
frknmydn opened this issue Aug 1, 2022 · 0 comments
Open

The deployment "kube-root-ca.crt" is invalid #28

frknmydn opened this issue Aug 1, 2022 · 0 comments

Comments

@frknmydn
Copy link

frknmydn commented Aug 1, 2022

there is a problem when i execute controller.sh:
PS C:\Users\CP Furkan\Desktop\gitops book\chapter-02> bash controller.sh
The Deployment "kube-root-ca.crt" is invalid: spec.template.spec.containers[0].name: Invalid value: "kube-root-ca.crt": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is 'a-z0-9?')

Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.1", GitTreeState:"clean", BuildDate:"2022-05-24T12:26:19Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"windows/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.1", GoVersion:"go1.18.2", Compiler:"gc", Platform:"linux/amd64"}

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