Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contentEncoding and contentMediaType for Kubeconfig #468

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Oct 13, 2021

  1. Add contentEncoding and contentMediaType for Kubeconfig

    This is related to linode/linode-cli#247
    
    The kubeconfig returned from `GET /lke/clusters/{clusterId}/kubeconfig`
    is a base64-encoded YAML config.  The OpenAPI standard now supports this
    [with the standard JSON Schema fields](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#considerations-for-file-uploads).
    
    This change notes the encoding of the `kubeconfig` field, which the CLI
    may use to decode the base64 data and display the actual YAML for
    convenience (see linked CLI PR below).
    Dorthu committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    f726110 View commit details
    Browse the repository at this point in the history