---
title: Charmhub | Deploy PostgreSQL Data Injector Charm using Charmhub - The Open
  Operator Collection
description: Deploy the latest version of PostgreSQL Data Injector Charm as a Kubernetes
  Operator on any cloud. PostgreSQL Database Injector Charm
url: https://charmhub.io/postgresql-data-k8s
---

# PostgreSQL Data Injector Charm

[Pedro Leão da Cruz](https://charmhub.io/publisher/pedroleaoc "View all packages from Pedro Leão da Cruz")

* [Pedro Leão da Cruz](https://charmhub.io/publisher/pedroleaoc "View all packages from Pedro Leão da Cruz")

Platform:

edge 2

```
juju deploy postgresql-data-k8s --channel edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

---

[Add docs to a charm](https://juju.is/docs/sdk/add-docs-to-your-charmhub-page)

#### PostgreSQL Database Injector Charm

This charm can be related to a postgresql-k8s charm (using the db-admin relation), and
this charm will execute the SQL tar dump given as a resource.

If the refresh-period (minutes) is non-zero, this charm will reexecute the SQL tar dump
after that number of minutes have passed since the last update.

This charm can be configured with the db-user config option, which will be the new
owner of the newly created data (otherwise, consumers of that database will encounter
Permission Denied errors).
