add the ingress class to the ingresses to improve compatibility in the early stages of the cluster creation, where the default class is not yet propagated.

This commit is contained in:
Aaron Riedel 2023-06-19 07:15:19 +02:00
parent c22ebeb2f2
commit 93b8c785a1
Signed by: aaron
GPG key ID: 643004654D40D577
6 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,7 @@ metadata:
annotations: annotations:
nginx.org/ssl-services: "argocd-server" nginx.org/ssl-services: "argocd-server"
spec: spec:
ingressClassName: nginx
rules: rules:
- host: "argo.services.yolokube.de" - host: "argo.services.yolokube.de"
http: http:

View file

@ -5,3 +5,4 @@ ingress:
enabled: true enabled: true
hosts: hosts:
- grafana.services.yolokube.de - grafana.services.yolokube.de
ingressClassName: nginx

View file

@ -5,4 +5,5 @@ defaultSettings:
replicaAutoBalance: best-effort replicaAutoBalance: best-effort
ingress: ingress:
enabled: true enabled: true
ingressClassName: nginx
host: longhorn.services.yolokube.de host: longhorn.services.yolokube.de

View file

@ -7,6 +7,7 @@ metadata:
annotations: annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret nginx.org/basic-auth-secret: prometheus-basic-auth-secret
spec: spec:
ingressClassName: nginx
rules: rules:
- host: "prometheus.services.yolokube.de" - host: "prometheus.services.yolokube.de"
http: http:
@ -27,6 +28,7 @@ metadata:
annotations: annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret nginx.org/basic-auth-secret: prometheus-basic-auth-secret
spec: spec:
ingressClassName: nginx
rules: rules:
- host: "alertmanager.services.yolokube.de" - host: "alertmanager.services.yolokube.de"
http: http:

View file

@ -47,6 +47,7 @@ metadata:
name: test1-ingress name: test1-ingress
namespace: aaron-test namespace: aaron-test
spec: spec:
ingressClassName: nginx
rules: rules:
- host: "test.apps.yolokube.de" - host: "test.apps.yolokube.de"
http: http:

View file

@ -69,6 +69,7 @@ metadata:
name: paste-ingress name: paste-ingress
namespace: paste namespace: paste
spec: spec:
ingressClassName: nginx
rules: rules:
- host: "paste.apps.yolokube.de" - host: "paste.apps.yolokube.de"
http: http: