Kusk: Configuring your Ingress Controller for CORS with OpenAPI

George Dobrovolsky
Sep 14 · 3 min read

Theory

CORS — Cross-Origin Resource Sharing — is a mechanism that allows browser and server to communicate and establish a set of security settings that tell a browser which origins scripts may be loaded from and what it can talk to.

Practice

For Ambassador Ingress Controller, you would need to configure a CORS for each Mapping, i.e.:

Enter Kusk — OpenAPI for Kubernetes

(overly simplified Kusk workflow!)

Make your OpenAPI schema a real source of truth

Kusk aims to simplify workflows for Developers that adopt Kubernetes, giving the ability to use OpenAPI schemas as a source of truth for configuring cluster resources.

kubeshop.io

open-source accelerator-incubator focused on k8s