{
render() {
const { object: certificate } = this.props;
if (!certificate) return null;
return (
{certificate.getAge(true, false)} ago ({certificate.metadata.creationTimestamp })
{certificate.spec.dnsNames.join(",")}
{certificate.spec.secretName}
{certificate.status.conditions.map((condition, index) => {
const { type, reason, message, status } = condition;
const kind = type || reason;
if (!kind) return null;
return (
);
})}
)
}
}
```
## Summary
Like we can see above, it's very easy to add custom pages and fetch Kubernetes resources by using Extensions API. Please see the [complete source code](https://github.com/lensapp/lens-extension-samples/tree/master/custom-resource-page) to test it out.