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

Failure when following tutorial: Services and Routes #6503

Closed
2 tasks done
rotty3000 opened this issue Nov 10, 2023 · 1 comment
Closed
2 tasks done

Failure when following tutorial: Services and Routes #6503

rotty3000 opened this issue Nov 10, 2023 · 1 comment

Comments

@rotty3000
Copy link

Where is the problem?

https://docs.konghq.com/kubernetes-ingress-controller/3.0.x/get-started/services-and-routes/

What happened?

Upon reaching "Add routing configuration" attempting to run the "Gateway API" snippet recieved the error:

]$ echo "
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: echo
  annotations:
    konghq.com/strip-path: 'true'
spec:
  parentRefs:
  - name: kong
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /echo
    backendRefs:
    - name: echo
      kind: Service
      port: 1027
" | kubectl apply -f -
Error from server: error when creating "STDIN": admission webhook "validations.kong.konghq.com" denied the request: referenced gateway default/kong not found

What did you expect to happen?

As documented I expected the response:

httproute.gateway.networking.k8s.io/echo created

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
@rotty3000
Copy link
Author

nvm... I accidentally skiped a step :(

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