diff --git a/hirosystems/stacks-blockchain-api/Chart.yaml b/hirosystems/stacks-blockchain-api/Chart.yaml index 7838131..faf1a36 100644 --- a/hirosystems/stacks-blockchain-api/Chart.yaml +++ b/hirosystems/stacks-blockchain-api/Chart.yaml @@ -41,4 +41,4 @@ sources: - https://github.com/hirosystems/stacks-blockchain-api - https://docs.hiro.so/api - https://docs.hiro.so/get-started/stacks-blockchain-api -version: 5.0.6 +version: 5.0.7 diff --git a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml index 5bd13a8..41f006d 100644 --- a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml +++ b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml @@ -71,6 +71,7 @@ spec: terminationGracePeriodSeconds: {{ .Values.apiWriter.terminationGracePeriodSeconds }} {{- end }} initContainers: + {{- if .Values.apiWriter.bns.enabled }} - name: download-bns-data image: alpine imagePullPolicy: IfNotPresent @@ -101,6 +102,7 @@ spec: {{- if .Values.apiWriter.resources }} resources: {{- toYaml .Values.apiWriter.resources | nindent 12 }} {{- end }} + {{- end }} {{- if .Values.apiWriter.config.exportEvents.enabled }} - name: export-events image: {{ template "stacksBlockchainApi.image" . }}