add projectId
All checks were successful
Build and Publish / build-release (push) Successful in 2m41s

This commit is contained in:
2026-05-13 11:55:35 -05:00
parent 212401c7f6
commit 3cdb6985e9
2 changed files with 4 additions and 2 deletions

View File

@@ -184,11 +184,11 @@ func (wr *wrappedAPIAppReconciler) reconcileApp(ctx context.Context, ztdClient *
Name: wr.APIApp.ClientSecretName(),
Namespace: wr.APIApp.Namespace,
}
secretData := map[string][]byte{
"clientSecret": []byte(resp.GetApiConfiguration().ClientSecret),
"appId": []byte(resp.ApplicationId),
"clientId": []byte(resp.GetApiConfiguration().ClientId),
"projectId": []byte(projectRef.ID),
}
secret, err := wr.Builder.BuildSecret(builder.SecretOpts{Immutable: false, Key: key, Data: secretData}, wr.APIApp)
if err != nil {