mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Added whisper
This commit is contained in:
26
charts/infrastructure/templates/whisper.yaml
Normal file
26
charts/infrastructure/templates/whisper.yaml
Normal 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
|
||||
23
charts/whisper/.helmignore
Normal file
23
charts/whisper/.helmignore
Normal 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
12
charts/whisper/Chart.yaml
Normal 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
35
charts/whisper/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# whisper
|
||||
|
||||
  
|
||||
|
||||
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` | |
|
||||
|
||||
22
charts/whisper/values.yaml
Normal file
22
charts/whisper/values.yaml
Normal 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.
|
||||
Reference in New Issue
Block a user