Files
truecharts/charts/stable/xmrig/questions.yaml
T
4550a1ccce fix(xmrig): update env for xmrig (#18696)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
Fixes env variables to work properly with docker image

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Gravity6909 <161408315+Gravity6909@users.noreply.github.com>
Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
2024-02-27 20:44:08 +01:00

83 lines
3.9 KiB
YAML

# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: POOL_URL
label: "Pool Url"
description: "Address for your mining pool. Eg. gulf.moneroocean.stream:10128"
schema:
type: string
default: "gulf.moneroocean.stream:10128"
- variable: YOUR_ADDRESS
label: "Wallet Address"
description: "Wallet address for receiving mined coin."
schema:
type: string
private: true
default: ""
- variable: YOUR_WORKER_NAME
label: "Worker Name"
description: "Enter a name for your worker."
schema:
type: string
default: "TrueNAS"
- variable: ADDITIONAL
label: "ADDITIONAL"
description: "Please leave --no-colour, as TrueNASs webUI log viewer does not respond well to this option being disabled. If you plan on using an AMD card for GPU mining, please add --opencl; the field would then read --no-colour --opencl, please dont miss the variables below. If you plan on using an Nvidia card for GPU mining, please add --cuda; the field would then read --no-colour --cuda "
schema:
type: string
default: "--no-color "
- variable: ALGO_MODE
label: "Algorithm"
description: "Select a coin to mine, eg. rx/0 See https://xmrig.com/docs/algorithms for more info."
schema:
type: string
default: "rx/0"
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}