From 310d7bfc4e1b5849c407a5ca341f0552912fafdc Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Thu, 21 Sep 2017 19:52:37 +0100 Subject: [PATCH] Update README with chart options --- README.md | 7 +-- contrib/charts/cert-manager/README.md | 64 +++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 contrib/charts/cert-manager/README.md diff --git a/README.md b/README.md index 5cb5a8345..fefbeb3f8 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,8 @@ To deploy the latest version of cert-manager using Helm, run: $ helm install --name cert-manager --namespace kube-system contrib/charts/cert-manager ``` -#### Deploy RBAC roles - -``` -$ kubectl create -f https://raw.githubusercontent.com/jetstack-experimental/cert-manager/master/docs/rbac.yaml -``` +There are a number of options you can customise when deploying, as detailed in +[the chart itself](https://github.com/jetstack-experimental/cert-manager/tree/master/contrib/charts/cert-manager). ### 2. Set up letsencrypt staging issuer diff --git a/contrib/charts/cert-manager/README.md b/contrib/charts/cert-manager/README.md new file mode 100644 index 000000000..6a731463a --- /dev/null +++ b/contrib/charts/cert-manager/README.md @@ -0,0 +1,64 @@ +# cert-manager + +cert-manager is a Kubernetes addon to automate the management and issuance of +TLS certificates from various issuing sources. + +It will ensure certificates are valid and up to date periodically, and attempt +to renew certificates at an appropriate time before expiry. + +## TL;DR; + +```console +$ helm install . +``` + +## Introduction + +This chart creates a cert-manager deployment on a Kubernetes cluster using the Helm package manager. + +## Prerequisites + +- Kubernetes cluster with support for CustomResourceDefinition or ThirdPartyResource + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +$ helm install --name my-release . +``` + +> **Tip**: List all releases using `helm list` + +## Uninstalling the Chart + +To uninstall/delete the `my-release` deployment: + +```console +$ helm delete my-release +``` + +The command removes all the Kubernetes components associated with the chart and deletes the release. + +## Configuration + +The following tables lists the configurable parameters of the Drupal chart and their default values. + +| Parameter | Description | Default | +| ---------------------- | --------------------------------------- | ---------------------------------------------- | +| `image.repository` | Image repository | `jetstackexperimental/cert-manager-controller` | +| `image.tag` | Image tag | `canary` | +| `image.pullPolicy` | Image pull policy | `Always` | +| `replicaCount` | Number of cert-manager replicas | `1` | +| `createCustomResource` | Create CRD/TPR with this release | `true` | +| `rbac.enabled` | Create RBAC resources with this release | `true` | +| `resources` | CPU/Memory resource requests/limits | `None` | + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. + +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, + +```console +$ helm install --name my-release -f values.yaml . +``` +> **Tip**: You can use the default [values.yaml](values.yaml)