You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/03/03 08:38:36 UTC

(pulsar-helm-chart) branch master updated: Update broker statefulset to check if AWS keys secret name is defined before adding to environment. (#466)

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

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new b4241f9  Update broker statefulset to check if AWS keys secret name is defined before adding to environment. (#466)
b4241f9 is described below

commit b4241f984bb051a94fff1343fcacde7543bd32be
Author: Nathan Clayton <na...@users.noreply.github.com>
AuthorDate: Sun Mar 3 00:38:31 2024 -0800

    Update broker statefulset to check if AWS keys secret name is defined before adding to environment. (#466)
---
 charts/pulsar/templates/broker-statefulset.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/charts/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml
index 9934fd6..c6e069e 100644
--- a/charts/pulsar/templates/broker-statefulset.yaml
+++ b/charts/pulsar/templates/broker-statefulset.yaml
@@ -267,7 +267,7 @@ spec:
           readOnlyRootFilesystem: false
       {{- end }}
         env:
-          {{- if and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "aws-s3") }}
+          {{- if and (and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "aws-s3")) .Values.broker.storageOffload.secret }}
           - name: AWS_ACCESS_KEY_ID
             valueFrom:
               secretKeyRef: