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

Mandatory.yaml fails because of missing Kind statement #3514

Closed
Xycer opened this issue Dec 4, 2018 · 1 comment
Closed

Mandatory.yaml fails because of missing Kind statement #3514

Xycer opened this issue Dec 4, 2018 · 1 comment

Comments

@Xycer
Copy link

Xycer commented Dec 4, 2018

Is this a request for help?: No

What keywords did you search in NGINX Ingress controller issues before filing this one?: all issues both open and closed having to do with mandatory.yaml


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

NGINX Ingress controller version: 0.21.0

Kubernetes version (use kubectl version): v1.12.3

Environment:

  • Cloud provider or hardware configuration: Docker-for-Desktop (Docker for Mac)
  • OS (e.g. from /etc/os-release): MacOS High Sierra
  • Kernel (e.g. uname -a): Darwin
  • Install tools: following instructions found at: https://kubernetes.github.io/ingress-nginx/deploy/

What happened: attempted to run command: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
and got the response:

error: error validating "https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml": error validating data: kind not set; if you choose to ignore these errors, turn validation off with --validate=false

What you expected to happen: Expected to see:

namespace/ingress-nginx created configmap/nginx-configuration created configmap/tcp-services created configmap/udp-services created serviceaccount/nginx-ingress-serviceaccount created clusterrole.rbac.authorization.k8s.io/nginx-ingress-clusterrole created role.rbac.authorization.k8s.io/nginx-ingress-role created rolebinding.rbac.authorization.k8s.io/nginx-ingress-role-nisa-binding created clusterrolebinding.rbac.authorization.k8s.io/nginx-ingress-clusterrole-nisa-binding created deployment.extensions/nginx-ingress-controller created

How to reproduce it (as minimally and precisely as possible): Run the command

Anything else we need to know: I've updated the mandatory.yaml file with the required field in the commit: https://github.com/kubernetes/ingress-nginx/commit/6f160d9066179ab44b2814c881292111efe191e6 and will be creating a pull request for it.

@aledbf
Copy link
Member

aledbf commented Dec 4, 2018

Closing. Fixed in master #3516. Apologies for the issue

@aledbf aledbf closed this as completed Dec 4, 2018
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

Successfully merging a pull request may close this issue.

2 participants