crossplane-contrib / crossplane-contrib/function-hcl

Extract CRDs and XRDs from k8s list output as well

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Currently only the multi YAML doc format is supported. Consider supporting K8s list objects as well.

This allows things like:

```
kubectl get xrds | fn-hcl-tools extract-crds -
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the extract-crds entry point used by `fn-hcl-tools extract-crds -` and trace how multi-document YAML input is handled. Verify the command can read Kubernetes list objects from `kubectl get xrds` output and extract the contained CRDs and XRDs, with tests covering the list format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.