Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/staking-miner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: staking-miner
description: A Helm chart to deploy staking miner (https://github.com/paritytech/staking-miner)
type: application
version: 1.0.0
version: 1.1.0
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
Expand Down
15 changes: 15 additions & 0 deletions charts/staking-miner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ The command removes all the Kubernetes components associated with the chart and

> **NOTE**: The Helm chart uses [readme-generator](https://github.com/bitnami-labs/readme-generator-for-helm) to generate [Parameters](#parameters) section. Make sure to update the parameters with that tool instead of manually editing it.

## Upgrading
### ⚠️ 1.1.0 (breaking change)
Chart version 1.1.0 has breaking changes. staking-miner CLI [has changed](https://github.com/paritytech/polkadot/pull/5577) the order of positional arguments.

Before:
```
staking-miner --seed-or-path <foo> monitor|dry-run
```

Now:
```
staking-miner monitor|dry-run --seed-or-path <foo>
```

If you use a customized value for `args` make sure to update it accordingly. If you use `args` as is you don't have to do anything.
## Parameters

### Global parameters
Expand Down
2 changes: 1 addition & 1 deletion charts/staking-miner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ command: ["/bin/sh"]
args:
- -c
- |
staking-miner --seed-or-path /config/seed --uri $(cat /config/uri) monitor seq-phragmen
staking-miner monitor --seed-or-path /config/seed --uri $(cat /config/uri) seq-phragmen
## @param hostAliases staking-miner pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
Expand Down