Skip to content

Commit

Permalink
[stacks-blockchain-api]: fix bns template rendering and default value…
Browse files Browse the repository at this point in the history
…s indentation
  • Loading branch information
CharlieC3 committed Jul 15, 2024
1 parent 724ea93 commit 9bdccb1
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 84 deletions.
6 changes: 3 additions & 3 deletions hirosystems/stacks-blockchain-api/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: stacks-blockchain
repository: https://charts.hiro.so/hirosystems
version: 2.1.0
version: 2.1.1
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.12.10
- name: common
repository: https://charts.bitnami.com/bitnami
version: 2.20.4
digest: sha256:236d1fd34c91bdd4fba7e683e141949341fb0867ca79d9e29de4859102990872
generated: "2024-07-15T13:14:14.287048-04:00"
digest: sha256:4d52477f26e89a82aac9fd61cdcc8b5c267518799fce9479cc7e1fd8843f06d6
generated: "2024-07-15T15:40:25.385609-04:00"
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.8
version: 5.0.9
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.apiWriter.terminationGracePeriodSeconds }}
{{- end }}
initContainers:
{{- if .Values.apiWriter.bns.enabled }}
{{- if .Values.apiWriter.config.bns.enabled }}
- name: download-bns-data
image: alpine
imagePullPolicy: IfNotPresent
Expand Down
157 changes: 78 additions & 79 deletions hirosystems/stacks-blockchain-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,87 +367,86 @@ apiWriter:
## - e2e-az2
##
values: []

## @param apiWriter.affinity Affinity for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## NOTE: `apiWriter.podAffinityPreset`, `apiWriter.podAntiAffinityPreset`, and `apiWriter.nodeAffinityPreset` will be ignored when it's set
##
affinity: {}
## @param apiWriter.nodeSelector Node labels for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## @param apiWriter.tolerations Tolerations for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## @param apiWriter.updateStrategy.type Stacks Blockchain API Writer statefulset strategy type
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
## @param apiWriter.affinity Affinity for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## NOTE: `apiWriter.podAffinityPreset`, `apiWriter.podAntiAffinityPreset`, and `apiWriter.nodeAffinityPreset` will be ignored when it's set
##
affinity: {}
## @param apiWriter.nodeSelector Node labels for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## @param apiWriter.tolerations Tolerations for Stacks Blockchain API Writer pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## @param apiWriter.updateStrategy.type Stacks Blockchain API Writer statefulset strategy type
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
##
updateStrategy:
## StrategyType
## Can be set to RollingUpdate or OnDelete
##
updateStrategy:
## StrategyType
## Can be set to RollingUpdate or OnDelete
##
type: RollingUpdate
type: RollingUpdate

## @param apiWriter.priorityClassName Stacks Blockchain API Writer pods' priorityClassName
##
priorityClassName: ""
## @param apiWriter.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## @param apiWriter.schedulerName Name of the k8s scheduler (other than default) for Stacks Blockchain API Writer pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param apiWriter.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
##
terminationGracePeriodSeconds: ""
## @param apiWriter.lifecycleHooks for the Stacks Blockchain API Writer container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param apiWriter.extraEnvVars Array with extra environment variables to add to Stacks Blockchain API Writer nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## @param apiWriter.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Stacks Blockchain API Writer nodes
##
extraEnvVarsCM: ""
## @param apiWriter.extraEnvVarsSecret Name of existing Secret containing extra env vars for Stacks Blockchain API Writer nodes
##
extraEnvVarsSecret: ""
## @param apiWriter.extraVolumes Optionally specify extra list of additional volumes for the Stacks Blockchain API Writer pod(s)
##
extraVolumes: []
## @param apiWriter.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Stacks Blockchain API Writer container(s)
##
extraVolumeMounts: []
## @param apiWriter.sidecars Add additional sidecar containers to the Stacks Blockchain API Writer pod(s)
## e.g:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars: []
## @param apiWriter.initContainers Add additional init containers to the Stacks Blockchain API Writer pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers: []
## @param apiWriter.priorityClassName Stacks Blockchain API Writer pods' priorityClassName
##
priorityClassName: ""
## @param apiWriter.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## @param apiWriter.schedulerName Name of the k8s scheduler (other than default) for Stacks Blockchain API Writer pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param apiWriter.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
##
terminationGracePeriodSeconds: ""
## @param apiWriter.lifecycleHooks for the Stacks Blockchain API Writer container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param apiWriter.extraEnvVars Array with extra environment variables to add to Stacks Blockchain API Writer nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## @param apiWriter.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Stacks Blockchain API Writer nodes
##
extraEnvVarsCM: ""
## @param apiWriter.extraEnvVarsSecret Name of existing Secret containing extra env vars for Stacks Blockchain API Writer nodes
##
extraEnvVarsSecret: ""
## @param apiWriter.extraVolumes Optionally specify extra list of additional volumes for the Stacks Blockchain API Writer pod(s)
##
extraVolumes: []
## @param apiWriter.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Stacks Blockchain API Writer container(s)
##
extraVolumeMounts: []
## @param apiWriter.sidecars Add additional sidecar containers to the Stacks Blockchain API Writer pod(s)
## e.g:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars: []
## @param apiWriter.initContainers Add additional init containers to the Stacks Blockchain API Writer pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers: []

## @section Persistence Parameters

Expand Down

0 comments on commit 9bdccb1

Please sign in to comment.