From 5fd7d49997c1246eb6f026001889ac2633dc893f Mon Sep 17 00:00:00 2001 From: PaoloGallina <43335750+paologallinaharbur@users.noreply.github.com> Date: Wed, 9 Dec 2020 11:52:53 +0100 Subject: [PATCH] feat(baseImage): updating base image (#57) --- CHANGELOG.md | 9 +++++++++ Dockerfile | 2 +- deploy/newrelic-infra-unprivileged.yaml | 2 +- deploy/newrelic-infra.yaml | 2 +- src/kubernetes.go | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d3c0acc1..ad4594e30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## 2.0.0 + +### Changed + +- The base image of `newrelic/infrastructure-k8s` has been updated to `2.0.0`. + That base image is bundling the integration `nri-nginx` `3.0.2` that contains a breaking change. + More info regarding all the integration upgraded can be found in the [release notes of the base image](https://github.com/newrelic/infrastructure-bundle/releases/tag/2.0.0). + + ## 1.26.9 ### Changed diff --git a/Dockerfile b/Dockerfile index 2c8a76365..f126d1808 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG IMAGE_NAME=newrelic/infrastructure-bundle -ARG IMAGE_TAG=1.6.0 +ARG IMAGE_TAG=2.0.0 ARG MODE=normal FROM $IMAGE_NAME:$IMAGE_TAG AS base diff --git a/deploy/newrelic-infra-unprivileged.yaml b/deploy/newrelic-infra-unprivileged.yaml index 6495454ba..b3ab56b11 100644 --- a/deploy/newrelic-infra-unprivileged.yaml +++ b/deploy/newrelic-infra-unprivileged.yaml @@ -58,7 +58,7 @@ spec: serviceAccountName: newrelic containers: - name: newrelic-infra - image: newrelic/infrastructure-k8s:1.26.9-unprivileged + image: newrelic/infrastructure-k8s:2.0.0-unprivileged resources: limits: memory: 150M diff --git a/deploy/newrelic-infra.yaml b/deploy/newrelic-infra.yaml index 4e39eee68..ccd8d8150 100644 --- a/deploy/newrelic-infra.yaml +++ b/deploy/newrelic-infra.yaml @@ -60,7 +60,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: newrelic-infra - image: newrelic/infrastructure-k8s:1.26.9 + image: newrelic/infrastructure-k8s:2.0.0 securityContext: privileged: true resources: diff --git a/src/kubernetes.go b/src/kubernetes.go index 4240891fd..5e2fa2382 100644 --- a/src/kubernetes.go +++ b/src/kubernetes.go @@ -70,7 +70,7 @@ const ( defaultDiscoveryCacheTTL = time.Hour integrationName = "com.newrelic.kubernetes" - integrationVersion = "1.26.9" + integrationVersion = "2.0.0" nodeNameEnvVar = "NRK8S_NODE_NAME" )