---
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.
url: https://charmhub.io/postgresql-data-k8s/configurations
---

# 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)

* [db-name](https://charmhub.io/postgresql-data-k8s/configurations#db-name)
* [db-user](https://charmhub.io/postgresql-data-k8s/configurations#db-user)
* [refresh-period](https://charmhub.io/postgresql-data-k8s/configurations#refresh-period)
* [sql-dump-url](https://charmhub.io/postgresql-data-k8s/configurations#sql-dump-url)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* db-name | string

  Default: postgresql-data-k8s

  The postgresql database name to update.
* db-user | string

  Default: postgresql-data-k8s

  The user / role which will own the recreated data. This is necessary
  in order to avoid permission denied errors on the database that that
  user is consuming.
* refresh-period | int

  The interval (minutes) after which to perform a database refresh using
  the given sql-dump-file resource. If the value is 0, the refresh is
  disabled, and the charm will only do the initial database update on
  any newly related PostgreSQL charm database.
* sql-dump-url | string

  The URL for the tar SQL dump to inject into the related PostgreSQL database.
