ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
137 stars 65 forks source link

Kubernetes Connector #7171

Open hemikak opened 5 years ago

hemikak commented 5 years ago

Description: A connector for Kubernetes API.

hemikak commented 4 years ago

I have used the OpenAPI client generation tool to generate a client for kubernetes. But unfortunately the OpenAPI spec does not contain default values for fields where they should be. Example. Refer the DeploymentSpec's minReadySeconds field in https://github.com/kubernetes/kubernetes/blob/v1.18.2/api/openapi-spec/swagger.json . It is suppose to have a default value, but it is not there.

We can give it a try with proto files they have: https://raw.githubusercontent.com/kubernetes/api/master/core/v1/generated.proto