feat(Incubator): Add idrac-fan-controller (#8657)

**Description**

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [X] ⚙️ Feature/App addition
- [ ] 🪛 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:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 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
- [X] ⬆️ 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 opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [X] 🖼️ 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: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
StevenMcElligott
2023-05-01 11:29:34 -04:00
committed by GitHub
parent c4d342a5ec
commit 765b488bfe
9 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png

View File

@@ -0,0 +1 @@
# Changelog

View File

@@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.6.1
deprecated: false
description: Control your Dell PowerEdge fans via IPMI
home: https://truecharts.org/charts/incubator/dell-idrac-fan-controller
icon: https://truecharts.org/img/hotlink-ok/chart-icons/dell-idrac-fan-controller.png
keywords:
- iDrac
- Dell
- fan-controller
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: dell-idrac-fan-controller
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/dell-idrac-fan-controller
- https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- utilities
- hardware
truecharts.org/SCALE-support: "true"

View File

@@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -0,0 +1,106 @@
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: IDRAC_HOST
label: iDrac Host
description: iDRAC's IP address. Default value is "local".
schema:
type: string
default: ""
- variable: IDRAC_USERNAME
label: iDrac Host Name
description: iDrac Username. Default value is "root".
schema:
type: string
default: ""
- variable: IDRAC_PASSWORD
label: iDrac Password
description: iDrac Password. Default password is "calvin".
schema:
type: string
private: true
default: ""
- variable: FAN_SPEED
label: Fan Speed
description: Fan speed parameter can be set as a decimal (from 0 to 100%). Default value is 5(%).
schema:
type: int
min: 0
max: 100
default: 5
- variable: CPU_TEMPERATURE_THRESHOLD
label: CPU Temperature Thershold
description: parameter is the T°junction (junction temperature) threshold beyond which the Dell fan mode defined in your BIOS will become active again (to protect the server hardware against overheat). Default value is 50(°C).
schema:
type: int
default: 50
- variable: CHECK_INTERVAL
label: Check Interval
description: parameter is the time (in seconds) between each temperature check and potential profile change. Default value is 60(s).
schema:
type: int
default: 60
- variable: DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE
label: Disable 3rd Party PCIE Card Dell Default Cooling Response
description: Boolean that allows to disable third-party PCIe card Dell default cooling response. Default value is false.
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
# Include{persistenceBasic}
# Include{persistenceList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 568
# 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}

View File

@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@@ -0,0 +1,36 @@
image:
repository: ghcr.io/tigerblue77/dell_idrac_fan_controller
pullPolicy: IfNotPresent
tag: latest@sha256:5732a9fe3ed0f195152be4f281e3394ae2b1dec932918ea7690c072c77465ba9
service:
main:
enabled: false
ports:
main:
enabled: false
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
IDRAC_HOST: ""
IDRAC_USERNAME: ""
IDRAC_PASSWORD: ""
FAN_SPEED: 5
CPU_TEMPERATURE_THRESHOLD: 50
CHECK_INTERVAL: 60
DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE: false
portal:
open:
enabled: false