We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0c464 commit 4c657aaCopy full SHA for 4c657aa
robusta_krr/core/integrations/kubernetes/__init__.py
@@ -207,7 +207,10 @@ def __build_scannable_object(
207
labels = item.metadata.labels
208
209
if item.metadata.annotations:
210
- annotations = item.metadata.annotations
+ if type(item.metadata.annotations) is ObjectLikeDict:
211
+ annotations = item.metadata.annotations.__dict__
212
+ else:
213
+ annotations = item.metadata.annotations
214
215
obj = K8sObjectData(
216
cluster=self.cluster,
0 commit comments