1.0.2 • Published 5 years ago
@brpaz/pulumi-k8s-resources v1.0.2
Pulumi k8s custom resources
Custom Pulumi Kubernetes resources for popular types, written in Typescript.
What is included?
- For now only Cert-manager ClusterIssuer. More to come as I need more resources.
Installation
yarn add @brpaz/pulumi-custom-resources
Usage
import { ClusterIssuer } from "@brpaz/pulumi-k8s-resources";
const clusterIssuer = new ClusterIssuer(
"letsencrypt-prod",
{
name: "letsencrypt-prod",
namespace: "cert-manager"
acme: { // acme specification according to ClusterIssuer schema
}
}
);
For schema documentation see here
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
TODO
Investigate the better way to add type safety to the CRDs.
License
1.0.2
5 years ago