Skip to content

Commit

Permalink
Updated ingressclassname
Browse files Browse the repository at this point in the history
  • Loading branch information
terjebra committed Dec 5, 2024
1 parent 1961320 commit d3d2805
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 27 deletions.
25 changes: 12 additions & 13 deletions src/Fusion.Summary.Api/Deployment/k8s/deployment-ingress-test.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: summary-api-fusiondev-ingress
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: nginx
kubernetes.io/ingress.class: ingress-nginx-fusiondev
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-buffer-size: "32k"
nginx.org/client-max-body-size: "50m"
nginx.ingress.kubernetes.io/client-max-body-size: "50m"
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
spec:
ingressClassName: nginx
ingressClassName: ingress-nginx-fusiondev
tls:
- hosts:
- fra-summary.{{ENVNAME}}.api.fusion-dev.net
secretName: wildcard-tls-cert
- hosts:
- fra-summary.{{ENVNAME}}.api.fusion-dev.net
secretName: wildcard-tls-cert
rules:
- host: fra-summary.{{ENVNAME}}.api.fusion-dev.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: summary-api
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: summary-api
port:
number: 80
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ metadata:
fusion-health/application: 'Fusion Summary'
fusion-health/url: /_health/ready
spec:
ingressClassName: nginx
ingressClassName: ingress-nginx-fusiondev
tls:
- hosts:
- fra-summary-{{prNumber}}.pr.api.fusion-dev.net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ metadata:
name: resources-api-fusion-ingress
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: nginx
kubernetes.io/ingress.class: ingress-nginx-fusiondev
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-buffer-size: "32k"
nginx.org/client-max-body-size: "50m"
nginx.ingress.kubernetes.io/client-max-body-size: "50m"
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
spec:
ingressClassName: nginx
ingressClassName: ingress-nginx-fusiondev
tls:
- hosts:
- fra-resources.{{ENVNAME}}.api.fusion-dev.net
secretName: wildcard-tls-cert
- hosts:
- fra-resources.{{ENVNAME}}.api.fusion-dev.net
secretName: wildcard-tls-cert
rules:
- host: fra-resources.{{ENVNAME}}.api.fusion-dev.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: resources-api
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: resources-api
port:
number: 80
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ metadata:
fusion-health/application: 'Fusion Resources'
fusion-health/url: /_health/ready
spec:
ingressClassName: nginx
ingressClassName: ingress-nginx-fusiondev
tls:
- hosts:
- fra-resources-{{prNumber}}.pr.api.fusion-dev.net
Expand Down

0 comments on commit d3d2805

Please sign in to comment.