Skip to content

Commit

Permalink
correct manifests names
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Mar 24, 2021
1 parent 4ebe74b commit bf03582
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Before deploying Messaging Topology Operator, you need to have:
If you have [cert-manager](https://cert-manager.io/docs/installation/kubernetes/) `1.2.0` or above installed in your k8s cluster, and `kubectl` configured to access your running k8s cluster, you can then run the following command to install the Messaging Topology Operator:

```bash
kubectl apply -f https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator-with-certmanager.yml
kubectl apply -f https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator-with-certmanager.yaml
```

You can create RabbitMQ resources:
Expand All @@ -30,7 +30,7 @@ You can create RabbitMQ resources:
## Install without cert-manager

If you do not have cert-manager installed in your k8s cluster, you will need to generate certificates used by admission webhooks yourself and include them in the operator and webhooks manifests.
You can follow [this doc](./docs/installation/install-without-certmanager.md).
You can follow [this doc](./docs/installation/install-without-certmanager.md).

## Contributing

Expand Down
8 changes: 4 additions & 4 deletions docs/installation/install-without-certmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Before deploying Messaging Topology Operator, you need to have:

## Installation

Download the latest release manifests https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator.yml.
Download the latest release manifests https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator.yaml.

The Messaging Topology Operator has multiple [admission webhooks](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/). You need to generate the webhook certificate and place it in multiple places in the manifest:

Expand All @@ -27,10 +27,10 @@ The Messaging Topology Operator has multiple [admission webhooks](https://kubern
tls.key: # generated key
```
This secret will be mounted to the operator container, where all webhooks will run from.
1. Add webhook ca certificate in downloaded release manifest `messaging-topology-operator.yml`. There are 6 admission webhooks, one for each CRD type.
1. Add webhook ca certificate in downloaded release manifest `messaging-topology-operator.yaml`. There are 6 admission webhooks, one for each CRD type.
Look for keyword `caBundle` in the manifest, and paste the webhook ca cert in there (6 places because there are 6 webhooks).
1. Now you are ready to deploy. If you have `kubectl` configured to access your running k8s cluster, you can then run:

```bash
kubectl apply -f messaging-topology-operator.yml
```
kubectl apply -f messaging-topology-operator.yaml
```

0 comments on commit bf03582

Please sign in to comment.