Update: External Ingresses

This commit is contained in:
nold 2022-01-05 21:06:12 +01:00
parent 125bd9708f
commit 119ac6cb92
3 changed files with 5 additions and 27 deletions

View file

@ -24,8 +24,9 @@ service:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: external
traefik.ingress.kubernetes.io/router.tls: 'true'
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/tls-acme: "true"
hosts:
- host: drone.nold.in

View file

@ -41,6 +41,7 @@ ingress:
kubernetes.io/ingress.class: external
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.tls: 'true'
hosts:
- host: git.nold.in
paths:

View file

@ -50,34 +50,10 @@ nextcloud:
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 4G
kubernetes.io/ingress.class: "external"
#nginx.ingress.kubernetes.io/proxy-body-size: 4G
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
# nginx.ingress.kubernetes.io/server-snippet: |-
# server_tokens off;
# proxy_hide_header X-Powered-By;
#
# rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
# rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
# rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
# location = /.well-known/carddav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /.well-known/caldav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /robots.txt {
# allow all;
# log_not_found off;
# access_log off;
# }
# location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
# deny all;
# }
# location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
# deny all;
# }
traefik.ingress.kubernetes.io/router.tls: 'true'
tls:
- secretName: nextcloud-tls
hosts: