Skip to content

Commit

Permalink
[release-v1.11] Apply cm copy over 1.11 (#911)
Browse files Browse the repository at this point in the history
* Add patch to copy openshift-trusted-cabundle CM to namespaced broker namespace (#910)

* Apply patch

Signed-off-by: Matthias Wessendorf <[email protected]>

---------

Signed-off-by: Matthias Wessendorf <[email protected]>
Co-authored-by: Christoph Stäbler <[email protected]>
  • Loading branch information
matzew and creydr authored Dec 8, 2023
1 parent 8feed0c commit d68e9bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions control-plane/pkg/reconciler/broker/namespaced_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ func (r *NamespacedReconciler) configMapsFromSystemNamespace(broker *eventing.Br
"config-kafka-broker-data-plane",
"config-tracing",
"kafka-config-logging",
"config-openshift-trusted-cabundle",
}
resources := make([]unstructured.Unstructured, 0, len(configMaps))
for _, name := range configMaps {
Expand Down
12 changes: 12 additions & 0 deletions openshift/patches/namespaced_broker_copy_trustedca_cm.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/control-plane/pkg/reconciler/broker/namespaced_broker.go b/control-plane/pkg/reconciler/broker/namespaced_broker.go
index 5e71fa6d0..4db94dede 100644
--- a/control-plane/pkg/reconciler/broker/namespaced_broker.go
+++ b/control-plane/pkg/reconciler/broker/namespaced_broker.go
@@ -386,6 +386,7 @@ func (r *NamespacedReconciler) configMapsFromSystemNamespace(broker *eventing.Br
"config-kafka-broker-data-plane",
"config-tracing",
"kafka-config-logging",
+ "config-openshift-trusted-cabundle",
}
resources := make([]unstructured.Unstructured, 0, len(configMaps))
for _, name := range configMaps {

0 comments on commit d68e9bf

Please sign in to comment.