This commit is contained in:
@@ -18,6 +18,7 @@ package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"k8s.io/apimachinery/pkg/api/meta"
|
||||
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) {
|
||||
fmt.Println(d.Spec.OrganizationRef)
|
||||
// Check if using direct Zitadel ID reference
|
||||
if d.Spec.OrganizationRef.ID != "" {
|
||||
return &d.Spec.OrganizationRef.ConnectionRef, nil
|
||||
|
||||
Reference in New Issue
Block a user