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

Fix the GatewayClass default Condition #470

Closed
jbdoumenjou opened this issue Nov 20, 2020 · 0 comments · Fixed by #471
Closed

Fix the GatewayClass default Condition #470

jbdoumenjou opened this issue Nov 20, 2020 · 0 comments · Fixed by #471
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jbdoumenjou
Copy link
Contributor

What happened:

Create a GatewayClass object and have the following default condition:

{
  "conditions": [
    {
      "lastTransitionTime": "1970-01-01T00:00:00Z",
      "message": "Waiting for controller",
      "reason": "Waiting",
      "status": "Unknown",
      "type": "InvalidParameters"
    }
  ]
}

What you expected to happen:
According to #466

{
  "conditions": [
    {
      "lastTransitionTime": "1970-01-01T00:00:00Z",
      "message": "Waiting for controller",
      "reason": "Waiting",
      "status": "False",
      "type": "Admitted"
    }
  ]
}

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

kubectl apply -f config/crd/bases/
kubectl apply -f examples/basic-http.yaml
kubectl get -o json gatewayclasses/acme-lb | jq .status
@jbdoumenjou jbdoumenjou added the kind/bug Categorizes issue or PR as related to a bug. label Nov 20, 2020
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.

1 participant