Skip to content

Commit

Permalink
Merge pull request #42 from ckt114/enhance-readme
Browse files Browse the repository at this point in the history
Enhancing installation instructions.
  • Loading branch information
cmoulliard authored Feb 14, 2024
2 parents 2202b22 + 4452aa9 commit 7410b0f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1

When the cert-manager has been installed, deploy the helm chart on your machine using this command:
```bash
helm install -n cert-manager godaddy-webhook ./deploy/charts/godaddy-webhook
export DOMAIN=acme.mydomain.com # replace with your domain
helm install -n cert-manager godaddy-webhook ./deploy/charts/godaddy-webhook --set groupName=$DOMAIN
```
**NOTE**: The kubernetes resources used to install the Webhook should be deployed within the same namespace as the cert-manager.

Expand All @@ -74,8 +75,9 @@ helm install -n cert-manager godaddy-webhook --set pod.securePort=8443 ./deploy/

You can also use the Helm chart published on gh-pages
```bash
export DOMAIN=acme.mydomain.com # replace with your domain
helm repo add godaddy-webhook https://snowdrop.github.io/godaddy-webhook
helm install acme-webhook godaddy-webhook/godaddy-webhook -n cert-manager
helm install acme-webhook godaddy-webhook/godaddy-webhook -n cert-manager --set groupName=$DOMAIN
```

To uninstall the webhook:
Expand All @@ -88,7 +90,8 @@ helm uninstall acme-webhook -n cert-manager
Alternatively, you can install the webhook using the kubernetes YAML resources. The namespace
where the resources should be installed is: `cert-manager`
```bash
kubectl apply -f deploy/webhook-all.yml --validate=false
export DOMAIN=acme.mydomain.com # replace with your domain
sed "s/acme.mycompany.com/$DOMAIN/g" deploy/webhook-all.yml | kubectl apply --validate=false -f -
```

## Issuer
Expand Down

0 comments on commit 7410b0f

Please sign in to comment.