Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions api/konnect/v1alpha1/zz_generated_eventgatewaylistener_funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions api/konnect/v1alpha1/zz_generated_portal_funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions api/konnect/v1alpha1/zz_generated_portalemailconfig_funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions api/konnect/v1alpha1/zz_generated_portalpage_funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions api/konnect/v1alpha1/zz_generated_portalteam_funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/samples/konnect_eventgateway_backendcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ metadata:
name: cp-event-1-listener-1
namespace: default
spec:
gatewayRef:
type: namespacedRef
namespacedRef:
name: cp-event-1
apiSpec:
name: cp-event-1-backend-cluster-1
description: Test Event Gateway Backend Cluster
Expand Down Expand Up @@ -110,7 +114,3 @@ spec:
Q1FRQ3krL3BLCjR0cmdpMm5NY3pIUEZ2b3MycS9XelJEeDE5akRrSldPT0NSOUlyUGFNU3JrNFFw
blJVbWpXdWcrUWhrVDR5MjEKZTJDcUNnSUNRTVhXUmpQdwotLS0tLUVORCBQUklWQVRFIEtFWS0t
LS0tCg==
gatewayRef:
type: namespacedRef
namespacedRef:
name: cp-event-1
3 changes: 3 additions & 0 deletions config/samples/portal_team.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ spec:
apiSpec:
name: portal1
authenticationEnabled: Enabled
labels:
env: production
team: team1
---
kind: PortalTeam
apiVersion: konnect.konghq.com/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion controller/konnect/reconciler_apiauthref_parent.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

func getAPIAuthConfigurationRefFromParent[
ParentT parentT,
ParentTPtr parentTPtr[ParentT],
ParentTPtr parentWithAPIAuthTPtr[ParentT],
](
ctx context.Context,
cl client.Client,
Expand Down
2 changes: 1 addition & 1 deletion controller/konnect/reconciler_apiauthref_parent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func TestGetAPIAuthConfigurationRefFromParent_EventGateway(t *testing.T) {

func testGetAPIAuthConfigurationRefFromParent[
ParentT parentT,
ParentTPtr parentTPtr[ParentT],
ParentTPtr parentWithAPIAuthTPtr[ParentT],
](
t *testing.T,
childBuilder func(commonv1alpha1.ObjectRef) objectWithParentRef,
Expand Down
2 changes: 1 addition & 1 deletion controller/konnect/reconciler_generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (r *KonnectEntityReconciler[T, TEnt]) Reconcile(
return patchWithProgrammedStatusConditionBasedOnOtherConditions(ctx, r.Client, ent)
}

if stop, res, err := r.handleGeneratedTypeReferences(ctx, ent); stop {
if stop, res, err := r.handleGeneratedTypeReferences(ctx, ent); stop || err != nil {
return res, err
}

Expand Down
Loading
Loading