mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
change(music): use external ingress
This commit is contained in:
parent
f2902dd120
commit
861b5316c1
2 changed files with 19 additions and 7 deletions
|
@ -1,5 +1,11 @@
|
|||
config:
|
||||
desc: Music Streaming
|
||||
networkPolicy:
|
||||
groups:
|
||||
- internet
|
||||
|
||||
labels:
|
||||
environment: external
|
||||
|
||||
apps:
|
||||
- name: navidrome
|
||||
|
|
|
@ -26,20 +26,26 @@ service:
|
|||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
ingressClassName: "ingress-internal"
|
||||
ingressClassName: "ingress-external"
|
||||
labels:
|
||||
environment: external
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: vault-issuer
|
||||
traefik.ingress.kubernetes.io/router.tls: 'true'
|
||||
#cert-manager.io/cluster-issuer: vault-issuer
|
||||
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:
|
||||
- host: music.dc
|
||||
- host: music.nold.in
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: music-tls
|
||||
- secretName: music-ext-tls
|
||||
hosts:
|
||||
- music.dc
|
||||
|
||||
- music.nold.in
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 568
|
||||
|
|
Loading…
Reference in a new issue