Description
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"}