diff --git a/charts/incubator/qwantify/.helmignore b/charts/incubator/qwantify/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/qwantify/.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/qwantify/CHANGELOG.md b/charts/incubator/qwantify/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/qwantify/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/qwantify/Chart.yaml b/charts/incubator/qwantify/Chart.yaml new file mode 100644 index 00000000000..753ffb8764b --- /dev/null +++ b/charts/incubator/qwantify/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +appVersion: "20.04.0" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 11.1.2 +deprecated: false +description: Play games with your friends right from the browser. +home: https://truecharts.org/charts/incubator/qwantify +icon: https://truecharts.org/img/hotlink-ok/chart-icons/qwantify.png +keywords: + - qwantify + - games +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: qwantify +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/qwantify + - https://github.com/wanjohiryan/qwantify +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - games + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/qwantify/README.md b/charts/incubator/qwantify/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/qwantify/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/qwantify/icon.png b/charts/incubator/qwantify/icon.png new file mode 100644 index 00000000000..49fa5245292 Binary files /dev/null and b/charts/incubator/qwantify/icon.png differ diff --git a/charts/incubator/qwantify/questions.yaml b/charts/incubator/qwantify/questions.yaml new file mode 100644 index 00000000000..36192f7f7cd --- /dev/null +++ b/charts/incubator/qwantify/questions.yaml @@ -0,0 +1,128 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{controller} +# Include{replicas} +# Include{replica1} +# Include{controllerExpertExtraArgs} + - variable: env + group: App Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: APPPATH + label: App Path + description: Folder containing the game. + schema: + type: string + required: true + default: "" + - variable: APPFILE + label: App File + description: Game executable file. + schema: + type: string + required: true + default: "" +# 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: 10603 + required: true +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: games + label: App Games Storage + description: Stores the Application Games. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# 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{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{vpn} +# Include{documentation} diff --git a/charts/incubator/qwantify/templates/common.yaml b/charts/incubator/qwantify/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/qwantify/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/qwantify/values.yaml b/charts/incubator/qwantify/values.yaml new file mode 100644 index 00000000000..4edec042270 --- /dev/null +++ b/charts/incubator/qwantify/values.yaml @@ -0,0 +1,32 @@ +image: + repository: tccr.io/truecharts/qwantify + pullPolicy: IfNotPresent + tag: 20.04.0@sha256:39017de5825e75652f09a14824caddee16e83614a8be79b1f517915dd7f1557c + +env: + APPPATH: "/games" + APPFILE: "/game.exe" + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: HTTP + targetPort: 8080 + port: 10603 + +persistence: + games: + enabled: true + mountPath: /games + +portal: + enabled: true