Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/utils/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ const (
HorizontalPodAutoscalerKind = "HorizontalPodAutoscaler"
)

const (
ServiceDiscoveryGroup = "discovery.k8s.io"
ServiceDiscoveryEndpointSliceKind = "EndpointSlice"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not necessary, as this is too specific, i.e. we don't want to potentially add any possible group to this library. My opinion is to just hard-code group and kind in the ArgoCD repo.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


type ResourceInfoProvider interface {
IsNamespaced(gk schema.GroupKind) (bool, error)
}
Expand Down