open-index/open-npm huggingface dataset:
npm package: @soft-stech/argo-cd
Description: Argo CD models
Author: Tommy Chen
Latest version: 2.5.0

# @kubernetes-models/argo-cd

[Argo CD](https://argo-cd.readthedocs.io/) models.

## Installation

Install with npm.

```sh
npm install @kubernetes-models/argo-cd
```

## Usage

```js
import { Application } from "@kubernetes-models/argo-cd/argoproj.io/v1alpha1/Application";

// Create a new Application
const app = new Application({
  metadata: {
    name: "guestbook"
  },
  spec: {
    project: "default",
    source: {
      repoURL: "https://github.com/argoproj/argocd-example-apps.git",
      targetRevision: "HEAD",
      path: "guestbook"
    },
    destination: {
      server: "https://kubernetes.default.svc",
      namespace: "guestbook"
    }
  }
});

// Validate against JSON schema
app.validate();
```

## License

MIT
npm package: @soft-stech/argo-rollouts
Description: Argo Rollouts models
Author: Tommy Chen
Latest version: 0.4.1

# @kubernetes-models/argo-rollouts

[Argo Rollouts](https://argoproj.github.io/argo-rollouts/) models.

## Installation

Install with npm.

```sh
npm install @kubernetes-models/argo-rollouts
```

## Usage

```js
import { Rollout } from "@kubernetes-models/argo-rollouts/argoproj.io/v1alpha1/Rollout";

// Create a new Rollout
const rollout = new Rollout({
  metadata: {
    name: "rollouts-demo"
  },
  spec: {
    replicas: 5,
    strategy: {
      canary: {
        steps: [
          { setWeight: 20 },
          { pause: {} },
          { setWeight: 40 },
          { pause: { duration: 10 } }
        ]
      }
    },
    revisionHistoryLimit: 2,
    selector: {
      matchLabels: {
        app: "rollouts-demo"
      }
    },
    template: {
      metadata: {
        labels: {
          app: "rollouts-demo"
        }
      },
      spec: {
        containers: [
          {
            name: "rollouts-demo",
            image: "argoproj/rollouts-demo:blue"
          }
        ]
      }
    }
  }
});

// Validate against JSON schema
rollout.validate();
```

## License

MIT
npm package: @soft-stech/autoscaler
Description: Kubernetes Autoscaler models
Author: Rueian
Latest version: 3.3.1

# @kubernetes-models/autoscaler

[Kubernetes Autoscaler](https://github.com/kubernetes/autoscaler) models.

## Installation

Install with npm.

```sh
npm install @kubernetes-models/autoscaler
```

## Usage

```js
import { VerticalPodAutoscaler } from "@kubernetes-models/autoscaler/autoscaling.k8s.io/v1/VerticalPodAutoscaler";

const vpa = new VerticalPodAutoscaler({
  spec: {
    targetRef: {
      apiVersion: 'apps/v1',
      kind: 'Deployment',
      name: 'my-app'
    },
    updatePolicy: {
      updateMode: 'Off'
    }
  }
});

// Validate against JSON schema
vpa.validate();
```

## License

MIT
npm package: @soft-stech/bootsman-addons
Description: [bootsman-addons](https://bootsman.tech/) models.
Author: Ilya Artamonov
Latest version: 3.0.0

# @soft-stech/bootsman-addons

[bootsman-addons](https://bootsman.tech/) models.

## Installation

Install with npm.

```sh
npm install @soft-stech/bootsman-addons
```

## Build

Create .env file.

```
GITLAB_URL=https://git.stsoft.team
GITLAB_TOKEN=<your gitlab key>
GITLAB_PROJECT_ID="1404"
```

Run pnpm run build

## Usage

```js
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

```bash
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
```