68 lines
1.7 KiB
Markdown
68 lines
1.7 KiB
Markdown
# Cert-manager Webhook OVH
|
|
|
|
Ce chart Helm déploie le webhook OVH pour cert-manager, permettant d'utiliser le DNS-01 challenge avec OVH comme fournisseur DNS.
|
|
|
|
## Installation via ArgoCD
|
|
|
|
Ce chart est déployé automatiquement via l'ApplicationSet `cert-manager-webhook-ovh` dans ArgoCD.
|
|
|
|
## Image Docker
|
|
|
|
**Important** : L'image Docker officielle pour cert-manager-webhook-ovh peut ne pas exister. Vous avez deux options :
|
|
|
|
### Option 1 : Utiliser une image existante
|
|
|
|
Si une image existe sur un registry (Docker Hub, Quay.io, etc.), mettez à jour `values.yaml` :
|
|
|
|
```yaml
|
|
image:
|
|
repository: votre-registry/cert-manager-webhook-ovh
|
|
tag: "v1.0.0"
|
|
```
|
|
|
|
### Option 2 : Construire l'image vous-même
|
|
|
|
1. Clonez le repository du webhook OVH :
|
|
```bash
|
|
git clone https://github.com/cert-manager/webhook-ovh.git
|
|
cd webhook-ovh
|
|
```
|
|
|
|
2. Construisez l'image :
|
|
```bash
|
|
docker build -t votre-registry/cert-manager-webhook-ovh:v1.0.0 .
|
|
docker push votre-registry/cert-manager-webhook-ovh:v1.0.0
|
|
```
|
|
|
|
3. Mettez à jour `values.yaml` avec votre image.
|
|
|
|
## Configuration
|
|
|
|
Le `groupName` dans `values.yaml` doit correspondre exactement à celui configuré dans le ClusterIssuer :
|
|
|
|
```yaml
|
|
groupName: acme.gkdomaine.fr
|
|
```
|
|
|
|
## Vérification
|
|
|
|
Après déploiement :
|
|
|
|
```bash
|
|
# Vérifier les pods
|
|
kubectl get pods -n cert-manager-ops | grep webhook-ovh
|
|
|
|
# Vérifier les logs
|
|
kubectl logs -n cert-manager-ops -l app=cert-manager-webhook-ovh
|
|
|
|
# Vérifier les webhooks
|
|
kubectl get mutatingwebhookconfiguration cert-manager-webhook-ovh
|
|
kubectl get validatingwebhookconfiguration cert-manager-webhook-ovh
|
|
```
|
|
|
|
## Documentation
|
|
|
|
- [cert-manager Webhooks](https://cert-manager.io/docs/concepts/webhook/)
|
|
- [DNS-01 Challenge](https://cert-manager.io/docs/configuration/acme/dns01/)
|
|
|