Skip to content

Commit

Permalink
[stacks-blockchain] fix PDB creation
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed Feb 19, 2023
1 parent f49165e commit 56224bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions hirosystems/stacks-blockchain/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: bitcoin-core
repository: https://charts.hiro.so/hirosystems
version: 1.1.8
version: 1.1.9
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.17.1
digest: sha256:4509e3e89d6e3729d6e82d222d710cbdf6e6b6325e6106c7eeba05ffe864922c
generated: "2022-10-31T13:32:56.157499-04:00"
digest: sha256:df7e8b1d6acf2c4ac334c77600c1c50a3d2f891eb4eee0299c550368e8b53348
generated: "2023-02-19T10:28:35.56153-05:00"
2 changes: 1 addition & 1 deletion hirosystems/stacks-blockchain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ name: stacks-blockchain
sources:
- https://github.com/stacks-network/stacks-blockchain
- https://docs.stacks.co/
version: 1.2.0
version: 1.2.1
3 changes: 1 addition & 2 deletions hirosystems/stacks-blockchain/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{- $replicaCount := int .Values.replicaCount }}
{{- if and .Values.pdb.create (gt $replicaCount 1) }}
{{- if .Values.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
Expand Down

0 comments on commit 56224bd

Please sign in to comment.