From 6b9cb8c1f9684d35859151115973d66cf01c81f1 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Fri, 29 May 2026 01:04:47 +0200 Subject: [PATCH] feat: have CVO inject the centralized TLS configuration into the operator's config Also, have the operator restart whenever the config changes. --- manifests/03_cm.yaml | 1 + manifests/05_deploy-ibm-cloud-managed.yaml | 1 + manifests/05_deploy.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/manifests/03_cm.yaml b/manifests/03_cm.yaml index 234f42f87..34a19b956 100644 --- a/manifests/03_cm.yaml +++ b/manifests/03_cm.yaml @@ -8,6 +8,7 @@ metadata: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" include.release.openshift.io/single-node-developer: "true" + config.openshift.io/inject-tls: "true" data: operator-config.yaml: | apiVersion: operator.openshift.io/v1alpha1 diff --git a/manifests/05_deploy-ibm-cloud-managed.yaml b/manifests/05_deploy-ibm-cloud-managed.yaml index 920a201d0..3feffaf55 100644 --- a/manifests/05_deploy-ibm-cloud-managed.yaml +++ b/manifests/05_deploy-ibm-cloud-managed.yaml @@ -26,6 +26,7 @@ spec: containers: - args: - --config=/var/run/configmaps/config/operator-config.yaml + - --terminate-on-files=/var/run/configmaps/config/operator-config.yaml - -v=2 command: - service-ca-operator diff --git a/manifests/05_deploy.yaml b/manifests/05_deploy.yaml index 41bb24807..8d00e863f 100644 --- a/manifests/05_deploy.yaml +++ b/manifests/05_deploy.yaml @@ -41,6 +41,7 @@ spec: command: ["service-ca-operator", "operator"] args: - "--config=/var/run/configmaps/config/operator-config.yaml" + - "--terminate-on-files=/var/run/configmaps/config/operator-config.yaml" - "-v=2" resources: requests: