diff --git a/hirosystems/stacks-blockchain-api/Chart.yaml b/hirosystems/stacks-blockchain-api/Chart.yaml index 4eae003..68a6473 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.13.2 +appVersion: 8.0.0 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.13 +version: 5.1.0 diff --git a/hirosystems/stacks-blockchain-api/templates/api-reader/deployment.yaml b/hirosystems/stacks-blockchain-api/templates/api-reader/deployment.yaml index 05e3065..033bf70 100644 --- a/hirosystems/stacks-blockchain-api/templates/api-reader/deployment.yaml +++ b/hirosystems/stacks-blockchain-api/templates/api-reader/deployment.yaml @@ -101,8 +101,10 @@ spec: - name: STACKS_CHAIN_ID {{- if eq .Values.blockchainNetwork "mainnet" }} value: "0x00000001" - {{- else }} + {{- else if eq .Values.blockchainNetwork "testnet" }} value: "0x80000000" + {{- else }} + value: {{ default "0x80000000" .Values.blockchainNetwork | quote }} {{- end }} - name: STACKS_CORE_EVENT_PORT value: {{ default "3700" .Values.apiReader.containerPorts.socket | quote }} diff --git a/hirosystems/stacks-blockchain-api/templates/api-rosetta-reader/deployment.yaml b/hirosystems/stacks-blockchain-api/templates/api-rosetta-reader/deployment.yaml index b40a598..c786692 100644 --- a/hirosystems/stacks-blockchain-api/templates/api-rosetta-reader/deployment.yaml +++ b/hirosystems/stacks-blockchain-api/templates/api-rosetta-reader/deployment.yaml @@ -101,8 +101,10 @@ spec: - name: STACKS_CHAIN_ID {{- if eq .Values.blockchainNetwork "mainnet" }} value: "0x00000001" - {{- else }} + {{- else if eq .Values.blockchainNetwork "testnet" }} value: "0x80000000" + {{- else }} + value: {{ default "0x80000000" .Values.blockchainNetwork | quote }} {{- end }} - name: STACKS_CORE_EVENT_PORT value: {{ default "3700" .Values.apiRosettaReader.containerPorts.socket | quote }} diff --git a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml index 35c0fd2..f542b3f 100644 --- a/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml +++ b/hirosystems/stacks-blockchain-api/templates/api-writer/statefulset.yaml @@ -245,8 +245,10 @@ spec: - name: STACKS_CHAIN_ID {{- if eq .Values.blockchainNetwork "mainnet" }} value: "0x00000001" - {{- else }} + {{- else if eq .Values.blockchainNetwork "testnet" }} value: "0x80000000" + {{- else }} + value: {{ default "0x80000000" .Values.blockchainNetwork | quote }} {{- end }} - name: STACKS_EVENTS_DIR value: {{ .Values.apiWriter.persistence.data.mountPath }}/events diff --git a/hirosystems/stacks-blockchain-api/values.yaml b/hirosystems/stacks-blockchain-api/values.yaml index 833aa36..d28355b 100644 --- a/hirosystems/stacks-blockchain-api/values.yaml +++ b/hirosystems/stacks-blockchain-api/values.yaml @@ -118,7 +118,7 @@ apiWriter: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.13.2 + tag: 8.0.0 ## 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 @@ -614,7 +614,7 @@ apiReader: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.13.2 + tag: 8.0.0 ## 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 @@ -973,7 +973,7 @@ apiRosettaReader: image: registry: docker.io repository: hirosystems/stacks-blockchain-api - tag: 7.13.2 + tag: 8.0.0 ## 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