Skip to content

Commit

Permalink
feat(besu): allow arbitrary affinity rules to be set for the statefulset
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Marshall <alex@blockchaintp.com>
  • Loading branch information
alexhq committed May 10, 2021
1 parent b9db2ae commit 29fe018
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/besu/Chart.yaml
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.0.8
version: 0.0.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 2 additions & 0 deletions charts/besu/templates/130-besu-validators-set.yaml
Expand Up @@ -28,6 +28,8 @@ spec:
prometheus.io/path: "/metrics"
spec:
serviceAccountName: {{ include "besu.serviceAccountName" . }}
affinity:
{{ toYaml .Values.besu.affinity | nindent 8 }}
containers:
- env:
- name: POD_IP
Expand Down
4 changes: 2 additions & 2 deletions charts/besu/values.yaml
Expand Up @@ -71,8 +71,8 @@ besu:
ibftRequestTimeoutSeconds: 10
genesisFilePath: /etc/genesis/genesis.json
logging: "info"
affinity:
enabled: false
## @md | `besu.affinity` | custom affinity rules for the besu statefulset | map | nil |
affinity: {}
image:
repository: blockchaintp/besu
tag: BTP2.1.0rc14
Expand Down

0 comments on commit 29fe018

Please sign in to comment.