c
c copied to clipboard
Official C client library for Kubernetes
## Env Kernel 4.19 GCC 4.9.2 Cmake 3.23.2 kubernetes-client-c 0.4.0 ## Problem Original yaml which could be well processed by kubectl: ```YAML apiVersion: v1 kind: ServiceAccount metadata: name: test-sa namespace:...
We need to use the c library to get the node status, is there a solution?
Hi, I found a memory leak when calling kubeyaml_load_kubeconfig() kubeyaml_load_kubeconfig creates a yaml parser object before attempting to read the kubeconfig file. If opening the kubeconfig file failed for some...
Hi @ityuhui I found some Leak Case in AutoscalingV2beta2. Last time I request this Issue. I know this is rare case that Namespace is Null. But If Namespace is Null,...
Hello All, For my Bazel project, I need to add c kubernetes-client source as my Bazel repo. But looks like the bazel build is not working, as there is no...
Hello, Hope you are well. I am trying to patch the event with event_series structure. This is the code I am having, ```c // Update event cJSON *jsonObj = events_v1_event_series_convertToJSON(evt_v1->series);...
Hello, I was trying to use the CoreV1API_listNamespacedEvent in order to list all the events in the Kubenetes cluster. Now I am not sure if this happens to anyone, but...
Hi, is there any plan on adding the project to Conan in the future?
1. This fix drops the text/plain header as it was causing the requests to fail entirely. 2. This fix also moves the strdup inside the guard to prevent segfaults on...
The text/plain header is being rejected: ``` {\n \"kind\": \"Status\",\n \"apiVersion\": \"v1\",\n \"metadata\": {},\n \"status\": \"Failure\",\n \"message\": \"only the following media types are accepted: application/json, application/yaml, application/vnd.kubernetes.protobuf\",\n \"reason\": \"NotAcceptable\",\n \"code\":...