update doc
This commit is contained in:
@@ -5,11 +5,13 @@ Ce chart gère les certificats Let's Encrypt générés par cert-manager dans le
|
||||
## Structure
|
||||
|
||||
- `Chart.yaml` : Définition du chart Helm
|
||||
- `templates/` : Dossiers organisés par application
|
||||
- `templates/` : Dossiers organisés par application (uniquement des fichiers YAML)
|
||||
- `homarr/` : Certificats pour l'application Homarr
|
||||
- `[autre-app]/` : Certificats pour d'autres applications
|
||||
- `docs/` : Documentation par application
|
||||
- `homarr/README.md` : Documentation pour les certificats Homarr
|
||||
|
||||
Chaque dossier d'application contient les certificats pour tous les environnements de cette application.
|
||||
**⚠️ IMPORTANT** : Seuls les fichiers YAML doivent être dans `templates/`. Les fichiers de documentation doivent être dans `docs/`.
|
||||
|
||||
## Ajout d'un nouveau certificat
|
||||
|
||||
@@ -35,8 +37,8 @@ spec:
|
||||
### Pour une nouvelle application
|
||||
|
||||
1. Créez un nouveau dossier dans `templates/` : `templates/<app>/`
|
||||
2. Créez le fichier Certificate dans ce dossier
|
||||
3. Optionnellement, créez un `README.md` dans le dossier pour documenter les certificats de cette application
|
||||
2. Créez le fichier Certificate dans ce dossier (uniquement des fichiers YAML)
|
||||
3. Optionnellement, créez un `README.md` dans `docs/<app>/` pour documenter les certificats de cette application
|
||||
|
||||
## Déploiement
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user