diff --git a/charts/stable/hytale/.helmignore b/charts/stable/hytale/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/stable/hytale/.helmignore @@ -0,0 +1,32 @@ +# 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 +icon.webp +icon-small.webp diff --git a/charts/stable/hytale/CHANGELOG.md b/charts/stable/hytale/CHANGELOG.md new file mode 100644 index 00000000000..e901648057b --- /dev/null +++ b/charts/stable/hytale/CHANGELOG.md @@ -0,0 +1,4 @@ +--- +title: Changelog +pagefind: false +--- \ No newline at end of file diff --git a/charts/stable/hytale/Chart.yaml b/charts/stable/hytale/Chart.yaml new file mode 100644 index 00000000000..c6f1f81986c --- /dev/null +++ b/charts/stable/hytale/Chart.yaml @@ -0,0 +1,42 @@ +annotations: + artifacthub.io/links: |- + - name: support + url: https://discord.com/invite/tVsPTHWTtr + max_scale_version: 24.04.1 + min_scale_version: 24.04.0 + truecharts.org/category: gaming + truecharts.org/max_helm_version: "3.17" + truecharts.org/max_kubernetes_version: 1.32.0 + truecharts.org/min_helm_version: "3.14" + truecharts.org/min_kubernetes_version: 1.24.0 + truecharts.org/train: stable +apiVersion: v2 +appVersion: 3.0.0 +dependencies: + - name: common + version: 28.29.18 + repository: oci://oci.trueforge.org/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Automate Cloudflare DNS records for those with a dynamic IP. +home: https://truecharts.org/charts/stable/hytale +icon: https://truecharts.org/img/hotlink-ok/chart-icons/hytale.webp +keywords: + - hytale + - gaming + - multiplayer +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: hytale +sources: + - https://hytale.com + - https://github.com/trueforge-org/truecharts/tree/master/charts/stable/hytale + - https://github.com/trueforge-org/containerforge +type: application +version: 1.0.0 diff --git a/charts/stable/hytale/README.md b/charts/stable/hytale/README.md new file mode 100644 index 00000000000..7ef0b890d73 --- /dev/null +++ b/charts/stable/hytale/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- \ No newline at end of file diff --git a/charts/stable/hytale/docs/setup-guide.md b/charts/stable/hytale/docs/setup-guide.md new file mode 100644 index 00000000000..1b4d43b2b75 --- /dev/null +++ b/charts/stable/hytale/docs/setup-guide.md @@ -0,0 +1,53 @@ +--- +title: How-To +--- + +## Step 1: Check Server Logs (Authentication Link) + +- Once the pod is running, check the logs. On first startup, the server will print an authentication / server-download link. + +```yaml +kubectl logs -n hytale +``` +Look for a line similar to: + +Please open the following link to authenticate and download the server: +https://... + +What to do: + +- Open the link in your browser +- Complete the authentication +- Wait for the download to complete + +## Step 2: Attach to the Server Console + +After authentication, you must attach to the server console to run the command shown in the logs. + +First, get the pod name: + +```yaml +kubectl get pods -n hytale +``` + + +Then attach interactively using -i -t: +```yaml +kubectl attach -n hytale -i -t +``` + +Make sure that a console opens with + +```bash +> +``` + +and enter + +```bash +/auth login device +``` + +This should give you another link to authenticate. + +Afterwards you should be done and the server should be up and running \ No newline at end of file diff --git a/charts/stable/hytale/icon-small.webp b/charts/stable/hytale/icon-small.webp new file mode 100644 index 00000000000..aece24a98e7 Binary files /dev/null and b/charts/stable/hytale/icon-small.webp differ diff --git a/charts/stable/hytale/icon.webp b/charts/stable/hytale/icon.webp new file mode 100644 index 00000000000..15f626d4d1e Binary files /dev/null and b/charts/stable/hytale/icon.webp differ diff --git a/charts/stable/hytale/templates/NOTES.txt b/charts/stable/hytale/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/stable/hytale/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/stable/hytale/templates/common.yaml b/charts/stable/hytale/templates/common.yaml new file mode 100644 index 00000000000..c6d069061d0 --- /dev/null +++ b/charts/stable/hytale/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} \ No newline at end of file diff --git a/charts/stable/hytale/values.yaml b/charts/stable/hytale/values.yaml new file mode 100644 index 00000000000..94cf72ec03d --- /dev/null +++ b/charts/stable/hytale/values.yaml @@ -0,0 +1,37 @@ +image: + repository: oci.trueforge.org/containerforge/hytale + tag: 1.0.0@sha256:2d14d2bad525d28c1a3fc3158384541657df0f3ea1b7585a2dfca650b4e970b9 + pullPolicy: IfNotPresent +workload: + main: + podSpec: + containers: + main: + stdin: true + tty: true + env: + HYTALE_AUTO_UPDATE: false + HYTALE_PORT: "{{ .Values.service.main.ports.main.port }}" + HYTALE_ALLOW_OP: true + HYTALE_BACKUP_ENALBED: false + HYTALE_BACKUP_DIR: /app/backup + HYTALE_BACKUP_FREQ: 30 + # HYTALE_EXTRA_ARGS: + # HYTALE_JAVA_ARGS: + probes: + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false +service: + main: + ports: + main: + port: 5520 + protocol: udp +persistence: + app: + enabled: true + mountPath: /app