Skip to content

Commit c92359b

Browse files
Fix ksm version (#977)
1 parent a223c19 commit c92359b

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

recipes/newrelic/infrastructure/kubernetes.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,14 @@ install:
528528
fi
529529
ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}"
530530
531-
if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
532-
ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0"
533-
else
534-
ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0"
535-
fi
531+
# leaving this commented out for the future
532+
# if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
533+
# ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0"
534+
# else
535+
# ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0"
536+
# fi
537+
538+
ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.10.0"
536539
537540
# Prometheus integrations
538541
@@ -616,11 +619,13 @@ install:
616619
BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\""
617620
BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\""
618621
619-
if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
620-
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\""
621-
else
622-
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\""
623-
fi
622+
# leaving this commented out for the future
623+
# if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
624+
# BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\""
625+
# else
626+
# BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\""
627+
# fi
628+
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.10.0\""
624629
625630
# Prometheus integrations
626631

0 commit comments

Comments
 (0)