Skip to content

Deploying multiple operator instances fails #875

@abrodersen

Description

@abrodersen

This appears to be caused by #832.

Deploying the first release of the operator using chart version 1.4.0 works. However, when deploying a second instance, helm returns this error:

Error: UPGRADE FAILED: kind ClusterRole with the name "postgres-pod" already exists in the cluster and wasn't defined in the previous release. Before upgrading, please either delete the resource from the cluster or remove it from the chart

I tried setting rbac.create to false but this causes other necessary RBAC resources to not get created. The chart also does not offer any way to customize the name of the postgres-pod ClusterRole. If this customization were available, multiple instances could be deployed without issue.

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