Skip to content

Commit

Permalink
[helm] Fix deprecated k8s resources metrics (#4751)
Browse files Browse the repository at this point in the history
Signed-off-by: alexey.makhonin <alexey.makhonin@flant.com>
  • Loading branch information
alex123012 authored and yalosev committed May 24, 2023
1 parent 56f4adc commit fee31d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/013-helm/hooks/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const unsupportedVersionsYAML = `
"snapshot.storage.k8s.io/v1beta1": ["VolumeSnapshot"]
"1.25":
"batch/v1": ["CronJob"]
"batch/v1beta1": ["CronJob"]
"discovery.k8s.io/v1beta1": ["EndpointSlice"]
"events.k8s.io/v1beta1": ["Event"]
"autoscaling/v2beta1": ["HorizontalPodAutoscaler"]
Expand All @@ -79,9 +79,13 @@ const unsupportedVersionsYAML = `
"1.26":
"flowcontrol.apiserver.k8s.io/v1beta1": ["FlowSchema", "PriorityLevelConfiguration"]
"autoscaling/v2beta2": ["HorizontalPodAutoscaler"]
"1.27":
"storage.k8s.io/v1beta1": ["CSIStorageCapacity"]
"1.29":
"flowcontrol.apiserver.k8s.io/v1beta2": ["FlowSchema", "PriorityLevelConfiguration"]
`

const (
Expand Down

0 comments on commit fee31d9

Please sign in to comment.