- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | pyyaml | 6.0.3 | 6.0.4 | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
| .github/workflows | ||
| acme.cert-manager.io | ||
| argoproj.io | ||
| cert-manager.io | ||
| external-secrets.io | ||
| externaldns.k8s.io | ||
| gateway.networking.k8s.io | ||
| generators.external-secrets.io | ||
| helm.cattle.io | ||
| hub.traefik.io | ||
| k3s.cattle.io | ||
| longhorn.io | ||
| nfd.k8s-sigs.io | ||
| policy.cert-manager.io | ||
| postgres-operator.crunchydata.com | ||
| snapshot.storage.k8s.io | ||
| traefik.io | ||
| trust.cert-manager.io | ||
| upgrade.cattle.io | ||
| Utilities | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| requirements.txt | ||
CRDs-catalog
JSON schemas for the CustomResourceDefinitions installed in the homelab cluster, laid out for kubeconform:
<group>/<lowercase-kind>_<lowercase-version>.json
Only CRDs that run in the cluster live here. Homelab CI lists this catalog before datreeio/CRDs-catalog, so a schema missing here falls back to upstream:
kubeconform \
-schema-location default \
-schema-location 'https://raw.githubusercontent.com/zekihan/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
manifests.yaml
Refresh
python3 -m venv .venv
.venv/bin/pip install --require-hashes --only-binary=:all: -r requirements.txt
.venv/bin/python Utilities/refresh.py --context cluster-1
git diff --stat
.venv/bin/python -m unittest discover -s Utilities/tests
refresh.py exports served CRD versions and replaces every non-hidden top-level
directory whose name contains a dot, so removed CRDs disappear too. Do not keep
unrelated files in those directories. --input crds.json reads a saved
kubectl get crds -o json instead of contacting the cluster; it still replaces
the catalog directories. An empty snapshot, a missing schema, or a duplicate
output name stops the export before publication. Publication stages replacements
on the catalog filesystem and keeps the old directories until the switch succeeds.
If a switch fails, it restores the old directories. If restoration is incomplete,
the error gives the path to the retained workspace for recovery.
Utilities/openapi2jsonschema.py comes from kubeconform through
datreeio/CRDs-catalog, with a fix that only descends into subschemas, so
defaults, enums and properties named properties convert correctly.