flashpixx opened a new issue, #560:
URL: https://github.com/apache/pulsar-helm-chart/issues/560

   **Describe the bug**
   On the services TPL files withe CA cert secretName is defined with 
   
   ```
   secretName: "{{ .Release.Name }}-{{ .Values.tls.ca_suffix }}"
   ```
   
   
([see](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/_bookkeeper.tpl#L78)),
 in my deployment the `Release.Name` is not used for the CA Secret, but the 
services expectd the name everytime, so in this case, the container does not 
find the ca secret.
   
   **To Reproduce**
   
   1. create a ca secret e.g. "foobar" (without release name prefix)
   2.  deploy the helm chart and set the values with 
        ```
       nameOverride: pulsar
       fullnameOverride: pulsar
       broker:
         replicaCount: 1
       zookeeper:
         replicaCount: 1
       bookkeeper:
         replicaCount: 1
       proxy:
         replicaCount: 1
       tls:
         enabled: true
         ca_suffix: foobar
         broker:
           enabled: true
         zookeeper:
           enabled: true
         bookkeeper:
           enabled: true
         proxy:
           enabled: true
        ```
   3. on the e.g. `pulsar-zookeeper-0` pod you can see the error message 
       ```
       MountVolume.SetUp failed for volume "ca" : secret "release-name-foobar" 
not found
       ```
       
   **Expected behavior**
   
   three possibility solutions:
   
   1. behaviour as it is
   2. I can define free name of the ca without any release prefix
   
   This bevaiour exists as well on all Pulsar components, Zookeeper, Bookie 
etc, so it should be consist on all services.
   
   Thanks a lot
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to