Skip to content

Conversation

@pantierra
Copy link
Contributor

@pantierra pantierra commented Nov 13, 2025

Closes: #224

Issue is to prevent PostgresCluster resources from being created when using external databases:

  • Documented the requirement of setting this value.
  • Added helper validation to require postgrescluster.enabled: false when postgresql.type is set to external-plaintext or external-secret,
  • Updated postgrescluster templates to properly respect the enabled flag

@pantierra pantierra requested a review from batpad November 13, 2025 20:22
@pantierra pantierra force-pushed the hotfix/db-config-disable-postgrescluster branch from de7f047 to 84292ed Compare November 13, 2025 20:29
@pantierra pantierra self-assigned this Nov 13, 2025
@pantierra pantierra force-pushed the hotfix/db-config-disable-postgrescluster branch 7 times, most recently from 083c15f to 0db8ebe Compare November 14, 2025 11:28
@pantierra pantierra force-pushed the hotfix/db-config-disable-postgrescluster branch from 0db8ebe to dfb1800 Compare November 14, 2025 12:13
Copy link
Member

@batpad batpad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks really good to me, thanks @pantierra !

@pantierra pantierra merged commit d853034 into main Nov 14, 2025
4 checks passed
@pantierra pantierra deleted the hotfix/db-config-disable-postgrescluster branch November 14, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically set postgrescluster.enabled to false if postgresql.type != 'postgrescluster'

3 participants