@kubernetes-models/cert-manager
TypeScript icon, indicating that this package has built-in type declarations

4.3.1 • Public • Published

@kubernetes-models/cert-manager

cert-manager models.

Installation

Install with npm.

npm install @kubernetes-models/cert-manager

Usage

import { Certificate } from "@kubernetes-models/cert-manager/cert-manager.io/v1/Certificate";

// Create a new certificate
const cert = new Certificate({
  metadata: {
    name: "foo"
  },
  spec: {
    secretName: "foo-secret",
    dnsNames: ["foo.example.com"],
    issuerRef: {
      name: "letsencrypt-prod",
      kind: "Issuer"
    }
  }
});

// Validate against JSON schema
cert.validate();

License

MIT

Package Sidebar

Install

npm i @kubernetes-models/cert-manager

Weekly Downloads

181

Version

4.3.1

License

MIT

Unpacked Size

5.45 MB

Total Files

162

Last publish

Collaborators

  • tommy351