refactor: simplify tenant ingress to TLS-only (rules managed by NaaS portal PaaS)
This commit is contained in:
parent
08f4f56a21
commit
a0f1ca8a9a
@ -1,26 +1,13 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: tenant-default
|
||||
name: tenant-tls-termination
|
||||
namespace: {{ include "tenant.namespace" . }}
|
||||
labels:
|
||||
{{- include "tenant.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/default-backend: ""
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.tenant.id }}.{{ .Values.ingress.domain }}
|
||||
secretName: tenant-tls
|
||||
rules:
|
||||
- host: {{ .Values.tenant.id }}.{{ .Values.ingress.domain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: tenant-default-svc
|
||||
port:
|
||||
number: 80
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user