diff --git a/charts/incubator/atuin/.helmignore b/charts/incubator/atuin/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/atuin/.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/atuin/CHANGELOG.md b/charts/incubator/atuin/CHANGELOG.md new file mode 100644 index 00000000000..6afbcc5f802 --- /dev/null +++ b/charts/incubator/atuin/CHANGELOG.md @@ -0,0 +1,3 @@ +--- +title: Changelog +--- diff --git a/charts/incubator/atuin/Chart.yaml b/charts/incubator/atuin/Chart.yaml new file mode 100644 index 00000000000..c833bacdc90 --- /dev/null +++ b/charts/incubator/atuin/Chart.yaml @@ -0,0 +1,37 @@ +kubeVersion: ">=1.24.0-0" +apiVersion: v2 +name: atuin +version: 0.0.1 +appVersion: 17.1.0 +description: Magical shell history. +home: https://truecharts.org/charts/incubator/atuin +icon: https://truecharts.org/img/hotlink-ok/chart-icons/atuin.png +deprecated: false +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/atuin + - https://github.com/atuinsh/atuin + - https://ghcr.io/atuinsh/atuin +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +keywords: + - atuin + - shell +dependencies: + - name: common + version: 17.2.21 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +annotations: + max_scale_version: 23.10.2 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: system + truecharts.org/max_helm_version: "3.13" + truecharts.org/min_helm_version: "3.12" + truecharts.org/train: incubator +type: application diff --git a/charts/incubator/atuin/README.md b/charts/incubator/atuin/README.md new file mode 100644 index 00000000000..255b08eca9d --- /dev/null +++ b/charts/incubator/atuin/README.md @@ -0,0 +1,28 @@ +--- +title: README +--- + +## General Info + +TrueCharts can be installed as both _normal_ Helm Charts or as Apps on TrueNAS SCALE. +However only installations using the TrueNAS SCALE Apps system are supported. + +For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/maintainerr) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/incubator/atuin/icon.png b/charts/incubator/atuin/icon.png new file mode 100644 index 00000000000..ef781f4945d Binary files /dev/null and b/charts/incubator/atuin/icon.png differ diff --git a/charts/incubator/atuin/questions.yaml b/charts/incubator/atuin/questions.yaml new file mode 100644 index 00000000000..bea18a09714 --- /dev/null +++ b/charts/incubator/atuin/questions.yaml @@ -0,0 +1,99 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} + + - variable: atuin + group: App Configuration + label: Atuin Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: open_registration + label: Open Registration + description: If true, accept new user registrations. + schema: + type: boolean + default: false + +# 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: 8888 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: "App Config Storage" + description: "Stores the Application Config." + 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{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 1000 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 1000 +# 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/atuin/templates/NOTES.txt b/charts/incubator/atuin/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/atuin/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/atuin/templates/common.yaml b/charts/incubator/atuin/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/atuin/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/atuin/values.yaml b/charts/incubator/atuin/values.yaml new file mode 100644 index 00000000000..ef7760a7c3b --- /dev/null +++ b/charts/incubator/atuin/values.yaml @@ -0,0 +1,57 @@ +image: + repository: ghcr.io/atuinsh/atuin + pullPolicy: IfNotPresent + tag: 17.1.0@sha256:dff8af77f8ab61386295bf476a60c95e1193ec659bc838e39ec8c4109bd5afaa + +securityContext: + container: + runAsUser: 1000 + runAsGroup: 1000 + +service: + main: + ports: + main: + protocol: http + port: 8888 + +atuin: + open_registration: false + +workload: + main: + podSpec: + containers: + main: + args: + - server + - start + env: + ATUIN_HOST: 0.0.0.0 + ATUIN_PORT: "{{ .Values.service.main.ports.main.port }}" + ATUIN_OPEN_REGISTRATION: "{{ .Values.atuin.open_registration }}" + ATUIN_CONFIG_DIR: /config + ATUIN_DB_URI: + secretKeyRef: + name: cnpg-main-urls + key: std + ATUIN_DB_USERNAME: "{{ .Values.cnpg.main.user }}" + ATUIN_DB_PASSWORD: + secretKeyRef: + name: cnpg-main-user + key: password + +persistence: + config: + enabled: true + mountPath: "/config" + +cnpg: + main: + enabled: true + user: atuin + database: atuin + +portal: + open: + enabled: false