This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 563638a  Helm chart: fix rolebindings when watching multiple 
namespaces (#444)
563638a is described below

commit 563638a51940de376479bd331de9994b5e3b9a8e
Author: Andrew Plummer <[email protected]>
AuthorDate: Tue Jun 7 16:29:22 2022 +0100

    Helm chart: fix rolebindings when watching multiple namespaces (#444)
    
    Signed-off-by: Andrew Plummer <[email protected]>
---
 helm/solr-operator/Chart.yaml                                  | 5 +++++
 helm/solr-operator/templates/leader_election_role_binding.yaml | 1 +
 2 files changed, 6 insertions(+)

diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml
index 64ff1d6..a5bee09 100644
--- a/helm/solr-operator/Chart.yaml
+++ b/helm/solr-operator/Chart.yaml
@@ -110,6 +110,11 @@ annotations:
           url: https://github.com/apache/solr-operator/issues/431
         - name: Github PR
           url: https://github.com/apache/solr-operator/pull/432
+    - kind: fixed
+      description: Fixed rolebindings when watching multiple namespaces
+      links:
+        - name: Github PR
+          url: https://github.com/apache/solr-operator/pull/444
   artifacthub.io/images: |
     - name: solr-operator
       image: apache/solr-operator:v0.6.0-prerelease
diff --git a/helm/solr-operator/templates/leader_election_role_binding.yaml 
b/helm/solr-operator/templates/leader_election_role_binding.yaml
index 81bf9fe..59c507e 100644
--- a/helm/solr-operator/templates/leader_election_role_binding.yaml
+++ b/helm/solr-operator/templates/leader_election_role_binding.yaml
@@ -15,6 +15,7 @@
 
 {{- if .Values.leaderElection.enable }}
 {{- range $namespace := (split "," (include "solr-operator.watchNamespaces" 
$)) }}
+---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: RoleBinding
 metadata:

Reply via email to