diff --git a/charts/incubator/peanut/.helmignore b/charts/incubator/peanut/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/peanut/.helmignore @@ -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 diff --git a/charts/incubator/peanut/CHANGELOG.md b/charts/incubator/peanut/CHANGELOG.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/peanut/Chart.yaml b/charts/incubator/peanut/Chart.yaml new file mode 100644 index 00000000000..2bc8f20cfec --- /dev/null +++ b/charts/incubator/peanut/Chart.yaml @@ -0,0 +1,37 @@ +annotations: + max_scale_version: 24.04.0 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: system + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 2.5.0 +dependencies: + - name: common + version: 18.1.2 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: A Tiny Dashboard for Network UPS Tools. +home: https://truecharts.org/charts/incubator/peanut +icon: https://truecharts.org/img/hotlink-ok/chart-icons/peanut.png +keywords: + - peanut + - ups +kubeVersion: ">=1.24.0-0" +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: peanut +sources: + - https://github.com/Brandawg93/PeaNUT + - https://github.com/truecharts/charts/tree/master/charts/incubator/peanut + - https://hub.docker.com/r/brandawg93/peanut +type: application +version: 0.0.1 diff --git a/charts/incubator/peanut/README.md b/charts/incubator/peanut/README.md new file mode 100644 index 00000000000..2b8cc49d247 --- /dev/null +++ b/charts/incubator/peanut/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- diff --git a/charts/incubator/peanut/icon.png b/charts/incubator/peanut/icon.png new file mode 100644 index 00000000000..ddecc53d156 Binary files /dev/null and b/charts/incubator/peanut/icon.png differ diff --git a/charts/incubator/peanut/questions.yaml b/charts/incubator/peanut/questions.yaml new file mode 100644 index 00000000000..fa3e889ec22 --- /dev/null +++ b/charts/incubator/peanut/questions.yaml @@ -0,0 +1,105 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + - variable: env + group: App Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: NUT_HOST + label: Nut Host + description: Host of NUT server + schema: + type: string + default: "localhost" + - variable: NUT_PORT + label: Nut Port + description: Port of NUT server + schema: + type: int + default: 3493 + - variable: USERNAME + label: UserName + schema: + type: string + default: "" + - variable: PASSWORD + label: Password + schema: + type: string + private: true + default: "" +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 10688 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressAdvanced} +# Include{ingressList} +# 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} diff --git a/charts/incubator/peanut/templates/NOTES.txt b/charts/incubator/peanut/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/peanut/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/peanut/templates/common.yaml b/charts/incubator/peanut/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/peanut/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/peanut/values.yaml b/charts/incubator/peanut/values.yaml new file mode 100644 index 00000000000..8c26ea4df8d --- /dev/null +++ b/charts/incubator/peanut/values.yaml @@ -0,0 +1,28 @@ +image: + repository: brandawg93/peanut + tag: 2.5.0@sha256:9624673053d8c38c64e932f836aa2c0a33256af391dd8aa2d79d222401cab768 + pullPolicy: IfNotPresent +securityContext: + container: + readOnlyRootFilesystem: false + runAsGroup: 0 + runAsUser: 0 +service: + main: + ports: + main: + port: 10688 +portal: + open: + enabled: true +workload: + main: + podSpec: + containers: + main: + env: + NUT_HOST: "localhost" + NUT_PORT: 3493 + USERNAME: "" + PASSWORD: "" + WEB_PORT: "{{ .Values.service.main.ports.main.port }}" \ No newline at end of file