Managed configuration v1
We're in the process of migrating the documentation from the previous EDB Postgres Distributed for Kubernetes name to the new EDB Postgres® AI for CloudNativePG™ Global Cluster name. You may see references to both names in this documentation.
The PGD operator allows configuring the managed
section of a PG4K cluster. The spec.cnp.managed
stanza
is used for configuring the supported managed roles and services within the cluster.
In this example, a PGDgroup is defined with default read only
and read
services disabled. Additionally,
it is configured to have a managed role named foo
with the specified properties set up in postgres.
apiVersion: pgd.k8s.enterprisedb.io/v1beta1 kind: PGDGroup metadata: name: group-example-with-managed spec: [...] cnp: [...] managed: roles: - name: foo comment: Foo ensure: present connectionLimit: 100 login: true superuser: true createdb: true createrole: true replication: true services: disabledDefaultServices: - ro - r
For more information about managed roles, see Database role management in the EDB Postgres for Kubernetes documentation.