change(music): use external ingress

This commit is contained in:
nold 2024-04-02 12:59:16 +02:00
parent f2902dd120
commit 861b5316c1
2 changed files with 19 additions and 7 deletions

View file

@ -1,5 +1,11 @@
config: config:
desc: Music Streaming desc: Music Streaming
networkPolicy:
groups:
- internet
labels:
environment: external
apps: apps:
- name: navidrome - name: navidrome

View file

@ -26,20 +26,26 @@ service:
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: "ingress-internal" ingressClassName: "ingress-external"
labels:
environment: external
annotations: annotations:
cert-manager.io/cluster-issuer: vault-issuer #cert-manager.io/cluster-issuer: vault-issuer
traefik.ingress.kubernetes.io/router.tls: 'true' nginx.ingress.kubernetes.io/proxy-body-size: 20G
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: music.nold.in
external-dns.alpha.kubernetes.io/target: nold.in
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
hosts: hosts:
- host: music.dc - host: music.nold.in
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- secretName: music-tls - secretName: music-ext-tls
hosts: hosts:
- music.dc - music.nold.in
podSecurityContext: podSecurityContext:
runAsUser: 568 runAsUser: 568