diff --git a/stable/autobrr/7.3.0/app-changelog.md b/stable/autobrr/7.3.0/app-changelog.md deleted file mode 100644 index 2dcaf612752..00000000000 --- a/stable/autobrr/7.3.0/app-changelog.md +++ /dev/null @@ -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)) \ No newline at end of file diff --git a/stable/autobrr/7.3.0/ix_values.yaml b/stable/autobrr/7.3.0/ix_values.yaml deleted file mode 100644 index 3cdf43e4bb4..00000000000 --- a/stable/autobrr/7.3.0/ix_values.yaml +++ /dev/null @@ -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 diff --git a/stable/autobrr/7.3.0/templates/common.yaml b/stable/autobrr/7.3.0/templates/common.yaml deleted file mode 100644 index b51394e00a4..00000000000 --- a/stable/autobrr/7.3.0/templates/common.yaml +++ /dev/null @@ -1 +0,0 @@ -{{ include "tc.v1.common.loader.all" . }} diff --git a/stable/autobrr/7.3.0/CHANGELOG.md b/stable/autobrr/7.3.1/CHANGELOG.md similarity index 95% rename from stable/autobrr/7.3.0/CHANGELOG.md rename to stable/autobrr/7.3.1/CHANGELOG.md index db727a56c4c..71e01bc9145 100644 --- a/stable/autobrr/7.3.0/CHANGELOG.md +++ b/stable/autobrr/7.3.1/CHANGELOG.md @@ -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) ### Chore @@ -94,6 +97,3 @@ title: Changelog ### Chore - - -- increase common version for oci fixes diff --git a/stable/autobrr/7.3.0/Chart.yaml b/stable/autobrr/7.3.1/Chart.yaml similarity index 98% rename from stable/autobrr/7.3.0/Chart.yaml rename to stable/autobrr/7.3.1/Chart.yaml index 892bc101a62..f4c5aa83a67 100644 --- a/stable/autobrr/7.3.0/Chart.yaml +++ b/stable/autobrr/7.3.1/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/autobrr - https://ghcr.io/autobrr/autobrr type: application -version: 7.3.0 +version: 7.3.1 diff --git a/stable/autobrr/7.3.0/README.md b/stable/autobrr/7.3.1/README.md similarity index 100% rename from stable/autobrr/7.3.0/README.md rename to stable/autobrr/7.3.1/README.md diff --git a/stable/autobrr/7.3.1/app-changelog.md b/stable/autobrr/7.3.1/app-changelog.md new file mode 100644 index 00000000000..a29b7934418 --- /dev/null +++ b/stable/autobrr/7.3.1/app-changelog.md @@ -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) \ No newline at end of file diff --git a/stable/autobrr/7.3.0/app-readme.md b/stable/autobrr/7.3.1/app-readme.md similarity index 100% rename from stable/autobrr/7.3.0/app-readme.md rename to stable/autobrr/7.3.1/app-readme.md diff --git a/stable/autobrr/7.3.0/charts/common-17.2.29.tgz b/stable/autobrr/7.3.1/charts/common-17.2.29.tgz similarity index 100% rename from stable/autobrr/7.3.0/charts/common-17.2.29.tgz rename to stable/autobrr/7.3.1/charts/common-17.2.29.tgz diff --git a/stable/autobrr/7.3.1/ix_values.yaml b/stable/autobrr/7.3.1/ix_values.yaml new file mode 100644 index 00000000000..8fbfcc8b63c --- /dev/null +++ b/stable/autobrr/7.3.1/ix_values.yaml @@ -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 diff --git a/stable/autobrr/7.3.0/questions.yaml b/stable/autobrr/7.3.1/questions.yaml similarity index 99% rename from stable/autobrr/7.3.0/questions.yaml rename to stable/autobrr/7.3.1/questions.yaml index df7c9651c6a..458c2565052 100644 --- a/stable/autobrr/7.3.0/questions.yaml +++ b/stable/autobrr/7.3.1/questions.yaml @@ -156,6 +156,31 @@ questions: default: "Etc/UTC" $ref: - "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 group: "General Settings" label: "Global Pod Options (Advanced)" diff --git a/stable/autobrr/7.3.0/templates/NOTES.txt b/stable/autobrr/7.3.1/templates/NOTES.txt similarity index 100% rename from stable/autobrr/7.3.0/templates/NOTES.txt rename to stable/autobrr/7.3.1/templates/NOTES.txt diff --git a/stable/autobrr/7.3.1/templates/_configmap.tpl b/stable/autobrr/7.3.1/templates/_configmap.tpl new file mode 100644 index 00000000000..6516653db43 --- /dev/null +++ b/stable/autobrr/7.3.1/templates/_configmap.tpl @@ -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 -}} diff --git a/stable/autobrr/7.3.1/templates/common.yaml b/stable/autobrr/7.3.1/templates/common.yaml new file mode 100644 index 00000000000..177ccd838e1 --- /dev/null +++ b/stable/autobrr/7.3.1/templates/common.yaml @@ -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" . -}} diff --git a/stable/autobrr/7.3.0/values.yaml b/stable/autobrr/7.3.1/values.yaml similarity index 100% rename from stable/autobrr/7.3.0/values.yaml rename to stable/autobrr/7.3.1/values.yaml