@soft-stech/bootsman-addons
v2.0.1
Published
[bootsman-addons](https://bootsman.tech/) models.
Readme
@soft-stech/bootsman-addons
bootsman-addons models.
Installation
Install with npm.
npm install @soft-stech/bootsman-addonsBuild
Create .env file.
GITLAB_URL=https://git.stsoft.team
GITLAB_TOKEN=<your gitlab key>
GITLAB_PROJECT_ID="1404"Run pnpm run build
Usage
import { IBillingPluginServerSchema } from "@soft-stech/bootsman-addons/configuration.bootsman.tech/v1alpha1/BillingPluginServer.schema";
import { billingPluginServerBase } from "@soft-stech/bootsman-addons/configuration.bootsman.tech/v1alpha1/BillingPluginServer.base";
import { allDefaults } from "@soft-stech/bootsman-addons/configuration.bootsman.tech/v1alpha1/all.base";
const result = IBillingPluginServerSchema.safeParse(billingPluginServerBase);
console.log({ result });Rancher cattle.io
For additional rancher schema generation
kubectl get crd clusters.provisioning.cattle.io -o yaml | yq eval 'del(.status, .metadata.creationTimestamp, .metadata.resourceVersion, .metadata.uid, .metadata.generation)' > crds/cattle.io/clusters.provisioning.cattle.io.yaml