Skip to content

V1Status not support k8s latest version: 1.18 #969

Closed
@github-edu

Description

@github-edu

JSON filed status is Object, not String

{
  "kind": "Namespace",
  "apiVersion": "v1",
  "metadata": {
    "name": "created-by-java-1591085118384",
    "selfLink": "/api/v1/namespaces/created-by-java-1591085118384",
    "uid": "5d5cc84d-339d-4e0c-86e5-d287601e928a",
    "resourceVersion": "70213",
    "creationTimestamp": "2020-06-02T08:06:11Z",
    "deletionTimestamp": "2020-06-02T08:07:19Z",
    "managedFields": [
      {
        "manager": "OpenAPI-Generator",
        "operation": "Update",
        "apiVersion": "v1",
        "time": "2020-06-02T08:06:11Z",
        "fieldsType": "FieldsV1",
        "fieldsV1": {"f:status":{"f:phase":{}}}
      }
    ]
  },
  "spec": {
    "finalizers": [
      "kubernetes"
    ]
  },
  "status": {
    "phase": "Terminating"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions