debug 2
All checks were successful
Build and Publish / build-release (push) Successful in 2m4s

This commit is contained in:
2026-05-04 11:26:05 -05:00
parent 482abb4041
commit 8ec42aacd2

View File

@@ -18,6 +18,7 @@ package v1alpha1
import ( import (
"context" "context"
"fmt"
"k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -96,6 +97,7 @@ func (d *Project) IsReady() bool {
} }
func (d *Project) ConnectionRef(ctx context.Context, refresolver *RefResolver) (*ConnectionRef, error) { func (d *Project) ConnectionRef(ctx context.Context, refresolver *RefResolver) (*ConnectionRef, error) {
fmt.Println(d.Spec.OrganizationRef)
// Check if using direct Zitadel ID reference // Check if using direct Zitadel ID reference
if d.Spec.OrganizationRef.ID != "" { if d.Spec.OrganizationRef.ID != "" {
return &d.Spec.OrganizationRef.ConnectionRef, nil return &d.Spec.OrganizationRef.ConnectionRef, nil