Skip to content

Commit

Permalink
fix: update jellyfin
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Jul 23, 2024
1 parent dd9be27 commit 68a5528
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .sops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ creation_rules:
encrypted_regex: "^(data|stringData)$"
key_groups:
- age:
- "age17ary36xtm566uptguuhsj7xmuqzyz06ce54tcf6p3mge2thphqfs3gln40"
- "age1nkvss2a8xvmjauvr5mxzm233hyh2mk2fg4s6pt0t0kcn03dv34wqtgymg8"
- "age1wxwqdrmkwkzsxajp58g0cgeextgf4wq287fv82pptv9yghkfgcqql66zhj"
- path_regex: ansible/.*\.sops\.ya?ml
key_groups:
- age:
Expand Down
19 changes: 1 addition & 18 deletions kubernetes/main/apps/media/jellyfin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,7 @@ spec:
protocol: UDP
ingress:
main:
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Media
gethomepage.dev/icon: jellyfin.png
gethomepage.dev/name: Jellyfin
hosts:
- host: &host jellyfin.${SECRET_DOMAIN}
paths:
- path: /
pathType: Prefix
service:
identifier: main
port: http
tls:
- hosts:
- *host
enabled: false
persistence:
config:
enabled: true
Expand Down
1 change: 0 additions & 1 deletion kubernetes/main/apps/media/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ kind: Kustomization
resources:
- ./namespace.yaml
- ./immich/ks.yaml
- ./jellyfin/ks.yaml
- ./prowlarr/ks.yaml
- ./qbittorrent/ks.yaml
- ./radarr/ks.yaml
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/turing/media/jellyfin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
gethomepage.dev/icon: jellyfin.png
gethomepage.dev/name: Jellyfin
hosts:
- host: &host jellyfin.turing.${SECRET_DOMAIN}
- host: &host jellyfin.${SECRET_DOMAIN}
paths:
- path: /
pathType: Prefix
Expand Down
12 changes: 6 additions & 6 deletions scripts/kubeconform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ kubeconform_args=(
"-verbose"
)

echo "=== Validating standalone manifests in ${KUBERNETES_DIR}/flux ==="
find "${KUBERNETES_DIR}/flux" -maxdepth 1 -type f -name '*.yaml' -print0 | while IFS= read -r -d $'\0' file;
echo "=== Validating standalone manifests in ${KUBERNETES_DIR}/main/flux ==="
find "${KUBERNETES_DIR}/main/flux" -maxdepth 1 -type f -name '*.yaml' -print0 | while IFS= read -r -d $'\0' file;
do
kubeconform "${kubeconform_args[@]}" "${file}"
if [[ ${PIPESTATUS[0]} != 0 ]]; then
exit 1
fi
done

echo "=== Validating kustomizations in ${KUBERNETES_DIR}/flux ==="
find "${KUBERNETES_DIR}/flux" -type f -name $kustomize_config -print0 | while IFS= read -r -d $'\0' file;
echo "=== Validating kustomizations in ${KUBERNETES_DIR}/main/flux ==="
find "${KUBERNETES_DIR}/main/flux" -type f -name $kustomize_config -print0 | while IFS= read -r -d $'\0' file;
do
echo "=== Validating kustomizations in ${file/%$kustomize_config} ==="
kustomize build "${file/%$kustomize_config}" "${kustomize_args[@]}" | \
Expand All @@ -40,8 +40,8 @@ find "${KUBERNETES_DIR}/flux" -type f -name $kustomize_config -print0 | while IF
fi
done

echo "=== Validating kustomizations in ${KUBERNETES_DIR}/apps ==="
find "${KUBERNETES_DIR}/apps" -type f -name $kustomize_config -print0 | while IFS= read -r -d $'\0' file;
echo "=== Validating kustomizations in ${KUBERNETES_DIR}/main/apps ==="
find "${KUBERNETES_DIR}/main/apps" -type f -name $kustomize_config -print0 | while IFS= read -r -d $'\0' file;
do
echo "=== Validating kustomizations in ${file/%$kustomize_config} ==="
kustomize build "${file/%$kustomize_config}" "${kustomize_args[@]}" | \
Expand Down

0 comments on commit 68a5528

Please sign in to comment.