Closed klaskosk closed 1 week ago
@kononovn Thanks for your review, I've updated the PR accordingly
@klaskosk Shouldn't this be in the ocm pkg?
@trewest I'm not too familiar with what counts as OCM or not, but if you think it would be better as part of OCM I can move it
@trewest I'm not too familiar with what counts as OCM or not, but if you think it would be better as part of OCM I can move it
@klaskosk yeah I typically try to group resources by group as much as I can
$ oc explain klusterletaddonconfigs.agent.open-cluster-management.io | head -n 3
GROUP: agent.open-cluster-management.io
KIND: KlusterletAddonConfig
VERSION: v1
$ oc explain managedcluster | head -n 3
GROUP: cluster.open-cluster-management.io
KIND: ManagedCluster
VERSION: v1
If it isn't too much trouble, let's move it into the ocm pkg
@trewest Ah, thanks for the explanation. I've updated the PR to move it to the ocm package
Adds the KlusterletAddonConfig to the existing ocm package along with unit tests for the new resource.