Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2024-02-01 16:33:53 +00:00
parent 6675cb266f
commit e376ae696a
15 changed files with 171 additions and 59 deletions

View File

@ -1,9 +0,0 @@
## [autobrr-7.3.0](https://github.com/truecharts/charts/compare/autobrr-7.2.4...autobrr-7.3.0) (2024-01-29)
### Chore
- update container image ghcr.io/autobrr/autobrr to v1.36.0[@14eaf68](https://github.com/14eaf68) by renovate ([#17691](https://github.com/truecharts/charts/issues/17691))

View File

@ -1,45 +0,0 @@
image:
repository: ghcr.io/autobrr/autobrr
pullPolicy: IfNotPresent
tag: v1.36.0@sha256:14eaf6809f431cd38afdfa3e498e01e88b9a86a54ea9ecb8ae608d48d5aa81f0
service:
main:
ports:
main:
port: 7474
protocol: http
targetPort: 7474
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: true
type: exec
command:
- /bin/sh
- -c
- curl --fail localhost:7474/
readiness:
enabled: true
type: exec
command:
- /bin/sh
- -c
- curl --fail localhost:7474/
startup:
enabled: true
type: exec
command:
- /bin/sh
- -c
- curl --fail localhost:7474/
persistence:
config:
enabled: true
mountPath: /config
portal:
open:
enabled: true

View File

@ -1 +0,0 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@ -7,6 +7,9 @@ title: Changelog
## [autobrr-7.3.1](https://github.com/truecharts/charts/compare/autobrr-7.3.0...autobrr-7.3.1) (2024-02-01)
## [autobrr-7.3.0](https://github.com/truecharts/charts/compare/autobrr-7.2.4...autobrr-7.3.0) (2024-01-29) ## [autobrr-7.3.0](https://github.com/truecharts/charts/compare/autobrr-7.2.4...autobrr-7.3.0) (2024-01-29)
### Chore ### Chore
@ -94,6 +97,3 @@ title: Changelog
### Chore ### Chore
- increase common version for oci fixes

View File

@ -34,4 +34,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/autobrr - https://github.com/truecharts/charts/tree/master/charts/stable/autobrr
- https://ghcr.io/autobrr/autobrr - https://ghcr.io/autobrr/autobrr
type: application type: application
version: 7.3.0 version: 7.3.1

View File

@ -0,0 +1,3 @@
## [autobrr-7.3.1](https://github.com/truecharts/charts/compare/autobrr-7.3.0...autobrr-7.3.1) (2024-02-01)

View File

@ -0,0 +1,44 @@
image:
repository: ghcr.io/autobrr/autobrr
pullPolicy: IfNotPresent
tag: v1.36.0@sha256:14eaf6809f431cd38afdfa3e498e01e88b9a86a54ea9ecb8ae608d48d5aa81f0
service:
main:
ports:
main:
protocol: http
port: 7474
autobrr:
# ERROR | DEBUG |INFO | WARN | TRACE
log_level: DEBUG
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: http
readiness:
type: http
startup:
type: tcp
persistence:
config:
enabled: true
mountPath: /config
autobrr-config:
enabled: true
type: configmap
objectName: autobrr-config
mountPath: /config/config.toml
subPath: config.toml
readOnly: true
portal:
open:
enabled: true

View File

@ -156,6 +156,31 @@ questions:
default: "Etc/UTC" default: "Etc/UTC"
$ref: $ref:
- "definitions/timezone" - "definitions/timezone"
- variable: autobrr
group: App Configuration
label: Autobrr Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: log_level
label: Log Level
schema:
type: string
default: "DEBUG"
enum:
- value: "ERROR"
description: "Error"
- value: "DEBUG"
description: "Debug"
- value: "INFO"
description: "Info"
- value: "WARN"
description: "Warn"
- value: "TRACE"
description: "Trace"
- variable: podOptions - variable: podOptions
group: "General Settings" group: "General Settings"
label: "Global Pod Options (Advanced)" label: "Global Pod Options (Advanced)"

View File

@ -0,0 +1,84 @@
{{/* Define the configmap */}}
{{- define "autobrr.configmaps" -}}
{{- $fullname := (include "tc.v1.common.lib.chart.names.fullname" $) -}}
{{- $secretName := printf "%s-autobrr-secret" (include "tc.v1.common.lib.chart.names.fullname" .) }}
{{- $mainPort := .Values.service.main.ports.main.port -}}
{{- $logLevel := .Values.autobrr.log_level -}}
{{- $sessionSecret := randAlphaNum 32 -}}
{{- with lookup "v1" "Secret" .Release.Namespace $secretName -}}
{{- $sessionSecret = index .data "sessionSecret" | b64dec -}}
{{- end }}
autobrr-config:
enabled: true
data:
config.toml: |
# config.toml
# Hostname / IP
#
# Default: "localhost"
#
host = "0.0.0.0"
# Port
#
# Default: 7474
#
port = {{ $mainPort }}
# Base url
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
# Not needed for subdomain, or by accessing with the :port directly.
#
# Optional
#
baseUrl = "/"
# autobrr logs file
# If not defined, logs to stdout
#
# Optional
#
#logPath = "log/autobrr.log"
# Log level
#
# Default: "DEBUG"
#
# Options: "ERROR", "DEBUG", "INFO", "WARN", "TRACE"
#
logLevel = "{{ $logLevel }}"
# Log Max Size
#
# Default: 50
#
# Max log size in megabytes
#
#logMaxSize = 50
# Log Max Backups
#
# Default: 3
#
# Max amount of old log files
#
#logMaxBackups = 3
# Check for updates
#
# Default: true
#
checkForUpdates = true
# Session secret
#
sessionSecret = "{{ $sessionSecret }}"
# Custom definitions
#
#customDefinitions = "test/definitions"
{{- end -}}

View File

@ -0,0 +1,11 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{/* Render configmaps for all pods */}}
{{- $configmaps := include "autobrr.configmaps" . | fromYaml -}}
{{- if $configmaps -}}
{{- $_ := mustMergeOverwrite .Values.configmap $configmaps -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}