Skip to content

extension uuid-ossp installation in database cluster #1129

Open
@kushwahashiv

Description

@kushwahashiv

Hi I tried to configure extension uuid-ossp in database yml https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml but when the cluster was created I don't see the extension installed in postgres default database

Is something missing below here or below one is the right way to configure this extension.

apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
  name: acid-minimal-cluster
  namespace: default
spec:
  teamId: "acid"
  volume:
    size: 1Gi
  numberOfInstances: 2
  users:
    zalando:  # database owner
    - superuser
    - createdb
    foo_user: []  # role for application foo
  databases:
    foo: zalando  # dbname: owner
  preparedDatabases:
    bar:
      defaultUsers: true
      extensions:
        uuid-ossp: public
  postgresql:
    version: "12"

/shiv

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions