Add Readme.md
This commit is contained in:
41
Readme.md
Normal file
41
Readme.md
Normal file
@@ -0,0 +1,41 @@
|
||||
## 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`.
|
||||
|
Reference in New Issue
Block a user