@grucloud/module-k8s-crunchy-postgres
v13.2.5
Published
GruCloud Module for the Kubernetes Crunchy Data Postgres Operator
Downloads
213
Maintainers
Readme
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