diff --git a/charts/incubator/vocechat-server/.helmignore b/charts/incubator/vocechat-server/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/vocechat-server/.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/vocechat-server/CHANGELOG.md b/charts/incubator/vocechat-server/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/vocechat-server/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/vocechat-server/Chart.yaml b/charts/incubator/vocechat-server/Chart.yaml new file mode 100644 index 00000000000..85dcdacdb1f --- /dev/null +++ b/charts/incubator/vocechat-server/Chart.yaml @@ -0,0 +1,28 @@ +apiVersion: v2 +appVersion: "0.3.38" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 14.0.3 +deprecated: false +description: A superlight rust written social server. +home: https://truecharts.org/charts/incubator/vocechat-server +icon: https://truecharts.org/img/hotlink-ok/chart-icons/vocechat-server.png +keywords: + - vocechat-server + - social +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: vocechat-server +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/vocechat-server + - https://github.com/Privoce/vocechat-server-rust +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - social + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/vocechat-server/README.md b/charts/incubator/vocechat-server/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/vocechat-server/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/vocechat-server/icon.png b/charts/incubator/vocechat-server/icon.png new file mode 100644 index 00000000000..26224f99e2b Binary files /dev/null and b/charts/incubator/vocechat-server/icon.png differ diff --git a/charts/incubator/vocechat-server/questions.yaml b/charts/incubator/vocechat-server/questions.yaml new file mode 100644 index 00000000000..83c59fa174b --- /dev/null +++ b/charts/incubator/vocechat-server/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} + +# Include{containerBasic} +# Include{containerAdvanced} + + - variable: vocechat + group: App Configuration + label: VoceChat Server + schema: + additional_attrs: true + type: dict + attrs: + - variable: frontend_url + label: Frontend Url + schema: + type: string + required: true + default: "http://localhost:3009" + +# 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: 3009 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + 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{ingressAdvanced} +# Include{ingressList} +# 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 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} diff --git a/charts/incubator/vocechat-server/templates/NOTES.txt b/charts/incubator/vocechat-server/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/vocechat-server/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/vocechat-server/templates/common.yaml b/charts/incubator/vocechat-server/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/vocechat-server/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/vocechat-server/values.yaml b/charts/incubator/vocechat-server/values.yaml new file mode 100644 index 00000000000..b6f04675244 --- /dev/null +++ b/charts/incubator/vocechat-server/values.yaml @@ -0,0 +1,34 @@ +image: + repository: tccr.io/truecharts/vocechat-server + pullPolicy: IfNotPresent + tag: v0.3.38@sha256:a2af75f54ed922a0803f14d0839a25d51d5bc0f6127e972bcf5ee798efcfa5b8 + +service: + main: + ports: + main: + protocol: http + port: 3009 + +vocechat: + frontend_url: localhost:3009 + +workload: + main: + podSpec: + containers: + main: + args: + - --network.bind + - 0.0.0.0:{{ .Values.service.main.ports.main.port }} + - --network.frontend_url + - "{{ .Values.vocechat.frontend_url }}" + +persistence: + data: + enabled: true + mountPath: "/home/vocechat-server/data" + +portal: + open: + enabled: true