jellyfin: trim vault ldap template

This commit is contained in:
Brad Stein 2026-01-14 23:34:39 -03:00
parent 3af97973e0
commit 81e79fd19a

View File

@ -25,9 +25,7 @@ spec:
vault.hashicorp.com/role: "pegasus"
vault.hashicorp.com/agent-inject-secret-ldap-config.xml: "kv/data/atlas/pegasus/jellyfin-ldap-config"
vault.hashicorp.com/agent-inject-template-ldap-config.xml: |
{{ with secret "kv/data/atlas/pegasus/jellyfin-ldap-config" }}
{{ index .Data.data "ldap-config.xml" }}
{{ end }}
{{- with secret "kv/data/atlas/pegasus/jellyfin-ldap-config" -}}{{ index .Data.data "ldap-config.xml" }}{{- end -}}
spec:
serviceAccountName: pegasus-vault-sync
# Clean up any lingering OIDC artifacts and strip the injected script tag