🐛 ingress fixes

This commit is contained in:
auricom
2022-09-14 11:09:40 +02:00
parent eae5a2fc42
commit b098a11579
4 changed files with 7 additions and 6 deletions

View File

@@ -81,5 +81,5 @@ identity_providers:
# authorization_policy: two_factor # authorization_policy: two_factor
# pre_configured_consent_duration: 1y # pre_configured_consent_duration: 1y
# scopes: ["openid", "profile", "groups", "email"] # scopes: ["openid", "profile", "groups", "email"]
# redirect_uris: ["https://minio.${SECRET_PUBLIC_DOMAIN}/oauth_callback"] # redirect_uris: ["https://minio.${SECRET_CLUSTER_DOMAIN}/oauth_callback"]
# userinfo_signing_algorithm: none # userinfo_signing_algorithm: none

View File

@@ -55,10 +55,10 @@ spec:
proxy_hide_header "content-security-policy"; proxy_hide_header "content-security-policy";
proxy_hide_header "X-Frame-Options"; proxy_hide_header "X-Frame-Options";
proxy_set_header Accept-Encoding ""; proxy_set_header Accept-Encoding "";
sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_PUBLIC_DOMAIN}/css/base/qbittorrent/nord.css"></head>'; sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/qbittorrent/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: &host "{{ .Release.Name }}.${SECRET_PUBLIC_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix

View File

@@ -56,7 +56,7 @@ spec:
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: &host "{{ .Release.Name }}.${SECRET_PUBLIC_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix

View File

@@ -41,8 +41,9 @@ spec:
enabled: true enabled: true
ingressClassName: nginx ingressClassName: nginx
path: / path: /
pathType: Prefix
hosts: hosts:
- &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" - &host "emqx.${SECRET_CLUSTER_DOMAIN}"
tls: tls:
- hosts: - hosts:
- *host - *host
@@ -50,7 +51,7 @@ spec:
enabled: false enabled: false
persistence: persistence:
enabled: true enabled: true
storageClass: ceph-block storageClass: rook-ceph-block
size: 100Mi size: 100Mi
affinity: affinity:
podAntiAffinity: podAntiAffinity: