diff --git a/recipes/newrelic/infrastructure/kubernetes.yml b/recipes/newrelic/infrastructure/kubernetes.yml index e1fbac0f..233fdc6f 100644 --- a/recipes/newrelic/infrastructure/kubernetes.yml +++ b/recipes/newrelic/infrastructure/kubernetes.yml @@ -80,6 +80,7 @@ install: NR_CLI_LOGGING="{{.NR_CLI_LOGGING}}" NR_CLI_LOGGING_LOW_DATA_MODE="{{.NR_CLI_LOGGING_LOW_DATA_MODE}}" NR_CLI_AGENT_OPERATOR="{{.NR_CLI_AGENT_OPERATOR}}" + NR_CLI_EAPM_AGENT="{{.NR_CLI_EAPM_AGENT}}" # Prometheus integrations @@ -277,6 +278,7 @@ install: NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS=${NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS:-""} NR_CLI_LOGGING_LINUX_MOUNT_PATH=${NR_CLI_LOGGING_LINUX_MOUNT_PATH:-""} NR_CLI_AGENT_OPERATOR=${NR_CLI_AGENT_OPERATOR:-false} + NR_CLI_EAPM_AGENT=${NR_CLI_EAPM_AGENT:-false} # Prometheus integrations @@ -579,6 +581,7 @@ install: fi ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}" ARGS="${ARGS} --set k8s-agents-operator.enabled=${NR_CLI_AGENT_OPERATOR}" + ARGS="${ARGS} --set newrelic-eapm-agent.enabled=${NR_CLI_EAPM_AGENT}" # if installing in GKE Autopilot, we need to turn off controlPlane and pixie and set kubelet scheme and port if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then @@ -695,6 +698,7 @@ install: BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\"" BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\"" BODY="${BODY},\"k8s-agents-operator.enabled\":\"${NR_CLI_AGENT_OPERATOR}\"" + BODY="${BODY},\"newrelic-eapm-agent.enabled\":\"${NR_CLI_EAPM_AGENT}\"" # if installing in GKE Autopilot, turn off controlPlane and set kubelet scheme and port if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then