Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
fix(k8s): re-add redirect for pjm.social.gouv.fr
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Jun 15, 2021
1 parent f3a47ed commit 82fb3ca
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .socialgouv/environments/prod/yaml/redirect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "true"
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
labels:
app: emjpm-portail
owner: emjpm-portail
team: emjpm-portail
name: redirect
namespace: emjpm-portail
spec:
rules:
- host: pjm.social.gouv.fr
http:
paths:
- backend:
serviceName: emjpm-portail
servicePort: 80
path: /
tls:
- hosts:
- pjm.social.gouv.fr
secretName: redirect-crt

0 comments on commit 82fb3ca

Please sign in to comment.