Skip to content

Commit

Permalink
Fix ksm version (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan authored Sep 29, 2023
1 parent a223c19 commit c92359b
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions recipes/newrelic/infrastructure/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c92359b

Please sign in to comment.