Hui Yu
Hui Yu
Thank you @i-ky I think the dpkg package is based on the release https://github.com/yaml/libyaml/releases of this repo, but I wonder why the release package does not include the file `yamlConfig.cmake`...
Thank you for reporting this. We will fix it soon. If you want a quick fix with your own build, change https://github.com/kubernetes-client/c/blob/9a78e0fe02dac4aa65b86d98a7fa894be2fee872/kubernetes/model/v1_object_meta.c#L354 to ```c if(!cJSON_IsObject(annotations) && !cJSON_IsNull(annotations)) { ```
Thank you! The best solution is upgrading `cJSON` to the latest release as your suggestion. (But I haven't tried this solution now) The change ```diff diff --git a/kubernetes/external/cJSON.c b/kubernetes/external/cJSON.c index...
OK. I got it. Then we can fix it via the first solution https://github.com/kubernetes-client/c/issues/138#issuecomment-1226844487 The fix will commit into the template file https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/C-libcurl/model-body.mustache, so it will update all where needed...
Do you mean the memory leak of `localVarPath` if `_namespace == NULL` ?
The parameter `_namespace` is required for the "Namespaced" functions such as `AutoscalingV2beta2API_listNamespacedHorizontalPodAutoscaler`, so `if(_namespace==NULL)` needs to be checked. This issue is a memory leak, what I try to fix is...
Checked the code and found `localVarPath` would be freed. https://github.com/kubernetes-client/c/blob/8f8874e9f5f1023735cc630efb2d354556c0b179/kubernetes/api/AutoscalingV2beta1API.c#L1522-L1524 Is there a memroy leak now ?
Is this OK ? https://github.com/kubernetes-client/c/blob/master/kubernetes/docs/CoreV1API.md#CoreV1API_readNodeStatus
Can you describe in detail about "the role of etcd" ? e.g. Is the etcd a built-in component of Kubernetes (for API Server to save cluster information) or something you...
Can you find a solution for your requirement via `kubectl`? The C client library only communicates with the Kubernetes API server, which behaves like client-go/kubectl.