Skip to content

Commit

Permalink
charts-21 - conditionally use download-bns-data initContainer
Browse files Browse the repository at this point in the history
* charts-21 - conditionally use download-bns-data initContainer

* update version
  • Loading branch information
bgridley authored Jun 21, 2024
1 parent 23cd896 commit 3b328a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hirosystems/stacks-blockchain-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.apiWriter.terminationGracePeriodSeconds }}
{{- end }}
initContainers:
{{- if .Values.apiWriter.bns.enabled }}
- name: download-bns-data
image: alpine
imagePullPolicy: IfNotPresent
Expand Down Expand Up @@ -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" . }}
Expand Down

0 comments on commit 3b328a9

Please sign in to comment.