c icon indicating copy to clipboard operation
c copied to clipboard

Official C client library for Kubernetes

Results 17 c issues
Sort by recently updated
recently updated
newest added

Followed the main documentation, but when I run make after the cmake command for libwebsockets, I get the following error: ``` /tmp/k/libwebsockets/lib/tls/openssl/openssl-server.c:683:1: error: conflicting types for ‘lws_tls_server_abort_connection’ due to enum/integer...

I am not too deep into C, but I would like to consume this API and integrate it as a static library (.a) instead of a shared object (.so). How...

lifecycle/rotten

Accoding to kubernetes bug fix https://github.com/kubernetes/kubernetes/issues/78308, pods that explicitly specifying `runAsUser: ` or `runAsGroup: ` should start the container always in every launch using given user or group. If `runAsUser`...

lifecycle/stale

Hello, I've debugged this and this function is returning null while parsing the status. I have a simple Daemonset with this status: ``` status: currentNumberScheduled: 1 numberMisscheduled: 0 desiredNumberScheduled: 1...

- existing api is not changed - load_kube_config works as before - extend kubeconfig_t to hold in memory buffer - make a common flow for file/buffer code - set fileName/buffer...

size/L
cncf-cla: yes

In the function callInternal(), client->client->dataReceived is dereferenced unconditionally before it is checked for NULL: https://github.com/kubernetes-client/c/blob/master/kubernetes/src/generic.c#L62 ``` char* callInternal(genericClient_t *client, const char *path, list_t *queryParameters, list_t *headerParameters, list_t *formParameters, list_t *headerType,...

This segfault occurs due to a lack of valid cJSON obj validation in events_v1_event_parseFromJSON https://github.com/kubernetes-client/c/blob/2d93989a21591b0748485dd0919d713e0121db22/kubernetes/model/events_v1_event.c#L465