diff --git a/hirosystems/stacks-blockchain-api/Chart.lock b/hirosystems/stacks-blockchain-api/Chart.lock index e824ff8..a9e6f97 100644 --- a/hirosystems/stacks-blockchain-api/Chart.lock +++ b/hirosystems/stacks-blockchain-api/Chart.lock @@ -7,6 +7,6 @@ dependencies: version: 12.12.10 - name: common repository: https://charts.bitnami.com/bitnami - version: 2.16.1 -digest: sha256:31141fd89a57a180fabae2140abcd5ac63167291632387ac96e4c15acb6233cc -generated: "2024-02-20T11:08:49.920299-05:00" + version: 2.18.0 +digest: sha256:34f64f2fd21ab0b2e0b30167f9158585b8a731c9f4bd339f38985da43edf06ee +generated: "2024-03-07T12:48:29.306263-05:00" diff --git a/hirosystems/stacks-blockchain-api/Chart.yaml b/hirosystems/stacks-blockchain-api/Chart.yaml index 901dc50..7838131 100644 --- a/hirosystems/stacks-blockchain-api/Chart.yaml +++ b/hirosystems/stacks-blockchain-api/Chart.yaml @@ -1,7 +1,7 @@ annotations: category: ApplicationServer apiVersion: v2 -appVersion: 7.3.6 +appVersion: 7.8.2 dependencies: - condition: stacks-blockchain.enabled name: stacks-blockchain @@ -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.5 +version: 5.0.6 diff --git a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml index f35a80e..5bd13a8 100644 --- a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml +++ b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml @@ -395,8 +395,10 @@ spec: {{- end }} - name: NODE_ENV value: production + {{- if .Values.apiWriter.config.bns.enabled }} - name: BNS_IMPORT_DIR value: {{ .Values.apiWriter.persistence.bns.mountPath }} + {{- end }} {{- if .Values.apiWriter.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.apiWriter.extraEnvVars "context" $) | nindent 12 }} {{- end }} diff --git a/hirosystems/stacks-blockchain-api/values.yaml b/hirosystems/stacks-blockchain-api/values.yaml index 75e4203..6a274b1 100644 --- a/hirosystems/stacks-blockchain-api/values.yaml +++ b/hirosystems/stacks-blockchain-api/values.yaml @@ -75,6 +75,10 @@ apiWriter: # Replay events from the API's TSV file into the Postgres database # CAUTION: THIS WILL WIPE YOUR CURRENT DATABASE + ## @param bns Enable or disable BNS + ## + bns: + enabled: true # Note: exportEvents.compressEventsData should be set to 'true' when you intend to replayEvents immediately after exportEvents: enabled: false @@ -114,7 +118,7 @@ apiWriter: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.3.6 + tag: 7.8.2 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -610,7 +614,7 @@ apiReader: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.3.6 + tag: 7.8.2 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -968,7 +972,7 @@ apiRosettaReader: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.3.6 + tag: 7.8.2 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images