This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(k8s): re-add redirect for pjm.social.gouv.fr
- Loading branch information
1 parent
f3a47ed
commit 82fb3ca
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |