add letsencrypt certificates

This commit is contained in:
2026-01-20 05:45:52 +01:00
parent cdc1b7c3cc
commit 8d543258cc
12 changed files with 158 additions and 89 deletions

View File

@@ -0,0 +1,27 @@
# Certificats pour Homarr
Ce dossier contient les certificats Let's Encrypt pour l'application Homarr.
## Certificats disponibles
- `certificate-homarr-dev.yaml` : Certificat pour Homarr DEV (homarr.dev.gkdomaine.fr)
## Ajout d'un nouveau certificat Homarr
Pour ajouter un certificat pour un nouvel environnement (ex: RCT, PRD), créez un nouveau fichier :
```yaml
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: homarr-<env>-tls
namespace: homarr-<env>
spec:
secretName: homarr-<env>-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- homarr.<env>.gkdomaine.fr
```

View File

@@ -0,0 +1,12 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: homarr-dev-tls
namespace: homarr-dev
spec:
secretName: homarr-dev-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- homarr.dev.gkdomaine.fr