From 5e8f624d7423994ace0a3fefe7aaf422c356d8e0 Mon Sep 17 00:00:00 2001
From: BB_AUTO_MR_TOKEN
 <project_2872_bot_c0b5e5ba7fbe7ce9d836e755c36b3987@noreply.repo1.dso.mil>
Date: Tue, 27 Aug 2024 21:00:29 +0000
Subject: [PATCH] anchore update to 2.9.0-bb.6

---
 chart/templates/anchore/values.yaml | 54 ++++++++++++++++++++++++++++-
 chart/values.yaml                   |  4 +--
 2 files changed, 55 insertions(+), 3 deletions(-)

diff --git a/chart/templates/anchore/values.yaml b/chart/templates/anchore/values.yaml
index 634a015e22..7579ce0132 100644
--- a/chart/templates/anchore/values.yaml
+++ b/chart/templates/anchore/values.yaml
@@ -9,6 +9,37 @@ domain: {{ $domainName }}
 
 openshift: {{ .Values.openshift }}
 
+{{- if .Values.kiali.enabled }}
+api:
+  labels:
+    app: {{ "{{ template \"enterprise.api.fullname\" . }}" | quote }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+analyzer:
+  labels:
+    app: {{ "{{ template \"enterprise.analyzer.fullname\" . }}" | quote }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+catalog:
+  labels:
+    app: {{ "{{ template \"enterprise.catalog.fullname\" . }}" | quote }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+simpleQueue:
+  labels:
+    app: {{ "{{ template \"enterprise.simpleQueue.fullname\" . }}" | quote }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+notifications:
+  labels:
+    {{- include "kialiAppLabel" . | nindent 4 }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+reports:
+  labels:
+    {{- include "kialiAppLabel" . | nindent 4 }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+policyEngine:
+  labels:
+    app: {{ "{{ template \"enterprise.policyEngine.fullname\" . }}" | quote }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+{{- end }}
+
 istio:
   enabled: {{ .Values.istio.enabled }}
   hardened:
@@ -77,18 +108,34 @@ postgresql:
   externalEndpoint: "{{ .Values.addons.anchore.database.host }}"
   postgresPort: {{ .Values.addons.anchore.database.port }}
   {{- end }}
-
+  {{- if .Values.kiali.enabled }}
+  primary:
+    podLabels:
+      {{- include "kialiAppLabel" . | nindent 6 }}
+      {{- include "kialiVersionLabel" . | nindent 6 }}
+  {{- end }}
 {{- if .Values.addons.anchore.adminPassword }}
 anchoreConfig:
   default_admin_password: {{ .Values.addons.anchore.adminPassword }}
 {{- end }}
 
 feeds:
+  {{- if .Values.kiali.enabled }}
+  labels:
+    {{- include "kialiAppLabel" . | nindent 4 }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+  {{- end }}
   istio:
     enabled: {{ .Values.istio.enabled }}
     injection: {{ ternary "enabled" "disabled" (and .Values.istio.enabled (eq (dig "istio" "injection" "enabled" .Values.addons.anchore) "enabled")) }}
 
   feeds-db:
+    {{- if .Values.kiali.enabled }}
+    primary:
+      podLabels:
+        {{- include "kialiAppLabel" . | nindent 8 }}
+        {{- include "kialiVersionLabel" . | nindent 8 }}
+    {{- end }}
     {{- if .Values.istio.enabled }}
     podAnnotations:
       {{ include "istioAnnotation" . }}
@@ -106,6 +153,11 @@ feeds:
 ui:
   imagePullPolicy: {{ .Values.imagePullPolicy }}
   imagePullSecretName: private-registry
+  {{- if .Values.kiali.enabled }}
+  labels:
+    {{- include "kialiAppLabel" . | nindent 4 }}
+    {{- include "kialiVersionLabel" . | nindent 4 }}
+  {{- end }}
 
 ui-redis:
   {{- if and .Values.addons.anchore.redis.host .Values.addons.anchore.redis.port .Values.addons.anchore.redis.password }}
diff --git a/chart/values.yaml b/chart/values.yaml
index a7e0d87b2d..89c4b49420 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -1531,11 +1531,11 @@ addons:
     git:
       repo: https://repo1.dso.mil/big-bang/product/packages/anchore-enterprise.git
       path: "./chart"
-      tag: "2.9.0-bb.5"
+      tag: "2.9.0-bb.6"
     helmRepo:
       repoName: "registry1"
       chartName: "anchore"
-      tag: "2.9.0-bb.5"
+      tag: "2.9.0-bb.6"
 
     # -- Flux reconciliation overrides specifically for the Anchore Package
     flux:
-- 
GitLab