The latest News and Information on APIs, Mobile, AI, Machine Learning, IoT, Open Source and more!
In 2.8, Rancher added a new field to the GlobalRoles resource (inheritedClusterRoles), which allows users to grant permissions on all downstream clusters. With the addition of this field, it is now possible to create a custom global role that grants user-configurable permissions on all current and future downstream clusters. This post will outline how to create this role using the new Rancher Kubernetes API, which is currently the best-supported method to use this new feature.
Contributing to open source software helps you develop new skills, gain real-world coding experience, interact with new technologies, and meet new people. But with so many open source projects to choose from — developers started some 52 million new projects on GitHub in 2022 alone — it can be difficult to figure out which repositories to contribute to. If you’re thinking about joining a new open source project in 2024, you’ve come to the right place.
In the expanding world of APIs, meaningful error responses can be just as important as well-structured success responses. In this post, I'll take you through some of the different options for creating responses that I've encountered during my time working at Raygun. We'll go over the pros and cons of some common options, and end with what I consider to be one of the best choices when it comes to API design, the Result Pattern. This pattern can lead to an API that will cleanly handle error states and easily allow for consistent future endpoint development.