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

SB: KCP CLI supports short status about service bidings for given Kyma instance #1200

Closed
3 of 4 tasks
PK85 opened this issue Sep 26, 2024 · 1 comment
Closed
3 of 4 tasks
Assignees
Labels
kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature

Comments

@PK85
Copy link

PK85 commented Sep 26, 2024

Subtask of the EPIC: #284

AC

  • 1) Propose some design, and how and what we want to display to Operator
  • 2) When approved by team, implement
  • 3) update docs about kcp CLI support
  • 4) update swagger /runtimes API endpoint
@PK85 PK85 added the kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature label Sep 26, 2024
@piotrmiskiewicz piotrmiskiewicz self-assigned this Oct 3, 2024
@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Oct 4, 2024

  1. Bindings are not present in the regular call, needs special flag "--bindings"

example of the JSON output:

{
  "data": [
    {
      "instanceID": "0D5BAC00-6FAF-4ADB-A1D8-238854485CCE",
      "runtimeID": "e851e833-d304-4dd2-8b93-f4d9583b5487",
      "globalAccountID": "32246602-008e-4319-b2bb-a9233d6a25c1",
      "subscriptionGlobalAccountID": "",
      "subAccountID": "5c8b7352-c5ed-410d-926d-3f9bc04b0913",
      "region": "westeurope",
      "subAccountRegion": "cf-eu20-staging",
      "shootName": "c-44fd3e6",
      "serviceClassID": "47c9dcbf-ff30-448e-ab36-d3bad66ba281",
      "serviceClassName": "kymaruntime",
      "servicePlanID": "4deee563-e5ec-4731-b9b1-53b42d855f0c",
      "servicePlanName": "azure",
      "provider": "Azure",
      "bindings": [
          {
            "created_at":"2024-10-03T17:27:11.944543Z",
            "type":"serviceaccount",
            "expiresSeconds":"3600"
          }

      ],
      "status": {
        "createdAt": "2024-10-03T17:10:21.625522Z",
        "modifiedAt": "2024-10-03T17:20:11.944619Z",
        "state": "succeeded",
        "provisioning": {
          "state": "succeeded",
          "description": "Processing finished",
          "createdAt": "2024-10-03T17:10:21.614809Z",
          "updatedAt": "2024-10-03T17:20:11.944619Z",
          "operationID": "e81f968a-d2fa-4827-95b5-68ac43347c3a",
          "finishedStages": [
            "start",
            "create_runtime",
            "check_kyma",
            "create_kyma_resource"
          ]
        }
      },
      "userID": "[email protected]",
      "avsInternalEvaluationID": 0
    }
  ],
  "count": 1,
  "totalCount": 1
}

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

No branches or pull requests

2 participants