Skip to content

Commit

Permalink
feat: allow exposing tunarr with basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
funkypenguin committed Dec 4, 2024
2 parents 86ac586 + e22cb69 commit 79a84f1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/myprecious/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.197.5-pre-01
version: 1.196.1-pre-09

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
middlewares:
{{- if not .Values.tunarrexposed.enabled }}
- name: {{ .Release.Name }}-traefik-forward-auth
{{ end }}
{{ else }}
- name: {{ .Release.Name }}-tunarr-basic-auth
{{ end }}
- name: error-pages
namespace: traefik
{{ end }}
10 changes: 10 additions & 0 deletions charts/myprecious/templates/secrets/secret-tunarr-basic-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{ if .Values.tunarrexposed.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: tunarr-basic-auth
type: kubernetes.io/basic-auth
stringData:
username: {{ .Release.Name }}
password: {{ .Values.tunarrexposed.password }}
{{ end }}
4 changes: 2 additions & 2 deletions charts/myprecious/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,6 @@ zurgexposed:
enabled: false
elfassessment:
enabled: false

uptimekumacustomdomain:
enabled: false
mattermostcustomdomain:
Expand Down Expand Up @@ -5968,6 +5967,8 @@ tunarr:
configmap.reloader.stakater.com/reload: "elfbot-all,elfbot-tunarr"
affinity: *standard_affinity
tolerations: *standard_tolerations
podAnnotations:
kubernetes.io/egress-bandwidth: "128M"
podSecurityContext:
seccompProfile:
type: RuntimeDefault
Expand Down Expand Up @@ -11066,7 +11067,6 @@ mediafusion:
- SYS_MODULE
config: # We have to set this to null so that we can override with our own config


tinyproxy:
enabled: false
image:
Expand Down

0 comments on commit 79a84f1

Please sign in to comment.