From 5584bb8d34538c30616a30cd28bb911068fd4132 Mon Sep 17 00:00:00 2001 From: Brady Todhunter Date: Mon, 22 Jan 2024 14:22:30 -0800 Subject: [PATCH] add rbacAuth container to reports pod (#189) * add rbacAuth container to reports pod * add rbacAuth unit test for reports template --------- Signed-off-by: Brady Todhunter --- stable/enterprise/Chart.yaml | 2 +- stable/enterprise/templates/reports_deployment.yaml | 1 + stable/enterprise/tests/common_helpers_test.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/enterprise/Chart.yaml b/stable/enterprise/Chart.yaml index 5412f8dc..b0844765 100644 --- a/stable/enterprise/Chart.yaml +++ b/stable/enterprise/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: enterprise -version: "2.3.1" +version: "2.3.2" appVersion: "5.2.0" kubeVersion: 1.23.x - 1.28.x || 1.23.x-x - 1.28.x-x description: | diff --git a/stable/enterprise/templates/reports_deployment.yaml b/stable/enterprise/templates/reports_deployment.yaml index 625c78e9..6be394a2 100644 --- a/stable/enterprise/templates/reports_deployment.yaml +++ b/stable/enterprise/templates/reports_deployment.yaml @@ -65,6 +65,7 @@ spec: {{- with .Values.reports.resources }} resources: {{- toYaml . | nindent 12 }} {{- end }} + {{- include "enterprise.common.rbacAuthContainer" . | nindent 8 }} --- apiVersion: v1 diff --git a/stable/enterprise/tests/common_helpers_test.yaml b/stable/enterprise/tests/common_helpers_test.yaml index 351b67a8..709b140f 100644 --- a/stable/enterprise/tests/common_helpers_test.yaml +++ b/stable/enterprise/tests/common_helpers_test.yaml @@ -442,6 +442,7 @@ tests: templates: - api_deployment.yaml - notifications_deployment.yaml + - reports_deployment.yaml - rbacmanager_deployment.yaml documentIndex: 0 asserts: