diff --git a/recipes/newrelic/infrastructure/kubernetes.yml b/recipes/newrelic/infrastructure/kubernetes.yml index a78236f0a..d134ab8b2 100644 --- a/recipes/newrelic/infrastructure/kubernetes.yml +++ b/recipes/newrelic/infrastructure/kubernetes.yml @@ -528,11 +528,14 @@ install: fi ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}" - if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then - ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0" - else - ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0" - fi + # leaving this commented out for the future + # if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then + # ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0" + # else + # ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0" + # fi + + ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.10.0" # Prometheus integrations @@ -616,11 +619,13 @@ install: BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\"" BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\"" - if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then - BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\"" - else - BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\"" - fi + # leaving this commented out for the future + # if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then + # BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\"" + # else + # BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\"" + # fi + BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.10.0\"" # Prometheus integrations