From 692ef3e28dc606d878b7c5584f63e900a6438078 Mon Sep 17 00:00:00 2001 From: Jatin Suri Date: Tue, 6 Aug 2024 14:00:59 -0400 Subject: [PATCH] Switched on leader election and changed lease name --- .../manifests/loki-operator-manager-config_v1_configmap.yaml | 4 ++-- .../manifests/loki-operator-manager-config_v1_configmap.yaml | 4 ++-- .../manifests/loki-operator-manager-config_v1_configmap.yaml | 4 ++-- .../community-openshift/controller_manager_config.yaml | 4 ++-- .../config/overlays/community/controller_manager_config.yaml | 4 ++-- .../overlays/development/controller_manager_config.yaml | 4 ++-- .../config/overlays/openshift/controller_manager_config.yaml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/operator/bundle/community-openshift/manifests/loki-operator-manager-config_v1_configmap.yaml b/operator/bundle/community-openshift/manifests/loki-operator-manager-config_v1_configmap.yaml index 4cc96b7926fcb..868ea5ffb8a59 100644 --- a/operator/bundle/community-openshift/manifests/loki-operator-manager-config_v1_configmap.yaml +++ b/operator/bundle/community-openshift/manifests/loki-operator-manager-config_v1_configmap.yaml @@ -10,8 +10,8 @@ data: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: # # Monitoring feature gates diff --git a/operator/bundle/community/manifests/loki-operator-manager-config_v1_configmap.yaml b/operator/bundle/community/manifests/loki-operator-manager-config_v1_configmap.yaml index 56c15b0fca2ce..98efac218bb48 100644 --- a/operator/bundle/community/manifests/loki-operator-manager-config_v1_configmap.yaml +++ b/operator/bundle/community/manifests/loki-operator-manager-config_v1_configmap.yaml @@ -10,8 +10,8 @@ data: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: lokiStackGateway: true restrictedPodSecurityStandard: false diff --git a/operator/bundle/openshift/manifests/loki-operator-manager-config_v1_configmap.yaml b/operator/bundle/openshift/manifests/loki-operator-manager-config_v1_configmap.yaml index e7f600bead807..a84fff9059e81 100644 --- a/operator/bundle/openshift/manifests/loki-operator-manager-config_v1_configmap.yaml +++ b/operator/bundle/openshift/manifests/loki-operator-manager-config_v1_configmap.yaml @@ -12,8 +12,8 @@ data: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: # # Monitoring feature gates diff --git a/operator/config/overlays/community-openshift/controller_manager_config.yaml b/operator/config/overlays/community-openshift/controller_manager_config.yaml index 928e5e481c511..54513afdf28ee 100644 --- a/operator/config/overlays/community-openshift/controller_manager_config.yaml +++ b/operator/config/overlays/community-openshift/controller_manager_config.yaml @@ -7,8 +7,8 @@ metrics: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: # # Monitoring feature gates diff --git a/operator/config/overlays/community/controller_manager_config.yaml b/operator/config/overlays/community/controller_manager_config.yaml index b0ae08e150377..4131e484288aa 100644 --- a/operator/config/overlays/community/controller_manager_config.yaml +++ b/operator/config/overlays/community/controller_manager_config.yaml @@ -7,8 +7,8 @@ metrics: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: lokiStackGateway: true restrictedPodSecurityStandard: false diff --git a/operator/config/overlays/development/controller_manager_config.yaml b/operator/config/overlays/development/controller_manager_config.yaml index 23e2af0f3ba76..326a1c423b057 100644 --- a/operator/config/overlays/development/controller_manager_config.yaml +++ b/operator/config/overlays/development/controller_manager_config.yaml @@ -7,8 +7,8 @@ metrics: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: # # Encryption feature gates diff --git a/operator/config/overlays/openshift/controller_manager_config.yaml b/operator/config/overlays/openshift/controller_manager_config.yaml index c4a459aab6d6d..670d30fc9de71 100644 --- a/operator/config/overlays/openshift/controller_manager_config.yaml +++ b/operator/config/overlays/openshift/controller_manager_config.yaml @@ -9,8 +9,8 @@ metrics: webhook: port: 9443 leaderElection: - leaderElect: false - resourceName: e3716011.grafana.com + leaderElect: true + resourceName: loki-operator.grafana.com featureGates: # # Monitoring feature gates