Skip to content

Refactor SecretRef and ClusterReference to one common ResourceRef#38

Merged
ThoSap merged 14 commits intomainfrom
refactor-secret-ref-and-cluster-reference-to-resource-ref
Feb 26, 2026
Merged

Refactor SecretRef and ClusterReference to one common ResourceRef#38
ThoSap merged 14 commits intomainfrom
refactor-secret-ref-and-cluster-reference-to-resource-ref

Conversation

@ThoSap
Copy link
Contributor

@ThoSap ThoSap commented Feb 26, 2026

The classes SecretRef and ClusterReference did the same thing, so I decided to refactor them into a single ResourceRef.

Follow-up task of PR #37

@ThoSap ThoSap self-assigned this Feb 26, 2026
@ThoSap ThoSap changed the title refactor SecretRef and ClusterReference to one common ResourceRef type Refactor SecretRef and ClusterReference to one common ResourceRef Feb 26, 2026
…refactor-secret-ref-and-cluster-reference-to-resource-ref

# Conflicts:
#	operator/src/main/java/it/aboutbits/postgresql/core/ClusterReference.java
#	operator/src/main/java/it/aboutbits/postgresql/core/SecretRef.java
#	operator/src/main/java/it/aboutbits/postgresql/core/schema_customizer/HostCustomizer.java
#	operator/src/main/java/it/aboutbits/postgresql/crd/clusterconnection/ClusterConnectionSpec.java
@ThoSap ThoSap force-pushed the refactor-secret-ref-and-cluster-reference-to-resource-ref branch from 9d4b9bd to d95d806 Compare February 26, 2026 09:17
@ThoSap ThoSap force-pushed the refactor-secret-ref-and-cluster-reference-to-resource-ref branch from d95d806 to 4f0adcc Compare February 26, 2026 09:18
@ThoSap ThoSap requested a review from alexlanz February 26, 2026 09:45
…refactor-secret-ref-and-cluster-reference-to-resource-ref

# Conflicts:
#	operator/src/main/java/it/aboutbits/postgresql/core/ClusterReference.java
#	operator/src/main/java/it/aboutbits/postgresql/core/SecretRef.java
Base automatically changed from validate-k8s-resource-references-against-rfc1123 to main February 26, 2026 13:48
…-resource-ref

# Conflicts:
#	operator/src/main/java/it/aboutbits/postgresql/core/ClusterReference.java
#	operator/src/main/java/it/aboutbits/postgresql/core/SecretRef.java
#	operator/src/main/java/it/aboutbits/postgresql/crd/clusterconnection/ClusterConnectionSpec.java
@ThoSap ThoSap merged commit 1c65787 into main Feb 26, 2026
4 checks passed
@ThoSap ThoSap deleted the refactor-secret-ref-and-cluster-reference-to-resource-ref branch February 26, 2026 14:06
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.

2 participants