Added whisper

This commit is contained in:
GeorgeRaven
2025-03-26 23:50:24 +00:00
parent d46862c4ce
commit 2955a2cd4c
5 changed files with 118 additions and 0 deletions

View File

@@ -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

View File

@@ -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/

12
charts/whisper/Chart.yaml Normal file
View File

@@ -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"

35
charts/whisper/README.md Normal file
View File

@@ -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` | |

View File

@@ -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.