feat(traggo): add traggo (#5187)
* feat(traggo): add traggo * image * Update charts/incubator/traggo/templates/_secret.tpl Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
parent
9dfc65b171
commit
8104036583
|
@ -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
|
|
@ -0,0 +1,28 @@
|
|||
apiVersion: v2
|
||||
appVersion: "0.20.2297"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 11.0.4
|
||||
deprecated: false
|
||||
description: Traggo is a tag-based time tracking tool. In Traggo there are no tasks, only tagged time spans.
|
||||
home: https://truecharts.org/docs/charts/stable/jackett
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/jackett.png
|
||||
keywords:
|
||||
- time-tracking
|
||||
- tag
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: traggo
|
||||
sources:
|
||||
- https://github.com/traggo/server
|
||||
type: application
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- productivity
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
|
@ -0,0 +1,152 @@
|
|||
# Include{groups}
|
||||
portals:
|
||||
open:
|
||||
# Include{portalLink}
|
||||
questions:
|
||||
# Include{global}
|
||||
# Include{controller}
|
||||
# Include{replicas}
|
||||
# Include{replica1}
|
||||
# Include{controllerExpertExtraArgs}
|
||||
- variable: traggo
|
||||
group: App Configuration
|
||||
label: Traggo Configuration
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: username
|
||||
label: Username
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: ""
|
||||
- variable: password
|
||||
label: Password
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
private: true
|
||||
default: ""
|
||||
- variable: pass_strength
|
||||
label: Password Strength
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
default: 10
|
||||
- variable: log_level
|
||||
label: Log Level
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: info
|
||||
enum:
|
||||
- value: info
|
||||
description: Info
|
||||
- value: debug
|
||||
description: Debug
|
||||
- value: warn
|
||||
description: Warn
|
||||
- value: error
|
||||
description: Error
|
||||
- value: fatal
|
||||
description: Fatal
|
||||
- value: panic
|
||||
description: Panic
|
||||
# Include{containerConfig}
|
||||
# Include{serviceRoot}
|
||||
- variable: main
|
||||
label: Main Service
|
||||
description: The Primary service on which the healthcheck runs, often the webUI
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# 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: 12117
|
||||
required: true
|
||||
# Include{serviceExpertRoot}
|
||||
default: false
|
||||
# Include{serviceExpert}
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
- variable: config
|
||||
label: App Config Storage
|
||||
description: Stores the Application Configuration.
|
||||
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{ingressTLS}
|
||||
# Include{ingressTraefik}
|
||||
# Include{ingressList}
|
||||
# Include{security}
|
||||
# Include{securityContextAdvancedRoot}
|
||||
- variable: privileged
|
||||
label: Privileged mode
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: readOnlyRootFilesystem
|
||||
label: ReadOnly Root Filesystem
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: allowPrivilegeEscalation
|
||||
label: Allow Privilege Escalation
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: runAsNonRoot
|
||||
label: runAsNonRoot
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
# Include{podSecurityContextRoot}
|
||||
- variable: runAsUser
|
||||
label: runAsUser
|
||||
description: The UserID of the user running the application
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- variable: runAsGroup
|
||||
label: runAsGroup
|
||||
description: The groupID this App of the user running the application
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- variable: fsGroup
|
||||
label: fsGroup
|
||||
description: The group that should own ALL storage.
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
# Include{podSecurityContextAdvanced}
|
||||
# Include{resources}
|
||||
# Include{advanced}
|
||||
# Include{addons}
|
||||
# Include{codeserver}
|
||||
# Include{vpn}
|
||||
# Include{documentation}
|
|
@ -0,0 +1,21 @@
|
|||
{{/* Define the secret */}}
|
||||
{{- define "traggo.secret" -}}
|
||||
|
||||
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: {{ $secretName }}
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
stringData:
|
||||
TRAGGO_DATABASE_DIALECT: sqlite3
|
||||
TRAGGO_DATABASE_CONNECTION: /opt/traggo/data/traggo.db
|
||||
TRAGGO_PORT: {{ .Values.service.main.ports.main.port | quote }}
|
||||
TRAGGO_PASS_STRENGTH: {{ .Values.traggo.pass_strength | quote }}
|
||||
TRAGGO_DEFAULT_USER_NAME: {{ .Values.traggo.username }}
|
||||
TRAGGO_DEFAULT_USER_PASS: {{ .Values.traggo.password }}
|
||||
TRAGGO_LOG_LEVEL: {{ .Values.traggo.log_level }}
|
||||
{{- end }}
|
|
@ -0,0 +1,8 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{/* Render secret */}}
|
||||
{{- include "traggo.secret" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.apply" . }}
|
|
@ -0,0 +1,37 @@
|
|||
image:
|
||||
repository: tccr.io/truecharts/traggo
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 0.2.3@sha256:ae5f33424ebf5b87716921fdc7e7a46d96c22dc9e6c03a65c1bf4ef4fb0b11f9
|
||||
|
||||
traggo:
|
||||
username: admin
|
||||
password: admin
|
||||
pass_strength: 10
|
||||
log_level: info
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: '{{ include "tc.common.names.fullname" . }}-secret'
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
protocol: HTTP
|
||||
port: 12117
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
type: HTTP
|
||||
readiness:
|
||||
type: HTTP
|
||||
startup:
|
||||
type: HTTP
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: /opt/traggo/data
|
||||
|
||||
portal:
|
||||
enabled: true
|
|
@ -265,6 +265,7 @@ words:
|
|||
- tlsstores
|
||||
- traefik
|
||||
- traefikservices
|
||||
- Traggo
|
||||
- trakt
|
||||
- truecharts
|
||||
- truenas
|
||||
|
|
Loading…
Reference in New Issue