feat(xen-orchestra): add xen-orchestra (#4047)

This commit is contained in:
Stavros Kois
2022-10-10 01:46:56 +03:00
committed by GitHub
parent 3731795e67
commit a6c8583a51
10 changed files with 257 additions and 1 deletions

View File

@@ -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

View File

@@ -27,6 +27,7 @@ service:
ports:
main:
port: 8765
protocol: HTTP
targetPort: 80
persistence:

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,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

View File

View File

@@ -0,0 +1,4 @@
# Default credentials
- Username: `admin@admin.net`
- Password: `admin`

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -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}

View File

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

View File

@@ -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