UNPKG

@grucloud/module-k8s-cert-manager

Version:
28 lines (26 loc) 598 B
const assert = require("assert"); module.exports = ({ resources: { certificaterequestsCertManagerIoCustomResourceDefinition }, provider, }) => { assert(provider); return { onDeployed: { init: async () => { const certRequestCrd = await certificaterequestsCertManagerIoCustomResourceDefinition.getLive(); return {}; }, actions: [ { name: "CertificateRequest", command: async ({ host }) => {}, }, ], }, onDestroyed: { init: () => { //console.log("ec2 onDestroyed"); }, }, }; };