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/01/17 16:11:52 UTC

(pulsar-helm-chart) branch master updated: Fix indent for Tiered storage offload environment

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 e49bd32  Fix indent for Tiered storage offload environment
e49bd32 is described below

commit e49bd323782fdf8dd049fe6c0dee9f656943f72a
Author: Lari Hotari <lh...@apache.org>
AuthorDate: Wed Jan 17 17:59:33 2024 +0200

    Fix indent for Tiered storage offload environment
---
 charts/pulsar/templates/broker-statefulset.yaml | 50 ++++++++++++-------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/charts/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml
index 45c4ed2..18f70a6 100644
--- a/charts/pulsar/templates/broker-statefulset.yaml
+++ b/charts/pulsar/templates/broker-statefulset.yaml
@@ -266,31 +266,31 @@ spec:
         securityContext:
           readOnlyRootFilesystem: false
       {{- end }}
-      env:
-        {{- if and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "aws-s3") }}
-        - name: AWS_ACCESS_KEY_ID
-          valueFrom:
-            secretKeyRef:
-              name: {{ .Values.broker.storageOffload.secret }}
-              key: AWS_ACCESS_KEY_ID
-        - name: AWS_SECRET_ACCESS_KEY
-          valueFrom:
-            secretKeyRef:
-              name: {{ .Values.broker.storageOffload.secret }}
-              key: AWS_SECRET_ACCESS_KEY
-        {{- end }}
-        {{- if and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "azureblob") }}
-        - name: AZURE_STORAGE_ACCOUNT
-          valueFrom:
-            secretKeyRef:
-              name: {{ .Values.broker.storageOffload.secret }}
-              key: AZURE_STORAGE_ACCOUNT
-        - name: AZURE_STORAGE_ACCESS_KEY
-          valueFrom:
-            secretKeyRef:
-              name: {{ .Values.broker.storageOffload.secret }}
-              key: AZURE_STORAGE_ACCESS_KEY
-        {{- end }}
+        env:
+          {{- if and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "aws-s3") }}
+          - name: AWS_ACCESS_KEY_ID
+            valueFrom:
+              secretKeyRef:
+                name: {{ .Values.broker.storageOffload.secret }}
+                key: AWS_ACCESS_KEY_ID
+          - name: AWS_SECRET_ACCESS_KEY
+            valueFrom:
+              secretKeyRef:
+                name: {{ .Values.broker.storageOffload.secret }}
+                key: AWS_SECRET_ACCESS_KEY
+          {{- end }}
+          {{- if and .Values.broker.storageOffload (eq .Values.broker.storageOffload.driver "azureblob") }}
+          - name: AZURE_STORAGE_ACCOUNT
+            valueFrom:
+              secretKeyRef:
+                name: {{ .Values.broker.storageOffload.secret }}
+                key: AZURE_STORAGE_ACCOUNT
+          - name: AZURE_STORAGE_ACCESS_KEY
+            valueFrom:
+              secretKeyRef:
+                name: {{ .Values.broker.storageOffload.secret }}
+                key: AZURE_STORAGE_ACCESS_KEY
+          {{- end }}
       volumes:
       {{- if .Values.broker.extraVolumes }}
 {{ toYaml .Values.broker.extraVolumes | indent 6 }}