diff --git a/charts/incubator/speedtest-tracker/Chart.yaml b/charts/incubator/speedtest-tracker/Chart.yaml index 0bc2a9d5755..a81ca82248b 100644 --- a/charts/incubator/speedtest-tracker/Chart.yaml +++ b/charts/incubator/speedtest-tracker/Chart.yaml @@ -18,7 +18,7 @@ name: speedtest-tracker sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/speedtest-tracker - https://github.com/henrywhitaker3/Speedtest-Tracker -version: 0.0.1 +version: 0.0.2 annotations: truecharts.org/catagories: | - speedtest diff --git a/charts/incubator/speedtest-tracker/values.yaml b/charts/incubator/speedtest-tracker/values.yaml index 32b66c2b547..5ee5170a28f 100644 --- a/charts/incubator/speedtest-tracker/values.yaml +++ b/charts/incubator/speedtest-tracker/values.yaml @@ -27,6 +27,7 @@ service: ports: main: port: 8765 + protocol: HTTP targetPort: 80 persistence: diff --git a/charts/incubator/xen-orchestra/.helmignore b/charts/incubator/xen-orchestra/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/xen-orchestra/.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/xen-orchestra/Chart.yaml b/charts/incubator/xen-orchestra/Chart.yaml new file mode 100644 index 00000000000..801698363fc --- /dev/null +++ b/charts/incubator/xen-orchestra/Chart.yaml @@ -0,0 +1,25 @@ +apiVersion: v2 +appVersion: "10.6.2" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 10.6.11 +description: Xen-Orchestra is a Web-UI for managing your existing XenServer infrastructure. +home: https://truecharts.org/docs/charts/stable/airsonic +icon: https://truecharts.org/img/hotlink-ok/chart-icons/airsonic.png +keywords: + - xen-orchestra +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: xen-orchestra +sources: + - https://hub.docker.com/r/ronivay/xen-orchestra +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - management + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/xen-orchestra/README.md b/charts/incubator/xen-orchestra/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/xen-orchestra/docs/credentials.md b/charts/incubator/xen-orchestra/docs/credentials.md new file mode 100644 index 00000000000..383c44a993c --- /dev/null +++ b/charts/incubator/xen-orchestra/docs/credentials.md @@ -0,0 +1,4 @@ +# Default credentials + +- Username: `admin@admin.net` +- Password: `admin` diff --git a/charts/incubator/xen-orchestra/icon.png b/charts/incubator/xen-orchestra/icon.png new file mode 100644 index 00000000000..a3f5ce33ef1 Binary files /dev/null and b/charts/incubator/xen-orchestra/icon.png differ diff --git a/charts/incubator/xen-orchestra/questions.yaml b/charts/incubator/xen-orchestra/questions.yaml new file mode 100644 index 00000000000..e6acfcad64e --- /dev/null +++ b/charts/incubator/xen-orchestra/questions.yaml @@ -0,0 +1,133 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{controller} +# Include{controllerDeployment} +# Include{replicas} +# Include{replica1} +# Include{strategy} +# Include{recreate} +# Include{controllerExpert} +# Include{controllerExpertExtraArgs} +# Include{containerConfig} +# Include{serviceRoot} + - variable: main + label: Main Service + description: The Primary service on which the healthcheck runs, often the webUI + schema: + additional_attrs: true + type: dict + attrs: +# 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: 10324 + required: true +# Include{advancedPortHTTPS} + - variable: targetPort + label: Target Port + description: The internal(!) port on the container the Application runs on + schema: + type: int + default: 10324 +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: xo-data + label: App XO Data Storage + description: Stores the Application XO Data. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceAdvanced} +# Include{persistenceRoot} + - variable: redis-data + label: App Redis Data Storage + description: Stores the Application Redis Data. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceAdvanced} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressExpert} +# Include{ingressList} +# Include{security} +# Include{securityContextAdvancedRoot} + - variable: privileged + label: Privileged mode + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: ReadOnly Root Filesystem + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: Allow Privilege Escalation + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: runAsNonRoot + schema: + type: boolean + default: false +# Include{securityContextAdvanced} +# Include{podSecurityContextRoot} + - 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 this App of the user running the application + schema: + type: int + default: 0 + - variable: fsGroup + label: fsGroup + description: The group that should own ALL storage. + schema: + type: int + default: 568 +# Include{podSecurityContextAdvanced} +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{promtail} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/xen-orchestra/templates/common.yaml b/charts/incubator/xen-orchestra/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/xen-orchestra/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/xen-orchestra/values.yaml b/charts/incubator/xen-orchestra/values.yaml new file mode 100644 index 00000000000..2d598123cc1 --- /dev/null +++ b/charts/incubator/xen-orchestra/values.yaml @@ -0,0 +1,62 @@ +image: + repository: tccr.io/truecharts/xenorchestra + tag: 5.102.3@sha256:b8b08278060895a3a889709faddda505c4c426ad1fa50b4953ea8ff317ecc861 + pullPolicy: IfNotPresent + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + capabilities: + add: + - SYS_ADMIN + +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +env: + HTTPS_PORT: "{{ .Values.service.main.ports.main.port }}" + # Just so it doesn't try to bind port 80 + HTTP_PORT: "{{ add1 .Values.service.main.ports.main.port }}" + REDIRECT_TO_HTTPS: true + +probes: + liveness: + enabled: true + custom: true + spec: + exec: + command: + - /healthcheck.sh + readiness: + enabled: true + custom: true + spec: + exec: + command: + - /healthcheck.sh + startup: + enabled: true + custom: true + spec: + exec: + command: + - /healthcheck.sh + +service: + main: + ports: + main: + procotol: HTTPS + port: 10324 + +persistence: + xo-data: + enabled: true + mountPath: "/var/lib/xo-server" + redis-data: + enabled: true + mountPath: "/var/lib/redis" + +portal: + enabled: true