This commit is contained in:
@@ -110,6 +110,21 @@ func (in *APIAppStatus) DeepCopyInto(out *APIAppStatus) {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
if in.AppId != nil {
|
||||
in, out := &in.AppId, &out.AppId
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.ClientId != nil {
|
||||
in, out := &in.ClientId, &out.ClientId
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.KeyId != nil {
|
||||
in, out := &in.KeyId, &out.KeyId
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIAppStatus.
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/nix/store/qvb6qhrkmrg9nczj8wavivjlzdin5iv7-zitadel-resources-operator-0.0.0
|
||||
@@ -20,6 +20,7 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
zitadelv1alpha1 "gitea.corredorconect.com/software-engineering/zitadel-resources-operator/api/v1alpha1"
|
||||
@@ -213,9 +214,11 @@ func (wr *wrappedAPIAppReconciler) reconcileApp(ctx context.Context, ztdClient *
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
if !strings.Contains(err.Error(), "No Changes") {
|
||||
return fmt.Errorf("error updating APIApp in Zitadel: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
patch := ctrlClient.MergeFrom(wr.APIApp.DeepCopy())
|
||||
wr.APIApp.Status.AppId = appid
|
||||
wr.APIApp.Status.ClientId = clientid
|
||||
|
||||
@@ -19,6 +19,7 @@ package controller
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
zitadelv1alpha1 "gitea.corredorconect.com/software-engineering/zitadel-resources-operator/api/v1alpha1"
|
||||
@@ -239,9 +240,11 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
if !strings.Contains(err.Error(), "No Changes") {
|
||||
return fmt.Errorf("error updating OIDCApp in Zitadel: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
patch := ctrlClient.MergeFrom(wr.OIDCApp.DeepCopy())
|
||||
wr.OIDCApp.Status.AppId = appid
|
||||
wr.OIDCApp.Status.ClientId = clientid
|
||||
|
||||
Reference in New Issue
Block a user