@grucloud/module-k8s-crunchy-postgres

13.2.5 • Public • Published

GruCloud module for the Kubernetes Crunchy Data Postgres Operator

This GruCloud module allows to deploy the Crunchy Data Postgres Operator

The offical k8s manifest is downloaded, the k8s-manifest2code generates the GruCloud code from that manifest.

How to consume this module

npm i @grucloud/module-k8s-crunchy-postgres

In your iac.js file, import the package:

const PostgresOperator = require("@grucloud/module-k8s-crunchy-postgres");

Invoke the createResources function with a K8sProvider instance

const postgresOperatorResources = await PostgresOperator.createResources({
  provider,
});

Examples

Have a look at the example

Release a new version

Modify the manifest version from the download-manifest scripts sections of the package.json.

Run the download-manifest npm script:

npm run download-manifest

Run the k8s-manifest2code to generate the new resource.js:

npm run gen-code

Ready for testing ? Go to the example

Package Sidebar

Install

npm i @grucloud/module-k8s-crunchy-postgres

Weekly Downloads

5

Version

13.2.5

License

ISC

Unpacked Size

52.6 kB

Total Files

6

Last publish

Collaborators

  • fheem