Skip to content

Commit

Permalink
Merge pull request #214 from h3poteto/update/readme
Browse files Browse the repository at this point in the history
Update readme for cert-manager options
  • Loading branch information
h3poteto authored Jan 26, 2022
2 parents acf13b6 + 6281620 commit 62ec0b2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
- You can change fluentd or fluent-bit docker image to be injected

## Install
You can install this controller and webhook server using helm.
### With cert-manager (Recommended)
This controller creates a webhook server, and you can manage the certificate of the webhook with [cert-manager](https://cert-manager.io/docs/). Make sure you have already installed cert-manager before you install.


You can install this controller and webhook server using helm. By default, the helm chart installs this controller with `--use-cert-manager`.

```
$ helm repo add h3poteto-stable https://h3poteto.github.io/charts/stable
Expand All @@ -22,6 +26,16 @@ $ helm install my-injector --namespace kube-system h3poteto-stable/fluentd-sidec

Please refer [helm repository](https://github.com/h3poteto/charts/tree/master/stable/fluentd-sidecar-injector) for parameters.

### Without cert-manager
If you don't use cert-manager, please choose this way. But the certificate will not be renewed when it expires. So please re-install this controller when it expires.

```
$ helm repo add h3poteto-stable https://h3poteto.github.io/charts/stable
$ helm install my-injector --namespace kube-system h3poteto-stable/fluentd-sidecar-injector --set useCertManager=false
```

### Confirm


After install it, custom resources and controller will be installed.

Expand Down

0 comments on commit 62ec0b2

Please sign in to comment.