From 9c564577ff77e71d90b6af8b392ace9986c2fa79 Mon Sep 17 00:00:00 2001 From: Soham Dasgupta Date: Thu, 16 Nov 2023 20:57:07 -0800 Subject: [PATCH] Remove leftover test secrets --- .../templates/ama-metrics-daemonset.yaml | 10 ++-------- .../templates/ama-metrics-deployment.yaml | 5 +---- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml index b37144b74..b21f21cb5 100644 --- a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml +++ b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml @@ -138,10 +138,7 @@ spec: name: settings-vol-config readOnly: true - mountPath: /etc/prometheus/certs - name: ama-metrics-tls-secret-volume-crd - readOnly: true - - mountPath: /var/tmp - name: ama-metrics-tls-secret-volume-cm + name: ama-metrics-tls-secret-volume readOnly: true - mountPath: /etc/config/settings/prometheus name: prometheus-config-vol @@ -398,10 +395,7 @@ spec: name: prometheus-config-vol readOnly: true - mountPath: /etc/prometheus/certs - name: ama-metrics-tls-secret-volume-crd - readOnly: true - - mountPath: /var/tmp - name: ama-metrics-tls-secret-volume-cm + name: ama-metrics-tls-secret-volume readOnly: true - name: host-log-containers readOnly: true diff --git a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml index c8ceb9c60..53b409d77 100644 --- a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml +++ b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml @@ -168,10 +168,7 @@ spec: name: settings-vol-config readOnly: true - mountPath: /etc/prometheus/certs - name: ama-metrics-tls-secret-volume-crd - readOnly: true - - mountPath: /var/tmp - name: ama-metrics-tls-secret-volume-cm + name: ama-metrics-tls-secret-volume readOnly: true - mountPath: /etc/config/settings/prometheus name: prometheus-config-vol