Skip to content

Add option to disable CRD creation on operator start #785

Description

@Glorf

Hello, thanks for all the amazing work on this operator.

I'm currently working on getting this operator working in a single namespace environment (eg. with only Roles and RoleBindings instead of Cluster ones).
The only things that seem to be an issue are CRD createOrReplace operations that are performed at the very beginning of the controller run. Since I have the CRDs already installed, I'd like to have an option to omit this check. Or maybe there is some other way to overcome this?

Specific line that causes problems: https://github.com/zalando/postgres-operator/blob/master/pkg/controller/controller.go#L259

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions