fix: production ingress — add cms.kbs2.ir, use ingressClassName instead of annotation
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 12m6s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 12m6s
This commit is contained in:
@@ -134,15 +134,26 @@ metadata:
|
||||
name: cms-ingress
|
||||
namespace: foursat
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- cms.kbs1.ir
|
||||
- cms.kbs2.ir
|
||||
secretName: cms-tls
|
||||
rules:
|
||||
- host: cms.kbs2.ir
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: cms-svc
|
||||
port:
|
||||
number: 8080
|
||||
- host: cms.kbs1.ir
|
||||
http:
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user