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

Unable to deploy to numerical namespaces. #6809

Closed
jmturwy opened this issue Jan 27, 2021 · 3 comments · Fixed by #6815
Closed

Unable to deploy to numerical namespaces. #6809

jmturwy opened this issue Jan 27, 2021 · 3 comments · Fixed by #6815
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jmturwy
Copy link

jmturwy commented Jan 27, 2021

NGINX Ingress controller version: 0.43.0

Kubernetes version (use kubectl version): 1.18.9

Environment:

  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

What happened:

Error: ClusterRoleBinding in version "v1" cannot be handled as a ClusterRoleBinding: v1.ClusterRoleBinding.Subjects: []v1.Subject: v1.Subject.Namespace: ReadString: expects " or n, but found 1, error found in #10 byte of ...|mespace":555555}]}

What you expected to happen:

Changed to 555555o and it worked, doesn't like all numeric namespaces

How to reproduce it:

Anything else we need to know:

/kind bug

@jmturwy jmturwy added the kind/bug Categorizes issue or PR as related to a bug. label Jan 27, 2021
@aledbf
Copy link
Member

aledbf commented Jan 27, 2021

Closing. The namespace should be defined as a string, like "555555"

xref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta

@aledbf aledbf closed this as completed Jan 27, 2021
@jmturwy
Copy link
Author

jmturwy commented Jan 27, 2021

@aledbf

Closing. The namespace should be defined as a string, like "555555"

xref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta

i used "555555" and still did not work, ill try again. and post logs

@jmturwy
Copy link
Author

jmturwy commented Jan 27, 2021

@aledbf

$ helm install "nginx-test" -f ./values/nginx/values.yaml ingress-nginx/ingress-nginx -n "55555"

Error: ClusterRoleBinding in version "v1" cannot be handled as a ClusterRoleBinding: v1.ClusterRoleBinding.Subjects: []v1.Subject: v1.Subject.Namespace: ReadString: expects " or n, but found 1, error found in #10 byte of ...|mespace":55555}]}
|..., bigger context ...|t","name":"nginx-test-ingress-nginx","namespace":55555}]}
|...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants