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