42 lines
827 B
Markdown
42 lines
827 B
Markdown
## Helm Chart
|
|
|
|
Add the chart repo to Helm:
|
|
|
|
```bash
|
|
helm repo add duco https://git.kopic.hr/api/packages/tomislav/helm/api/charts
|
|
helm repo update
|
|
```
|
|
|
|
Install the chart using the default `values.yaml`:
|
|
|
|
```bash
|
|
helm install duco-miner duco/duino-miner
|
|
```
|
|
|
|
### Inspect configurable values
|
|
|
|
You can view all configurable options in the chart with:
|
|
|
|
```bash
|
|
helm show values duco/duino-miner
|
|
```
|
|
|
|
### Override username and mining key
|
|
|
|
Create a custom `values.yaml`:
|
|
|
|
```yaml
|
|
env:
|
|
DUCO_USERNAME: "your_actual_username"
|
|
DUCO_MINING_KEY: "your_actual_mining_key"
|
|
```
|
|
|
|
Install the chart with your custom values:
|
|
|
|
```bash
|
|
helm install duco-miner duco/duino-miner -f my-values.yaml
|
|
```
|
|
|
|
You can also override other environment variables in `values.yaml` as needed, such as `DUCO_THREADS`, `DUCO_INTENSITY`, or `DUCO_START_DIFF`.
|
|
|