File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ func initIndexer() {
80
80
for _ , supportedResource := range GetResources () {
81
81
pluralGvr , singularGvr := meta .UnsafeGuessKindToResource (gvk )
82
82
if pluralGvr .Resource == strings .ToLower (string (supportedResource .Name )) &&
83
- (supportedResource .Version == "" || supportedResource .Version == Version ( pluralGvr .Version ). GetNumericVersion () ) {
83
+ (supportedResource .Version == "" || supportedResource .Version == pluralGvr .Version ) {
84
84
if ! indexedMap [supportedResource ] {
85
85
gvkGroup := strings .SplitN (gvk .Group , "." , 2 )[0 ]
86
86
if gvkGroup == "" {
Original file line number Diff line number Diff line change 24
24
25
25
// extensions
26
26
Ingress = Resource {"Ingresses" , "" }
27
- ReplicaSet = Resource {"ReplicaSets" , "" }
27
+ ReplicaSet = Resource {"ReplicaSets" , "v1beta1 " }
28
28
Deployment = Resource {"Deployments" , "" }
29
29
DaemonSet = Resource {"DaemonSets" , "" }
30
30
PodSecurityPolicy = Resource {"PodSecurityPolicies" , "" }
51
51
// network
52
52
53
53
// autoscaling
54
- HorizontalPodAutoscalerV1 = Resource {"HorizontalPodAutoscalers" , "1 " }
55
- HorizontalPodAutoscalerV2 = Resource {"HorizontalPodAutoscalers" , "2 " }
54
+ HorizontalPodAutoscalerV1 = Resource {"HorizontalPodAutoscalers" , "v1 " }
55
+ HorizontalPodAutoscalerV2 = Resource {"HorizontalPodAutoscalers" , "v2beta1 " }
56
56
57
57
// authentication
58
58
You can’t perform that action at this time.
0 commit comments