Skip to content

Commit 867308f

Browse files
authored
removing apps and appsets from describe
1 parent ab277d2 commit 867308f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/utils/fetch_and_save.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ func FetchAndSaveData(namespace string, k8sResources []string, dirPath, version
3434
return fmt.Errorf("error writing resource list: %v", err)
3535
}
3636

37+
if k8sType == "applications.argoproj.io" || k8sType == "applicationsets.argoproj.io" {
38+
continue
39+
}
40+
41+
3742
if k8sType == "persistentvolumeclaims" || k8sType == "persistentvolumes" {
3843
items, ok := k8sResources.JSON["items"].([]interface{})
3944
if ok && len(items) != 0 {

0 commit comments

Comments
 (0)