From cf6a03dd3973a6528768c64198570747a7c099dd Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Fri, 28 Mar 2025 15:52:19 +0100
Subject: [PATCH] Update jenkins OKA to include patch for helm repo

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 oka/apps/jenkins/templates/jenkins-ks.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/oka/apps/jenkins/templates/jenkins-ks.yaml b/oka/apps/jenkins/templates/jenkins-ks.yaml
index 616304b8..276db4b2 100644
--- a/oka/apps/jenkins/templates/jenkins-ks.yaml
+++ b/oka/apps/jenkins/templates/jenkins-ks.yaml
@@ -54,3 +54,12 @@ spec:
         - op: replace
           path: /spec/targetNamespace
           value: ${TARGET_NS}
+    - target:
+        kind: HelmRepository
+        version: v2beta1
+        name: bitnamicharts
+        namespace: jenkins
+      patch: |-
+        - op: replace
+          path: /metadata/namespace
+          value: ${TARGET_NS}
-- 
GitLab