We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 824a2c4 + bbaa861 commit 8f7e988Copy full SHA for 8f7e988
kubernetes/config/kube_config_yaml.c
@@ -228,6 +228,8 @@ static int parse_kubeconfig_yaml_property_mapping(kubeconfig_property_t * proper
228
property->client_certificate_data = strdup(value->data.scalar.value);
229
} else if (0 == strcmp(key->data.scalar.value, KEY_CLIENT_KEY_DATA)) {
230
property->client_key_data = strdup(value->data.scalar.value);
231
+ } else if (0 == strcmp(key->data.scalar.value, KEY_TOKEN)) {
232
+ property->token = strdup(value->data.scalar.value);
233
}
234
} else if (KUBECONFIG_PROPERTY_TYPE_CONTEXT == property->type) {
235
if (0 == strcmp(key->data.scalar.value, KEY_CLUSTER)) {
0 commit comments