-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
116 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
507c174
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried turning on the golden object check on this test #2061
But it gives some awkward behavior: failed without any http or KRM object diff. One thing I found is that in the _http.log, there's one GET 404 request that uses the URL "https://logging.googleapis.com/v2/projects/${projectId}/metrics/linearlogmetric-${uniqueId}?alt=json&prettyPrint=false" which contains
${projectId}
but other URL uses the actual project valueexample-project-02
. Do you have any clues what may go wrong? @gemmahou @justinsb507c174
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I think I understand what's going on here: This line sets projectID to the annotation cnrm.cloud.google.com/project-id, which is the default project(mock-project) KCC runs. While in this test resource YAML, we specified another project(example-project-02) in projectRef.
I think project-id annotation and projectRef should be the same, if projectRef points to another project, the annotation should be set to that project as well. I need to take a look at the code related to project-id annotation and understand how it works. Maybe @justinsb has a better understanding here.
The other LLM tests passed because both project-id annotation and projectRef are the default mock-project.