crossplane-renderer

Render Crossplane compositions and validate them with Polaris, kube-linter, and Datree.

97|15|Updated Oct 2, 2023
One-click install
npx skills add https://github.com/Smana/cloud-native-ref --skill crossplane-renderer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crossplane-renderer
Source: https://github.com/Smana/cloud-native-ref/tree/main/.claude/skills/crossplane-renderer
Command: npx skills add https://github.com/Smana/cloud-native-ref --skill crossplane-renderer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams ensure Crossplane compositions render correctly and pass security and policy checks before committing changes, reducing CI failures and rollout risks.

Core Features & Use Cases

  • Render Crossplane compositions and preview generated resources to catch issues early.
  • Validation integrates with Polaris, kube-linter, and Datree to enforce security and policy checks.
  • Workflow Integration works standalone or as part of a complete KCL validation workflow to streamline pre-commit checks and CI.

Quick Start

From the repository root, run a render and optional validations to quickly verify a production-ready output. Example: cd infrastructure/base/crossplane/configuration; crossplane render examples/app-complete.yaml app-composition.yaml functions.yaml --extra-resources examples/environmentconfig.yaml > /tmp/rendered.yaml

Frequently Asked Questions about crossplane-renderer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Crossplane compositions and validate them?

Render Crossplane compositions using the crossplane render command with your configuration files, then validate the output against security policies with integrated Polaris, kube-linter, and Datree checks to catch policy violations before deployment.

Can I use Crossplane validation in pre-commit workflows?

Yes, render and validate Crossplane compositions during pre-commit checks to enforce security and policy compliance automatically, preventing non-compliant changes from reaching version control.

What security policies does Crossplane composition validation support?

Crossplane composition validation integrates Polaris for Kubernetes best practices, kube-linter for security linting, and Datree for policy enforcement, covering security, compliance, and resource configuration checks.

How do I catch Crossplane rendering errors early in development?

Render Crossplane compositions locally with preview output to identify issues before CI runs, reducing rollout risks and catching resource generation problems during testing and development.

Does Crossplane validation work standalone or integrated?

Render and validate Crossplane compositions as standalone tasks or integrate them into complete KCL validation workflows for streamlined pre-commit checks and continuous integration pipelines.