From 3228f6bc5b52910a5e104e4cdb1e140f221e807d Mon Sep 17 00:00:00 2001 From: Ganga Mahesh Siddem Date: Wed, 2 Feb 2022 17:25:08 -0800 Subject: [PATCH] fix agentversion annotation issue in chart --- .../templates/omsagent-daemonset-windows.yaml | 2 +- .../azuremonitor-containers/templates/omsagent-daemonset.yaml | 2 +- .../azuremonitor-containers/templates/omsagent-deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/azuremonitor-containers/templates/omsagent-daemonset-windows.yaml b/charts/azuremonitor-containers/templates/omsagent-daemonset-windows.yaml index cc995b3c2..b581a324a 100644 --- a/charts/azuremonitor-containers/templates/omsagent-daemonset-windows.yaml +++ b/charts/azuremonitor-containers/templates/omsagent-daemonset-windows.yaml @@ -21,7 +21,7 @@ spec: labels: dsName: "omsagent-ds" annotations: - agentVersion: {{ .Values.omsagent.winAgentVersion }} + agentVersion: {{ .Values.omsagent.image.winAgentVersion }} dockerProviderVersion: {{ .Values.omsagent.image.dockerProviderVersion }} schema-versions: "v1" checksum/secret: {{ include (print $.Template.BasePath "/omsagent-secret.yaml") . | sha256sum }} diff --git a/charts/azuremonitor-containers/templates/omsagent-daemonset.yaml b/charts/azuremonitor-containers/templates/omsagent-daemonset.yaml index ba3ad7c0b..153395727 100644 --- a/charts/azuremonitor-containers/templates/omsagent-daemonset.yaml +++ b/charts/azuremonitor-containers/templates/omsagent-daemonset.yaml @@ -21,7 +21,7 @@ spec: labels: dsName: "omsagent-ds" annotations: - agentVersion: {{ .Values.omsagent.agentVersion }} + agentVersion: {{ .Values.omsagent.image.agentVersion }} dockerProviderVersion: {{ .Values.omsagent.image.dockerProviderVersion }} schema-versions: "v1" checksum/secret: {{ include (print $.Template.BasePath "/omsagent-secret.yaml") . | sha256sum }} diff --git a/charts/azuremonitor-containers/templates/omsagent-deployment.yaml b/charts/azuremonitor-containers/templates/omsagent-deployment.yaml index 26b0ccca0..a7ea8b097 100644 --- a/charts/azuremonitor-containers/templates/omsagent-deployment.yaml +++ b/charts/azuremonitor-containers/templates/omsagent-deployment.yaml @@ -22,7 +22,7 @@ spec: labels: rsName: "omsagent-rs" annotations: - agentVersion: {{ .Values.omsagent.agentVersion }} + agentVersion: {{ .Values.omsagent.image.agentVersion }} dockerProviderVersion: {{ .Values.omsagent.image.dockerProviderVersion }} schema-versions: "v1" checksum/secret: {{ include (print $.Template.BasePath "/omsagent-secret.yaml") . | sha256sum }}