Recent Releases of https://github.com/skarlso/crd-to-sample-yaml
https://github.com/skarlso/crd-to-sample-yaml - v2.0.3
What's Changed
- fix: put examples generation back into html view by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/227
- chore: release docs for v2.0.2 by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/228
- feat: add ability to inject custom CSS into HTML output by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/230
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v2.0.1...v2.0.3
- HTML
Published by github-actions[bot] 7 months ago
https://github.com/skarlso/crd-to-sample-yaml - v2.0.2
Fix
Fix Examples not showing in the generated HTML output.
- HTML
Published by github-actions[bot] 7 months ago
https://github.com/skarlso/crd-to-sample-yaml - v2.0.1
What's Changed
- fix: auto scrolling and images by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/225
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v2.0.0...v2.0.1
- HTML
Published by github-actions[bot] 7 months ago
https://github.com/skarlso/crd-to-sample-yaml - v2.0.0
Completely UI Overhaul
The entire UI and look and feel has been overhauled and made more modern.
What's Changed
- feat: update the look and feel of the website to be more modern by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/223
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v1.2.2...v2.0.0
- HTML
Published by github-actions[bot] 7 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.2.2
What's Changed
- feat: add intellij plugin for cty by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/208
- chore(deps): bump actions/upload-artifact from 4.4.3 to 4.6.2 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/211
- chore(deps): bump actions/setup-java from 4.5.0 to 4.7.1 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/209
- chore(deps): bump gradle/actions from 4.1.0 to 4.4.1 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/210
- chore(deps): bump github.com/fxamacker/cbor/v2 from 2.8.0 to 2.9.0 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/212
- feat: add share link once URL is used by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/215
- chore(deps): bump k8s.io/client-go from 0.33.2 to 0.33.3 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/219
- chore(deps): bump k8s.io/apiextensions-apiserver from 0.33.2 to 0.33.3 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/217
- chore(deps): bump github.com/maxence-charriere/go-app/v10 from 10.1.3 to 10.1.4 by @dependabot[bot] in https://github.com/Skarlso/crd-to-sample-yaml/pull/218
- feat: add examples to the HTML generated output by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/221
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v1.2.1...v1.2.2
- HTML
Published by github-actions[bot] 7 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.2.1
What's Changed
- feat: create a vscode extension by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/206
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v1.2.0...v1.2.1
- HTML
Published by github-actions[bot] 8 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.2.0
What's Changed
New Feature
- feat: add schema validation command between versions by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/204
Chores
- chore(deps): bump k8s.io/apiextensions-apiserver from 0.33.1 to 0.33.2 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/201
Full Changelog
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v1.1.5...v1.2.0
- HTML
Published by github-actions[bot] 8 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.5
What's Changed
- chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.6.6 to 6.6.7 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/174
- chore(deps): bump github.com/go-git/go-git/v5 from 5.13.2 to 5.14.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/175
- chore(deps): bump actions/cache from 4.2.1 to 4.2.2 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/176
- chore(deps): bump github.com/maxence-charriere/go-app/v10 from 10.0.10 to 10.1.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/177
- chore(deps): bump k8s.io/apimachinery from 0.32.2 to 0.32.3 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/181
- chore(deps): bump k8s.io/client-go from 0.32.2 to 0.32.3 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/178
- chore(deps): bump k8s.io/apiextensions-apiserver from 0.32.2 to 0.32.3 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/179
- chore(deps): bump github.com/maxence-charriere/go-app/v10 from 10.1.0 to 10.1.2 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/180
- chore(deps): bump github.com/maxence-charriere/go-app/v10 from 10.1.2 to 10.1.3 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/182
- chore(deps): bump actions/setup-go from 5.3.0 to 5.4.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/183
- chore(deps): bump actions/cache from 4.2.2 to 4.2.3 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/184
- chore(deps): bump goreleaser/goreleaser-action from 6.2.1 to 6.3.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/185
- chore(deps): update golangci-lint by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/186
- chore(deps): bump github.com/go-git/go-git/v5 from 5.14.0 to 5.15.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/187
- chore(deps): bump github.com/go-git/go-git/v5 from 5.15.0 to 5.16.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/188
- chore(deps): bump k8s.io/client-go from 0.32.3 to 0.33.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/189
- chore(deps): bump k8s.io/apiextensions-apiserver from 0.32.3 to 0.33.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/191
- chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/192
- chore(deps): bump k8s.io/apiextensions-apiserver from 0.33.0 to 0.33.1 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/193
- chore(deps): bump github.com/go-git/go-git/v5 from 5.16.0 to 5.16.2 by @dependabot in https://github.com/Skarlso/crd-to-sample-yaml/pull/196
- chore: add arm release by @Skarlso in https://github.com/Skarlso/crd-to-sample-yaml/pull/199
Full Changelog: https://github.com/Skarlso/crd-to-sample-yaml/compare/v1.1.4...v1.1.5
- HTML
Published by github-actions[bot] 9 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.4
Release v1.1.4
- feat: add kubernetes cluster access and listing crds in the cluster #173
- feat: add reading crds from stdin #172
- HTML
Published by github-actions[bot] 12 months ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.3
Release v1.1.3
- feat: ignore errors in matchers and add format byte
The CRD tester now can ignore certain errors. For example:
yaml
suite: test ClusterSecretStore
template: tests/crds/clustersecretstore.yml
tests:
- it: matches ClusterSecretStore correctly
asserts:
- matchSnapshot:
path: tests/__snapshot__
# We deliberately want to test all the included elements.
ignoreErrors:
- "in body should have at most 1 properties"
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.2
Release v1.1.2
- feat: extend the configuration file with the other providers #157
The configuration file has been extended with all the providers.
yaml
apiGroups:
- name: "com.aws.services"
description: "Resources related to AWS services"
files: # files and folders can be defined together or on their own
- sample-crd/infrastructure.cluster.x-k8s.io_awsclusters.yaml
- sample-crd/delivery.krok.app_krokcommands
- name: "com.azure.services"
description: "Resources related to Azure services"
folders:
- azure-crds
- name: "whatever"
urls:
- url: https://raw.githubusercontent.com/Skarlso/crd-bootstrap/refs/heads/main/crd-bootstrap/crds/delivery.crd-bootstrap_bootstraps.yaml
gitUrls:
- url: git@github.com:Skarlso/crd-bootstrap
- url: git@github.com:crossplane/crossplane
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.1
Release v1.1.1
- feat: implement discovering CRDs in git repositories directly #155
This feature adds the ability to fetch CRDs through discovery from a git based repository. It is only supported through the CLI at the moment. For more information, check out the Pull Request description and the README.
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.1.0
Release v1.1.0
- feat: add option to generate Details section on the spot #153
This feature introduced an overhaul of the frontend and the Generation logic. Previously, the required only generation was destructive to the object. Meaning it actually removed fields that weren't required from the schema object as it was going through it.
This has been revised. Now, this process is non-destructive. So it can be called multiple times on the same object. This was introduced so the frontend now has a switch where it can on-the-fly generate the output based on the settings provided in the details view.
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.6
Release v1.0.6
- fix: fixing checking additional property when it is not required #149
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.5
Release v1.0.5
- fix: additional properties schema being nil for create html output (#147)
- HTML
Published by github-actions[bot] about 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.4
Release v1.0.4
- add enum values to be displayed properly via #139
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.3
Release v1.0.3
The following features have been completed in this release:
- feat: add config file for optional grouping (#134)
- feat: adding apiVersion and kind value if description is empty (#132)
- feature: inline the CSS instead of using a CDN every time #131
- feat: add x-kubernetes-group-version-kind to the schema #129
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.2
Release v1.0.2
This release adds a small adjustment to the JSON schema generator adding a small detail about the kind and the group and the version that's being used by the schema.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.1
Release v1.0.1
Fix ignoring the random flag for HTML output.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v1.0.0
Release v1.0.0
:boom: BREAKING CHANGE :boom:
This is the first official 1.0.0 version of CRD sample. This tool has come a long way from simply generating sample YAML files from CRDs. It now supports the following major features:
- CRD testing
- Generating JSON schemas
- Validating more types other than CRD that support openAPIV3schema section in their
specfield - Generating minimum required yamls
- Adding comments
- Generating YAML that 100% conforms to the given schema, respecting minimum values, regex, formats, etc.
- A feature rich website with
- live code changes rendering
- back navigation
- lots of tiny options
This has been quite the journey. Hopefully, from now on, the API will be somewhat stable. I can't promise completey unbreakable changes, but I promise not to break anything in Patch versions.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.12.0
Release v0.12.0
:boom: WARNING! This release contains a breaking change. :boom:
I restructured the CLI api. Now, generate is a top level command. It has
TWO subcommands called crd and scheme. Pull request number #119
introduced a new feature where you are now able to generate a JSON schema
from a CRD. This is useful for auto-generating completion schemas and further
tooling support that uses raw JSON schemas.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.11.0
Release v0.11.0
This release brings with it a huge update. First, and formost,
v1beta1 support has been added to CRDs. This will now successfully
generate values for Validate entities that don't have any versions
listed.
Another huge update is to the frontend. The frontend contains now a textare that can be edited and the content will be generated on the fly instead of having to send the content to be rendered.
And lastley, the whole repo has a test now that uses the created test suite to make sure that all rendering is still working after an update.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.10.0
Release v0.10.0
- updated the website to have a true back button once rendering is complete
- added multiple CRD display options for the rendered HTML page
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.9.0
v0.9.0
This update brings with it some version upgrades and changes how required fields are calculated for minimum samples. That is samples that satisfy the minimum required fields present in a CRD.
It will render fields better.
Also fixed a problem where {} would not be rendered in case
a top level object was required but didn't had any more required
fields it self. In that case, it would be rendered as field: and
that's it. Which made the schema fail.
Now, a {} is correctly put after it if it's an object. For example:
yaml
apiVersion: v1
kind: Whatever
spec:
fields: {}
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.8.0
v0.8.0
MAJOR UPDATE
Changes to how values are generated
This update contains a few modifications to the way we generate samples. These modifications are the following:
- if enum values are defined for a property, choose the first one from the list whatever that is
- if there is a minimum defined for integer types, the minimum value is used
- comment is added to list items of what type they are and how much the minimum value for them is
yaml volumeIDs: [] # minItems 0 of type string - unless
no-randomis defined, now given aPatternthat contains a valid regex a valid value is generated that satisfies the regex and the regex's value is commented after the valueyaml name: xwjhylgy2ruc # ^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$
The random generation can be skipped by providing the following flag to cty: --no-random.
New test command
A new command has been added that lets users unit test schema validation for generated YAML files to CRDs.
To read more about it, check out the readme: crd-testing-README.md.
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.7.1
v0.7.1 Release
- fix: nil schema check for additional properties (#94)
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.7.0
v0.7.0 Release
- feat: add url authentication (#90)
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.6.2
v0.6.2 Release
- feat: sanitize templated helm CRDs #85
- HTML
Published by github-actions[bot] over 1 year ago
https://github.com/skarlso/crd-to-sample-yaml - v0.6.1
v0.6.1 Release
- feat: add shareable link to the website (#79)
- HTML
Published by github-actions[bot] almost 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.6.0
v0.6.0 Release
- feat: add ability to load content from folders (#78)
- HTML
Published by github-actions[bot] almost 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.5.1
v0.5.1 Release
- Add a
versioncommand that is set during release (#74)
- HTML
Published by github-actions[bot] almost 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.5.0
v0.5.0 Release
- Add option to generate minimum required YAML for CRD (#72)
- HTML
Published by github-actions[bot] almost 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.4.0
v0.4.0 Release
- Add HTML based output formatting (#66)
- HTML
Published by github-actions[bot] almost 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.3.3
v0.3.3 Release
- Add using
examples if defined afterdefaultvalue in the schema. (#56)
- HTML
Published by github-actions[bot] about 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.3.2
v0.3.2 Release
Fix the release build process.
- HTML
Published by github-actions[bot] about 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.2.0
v0.2.0 Release
This release adds optionally generated comments to the mix.
- HTML
Published by github-actions[bot] about 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.1.2
v0.1.2 Release
Display default values.
- HTML
Published by github-actions[bot] over 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.1.1
v0.1.1 Release
Includes updated to modules and dependencies.
- HTML
Published by github-actions[bot] over 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.1.0
v0.1.0 Release
This is the first stable release. Contains URL sharing ability.
For example: https://your.crd.server/render?url=https://raw.githubusercontent.com/Skarlso/crd-to-sample-yaml/main/sample-crd/delivery.krok.app_krokcommands.yaml
Will take that yaml content and render it.
- HTML
Published by github-actions[bot] over 2 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.15
Ability to provide URL on the website
Now the website has feature parity with the CLI.
- HTML
Published by github-actions[bot] about 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.14
Fixing the release
Finally, the release flow is installing the right Go version, so the build works now. 🎉
- HTML
Published by github-actions[bot] over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.11
Changelog
- 37b42ac Added new release note
- 64be4bb Renamed the binary to cty
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.8
Changelog
- 2cab89c Release docs
- 5a10ab2 nicer error handling and localized halfmoon.css
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.7
Changelog
- d183614 Release notes
- 583a5b6 Added error handling. Closes #7.
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.6
Changelog
- a808d3f Fixed missing font-awesome
- 65d2427 Added font-awesome icons
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.5
Changelog
- 37d717b Implement clipboard.js
- fac45c3 Added docs
- 06f81ee Added a generated YAML sample to the frontend
- 2a392e3 Added updated screenshots
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.4
Changelog
- 59b4db7 Added release docs
- 45b57c8 Merge pull request #6 from Skarlso/frontend-overhaul-2
- 210081a Completely overhauled the frontend
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.3
Changelog
- 5b02b29 Added release doc
- 35ca4b6 Add showcase to readme
- 2b2ca6d Merge pull request #5 from Skarlso/collapse
- ba12a7d Simplified the front page as well
- 3a267da Fixed the indentation
- 7cb65e0 Collapsable divs
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.2
Changelog
- fe63c33 Added doc for release
- 9345959 Added Dockerfile and change the default port number
- 904aead Updated README
- 064af30 Merge pull request #2 from Skarlso/server-side-rendering-of-crds
- 58b3e99 Ignore idea folder
- 6887a1c Working html parser
- c9b6c27 Working parsing for the template engine
- 6079ccd Changing to a form based approach
- e99ded0 Added dist to ignore
- HTML
Published by Skarlso over 3 years ago
https://github.com/skarlso/crd-to-sample-yaml - v0.0.1
Changelog
- 39e9d55 Fix the go version for the releaser
- bff7697 Fix the go version for the releaser
- 10e463f Remove deprecated output and fix the go binary version
- 890ea9b Fixed the README sample and updated the go releaser version
- 0635503 go mod tidy
- 68a884f removed leading space from folder name
- 4aff776 Added release notes
- dd41100 Added a fix for parsing items which could be other objects
- f394758 Added generating output for all versions defined in the CRD
- 69b6f5f Added some readme information
- 77823ea Added releases ignores Makefile and everything
- 184bdc8 Added sorting the keys and added sample data for each field which tells about the type
- bc43339 Added some more todos
- a3c6718 Skeleton of parsing a CRD
- 812cd05 Initial commit
- HTML
Published by Skarlso over 3 years ago