Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Metadata for ProjectList in project.openshift.io/v1 #2064

Open
Mangaal opened this issue Oct 16, 2024 · 0 comments
Open

Missing Metadata for ProjectList in project.openshift.io/v1 #2064

Mangaal opened this issue Oct 16, 2024 · 0 comments

Comments

@Mangaal
Copy link

Mangaal commented Oct 16, 2024

Description:
It appears that the metadata field, specifically resourceVersion, is missing in the ProjectList object

Questions:
Is the absence of resourceVersion in the ProjectList metadata for project.openshift.io/v1 by design, or is this a bug?
If this is by design, could you please clarify the reasoning behind it?

This caused issues when handling watch events in the Argo CD gitops-engine. After printing out the API resource details during troubleshooting, I confirmed that the resourceVersion is missing for ProjectList.

Here is the relevant log output:

&{map[apiVersion:project.openshift.io/v1 kind:ProjectList metadata:map[]] 
&{map[apiVersion:apps/v1 kind:StatefulSetList metadata:map[resourceVersion:50313]]
&{map[apiVersion:operator.openshift.io/v1 kind:KubeControllerManagerList metadata:map[continue: resourceVersion:50313]]
&{map[apiVersion:operator.openshift.io/v1 kind:KubeControllerManagerList metadata:map[continue: resourceVersion:50313]]
&{map[apiVersion:argoproj.io/v1alpha1 kind:AppProjectList metadata:map[continue: resourceVersion:72951]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant