Merge pull request #352 from hvaara/guides-charts-repo

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update guides to use official Charts repository

**What this PR does / why we need it**:
Updates docs to use Chart from kubernetes/charts in the installation/migration guides. This makes it less confusing which Chart to use. There was a short discussion about this with @ahmetb and @munnerz on Slack https://kubernetes.slack.com/archives/C4NV3DWUC/p1519675336000598

**Which issue this PR fixes**
No issue filed.

**Special notes for your reviewer**:
None.

**Release note**:
```release-note
NONE
```
This commit is contained in:
jetstack-ci-bot 2018-02-27 08:32:17 +00:00 committed by GitHub
commit 8022e6ab93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 18 deletions

View File

@ -21,29 +21,19 @@ RBAC can be found [here](https://github.com/kubernetes/helm/blob/master/docs/rba
### Step 1 - deploying cert-manager
To deploy the latest version of cert-manager using Helm you will first need to
clone this repository:
```bash
$ git clone https://github.com/jetstack/cert-manager
$ cd cert-manager
# check out the latest release tag to ensure we use a supported version of cert-manager
$ git checkout v0.2.3
```
We can then go ahead and install the bundled chart:
The latest version of cert-manager can be installed from the official Charts repository for Helm:
```bash
$ helm install \
--name cert-manager \
--namespace kube-system \
contrib/charts/cert-manager
stable/cert-manager
```
> **NOTE**: if your cluster does not use RBAC (Role Based Access Control), you should add `--set rbac.enabled=false` when running your `helm install` command.
The default cert-manager configuration is good for the majority of users, but a
full list of the available options can be found in the [Helm chart README](https://github.com/jetstack/cert-manager/blob/master/contrib/charts/cert-manager/README.md).
full list of the available options can be found in the [Helm chart README](https://github.com/kubernetes/charts/blob/master/stable/cert-manager/README.md).
Next, you will need to configure cert-manager with Issuers and ClusterIssuers.
These represent a 'source' for x509 certificates and will be used later on to

View File

@ -202,15 +202,11 @@ ClusterIssuer `letsencrypt-staging` (as above), run:
```bash
helm upgrade \
cert-manager \
./contrib/charts/cert-manager \
stable/cert-manager \
--namespace kube-system \
--set ingressShim.extraArgs='{--default-issuer-name=letsencrypt-staging,--default-issuer-kind=ClusterIssuer}'
```
If you get an error like: `Error: path "./contrib/charts/cert-manager" not found`,
ensure you have cloned the cert-manager repository and you are in the root of
the repository.
You should see the cert-manager pod be re-created, and once started it should
automatically create Certificate resources for all of your ingresses that
previously had kube-lego enabled.