diff --git a/charts/infrastructure/templates/whisper.yaml b/charts/infrastructure/templates/whisper.yaml new file mode 100644 index 00000000..42b67c61 --- /dev/null +++ b/charts/infrastructure/templates/whisper.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: sealed-secrets + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + name: '' + namespace: sealed-secrets + server: 'https://kubernetes.default.svc' + source: + path: charts/sealed-secrets + repoURL: {{ .Values.global.repo }} + targetRevision: {{ .Values.environment.revision }} + #helm: + # values: | + project: default + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ApplyOutOfSyncOnly=true diff --git a/charts/whisper/.helmignore b/charts/whisper/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/whisper/.helmignore @@ -0,0 +1,23 @@ +# 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 +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/whisper/Chart.yaml b/charts/whisper/Chart.yaml new file mode 100644 index 00000000..9da80b2d --- /dev/null +++ b/charts/whisper/Chart.yaml @@ -0,0 +1,12 @@ +apiVersion: v2 +name: whisper +description: A Helm chart for Kubernetes +type: application +version: 0.1.0 +appVersion: "1.16.0" + +dependencies: +- alias: whisper + name: faster-whisper + version: 0.1.0 + repository: "oci://registry.gitlab.com/georgeraven/raven-helm-charts" diff --git a/charts/whisper/README.md b/charts/whisper/README.md new file mode 100644 index 00000000..ab018e85 --- /dev/null +++ b/charts/whisper/README.md @@ -0,0 +1,35 @@ +# whisper + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) + +A Helm chart for Kubernetes + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| oci://registry.gitlab.com/georgeraven/raven-helm-charts | whisper(faster-whisper) | 0.1.0 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| whisper.env[0].name | string | `"PUID"` | | +| whisper.env[0].value | string | `"1000"` | | +| whisper.env[1].name | string | `"PGID"` | | +| whisper.env[1].value | string | `"1000"` | | +| whisper.env[2].name | string | `"TZ"` | | +| whisper.env[2].value | string | `"Etc/UTC"` | | +| whisper.env[3].name | string | `"WHISPER_MODEL"` | | +| whisper.env[3].value | string | `"tiny-int8"` | | +| whisper.env[4].name | string | `"WHISPER_BEAM"` | | +| whisper.env[4].value | string | `"1"` | | +| whisper.env[5].name | string | `"WHISPER_LANG"` | | +| whisper.env[5].value | string | `"en"` | | +| whisper.livenessProbeEnabled | bool | `false` | | +| whisper.podSecurityContextEnabled | bool | `false` | | +| whisper.readinessProbeEnabled | bool | `false` | | +| whisper.resources.requests.cpu | string | `"500m"` | | +| whisper.securityContextEnabled | bool | `false` | | +| whisper.startupProbeEnabled | bool | `false` | | + diff --git a/charts/whisper/values.yaml b/charts/whisper/values.yaml new file mode 100644 index 00000000..685727d6 --- /dev/null +++ b/charts/whisper/values.yaml @@ -0,0 +1,22 @@ +whisper: + securityContextEnabled: false + podSecurityContextEnabled: false + startupProbeEnabled: false + livenessProbeEnabled: false + readinessProbeEnabled: false + resources: + requests: + cpu: 500m + env: + - name: PUID + value: "1000" + - name: PGID + value: "1000" + - name: TZ + value: "Etc/UTC" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List + - name: WHISPER_MODEL + value: "tiny-int8" # https://github.com/SYSTRAN/faster-whisper/blob/master/faster_whisper/utils.py#L12-L31 + - name: WHISPER_BEAM + value: "1" # Number of candidates to consider simultaneously during transcription. + - name: WHISPER_LANG + value: en # Language that you will speak to the add-on.