Skip to content

Commit 97982de

Browse files
committed
RED-64539 - replacing namespace placeholders with the name "demo"
this is to improve clarity of the doc, and be consistent with the "demo" namespace that is used in the examples in the doc
1 parent 900cc39 commit 97982de

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The "Basic" installation deploys the operator (from the current release) from Do
4343
This is the fastest way to get up and running with a new Redis Enterprise on Kubernetes.
4444

4545
1. Create a new namespace:
46+
> Note:
47+
For the purpose of this doc, we'll use the name "demo" for our cluster's namespace.
4648

4749
```bash
4850
kubectl create namespace demo
@@ -111,16 +113,18 @@ This is the fastest way to get up and running with a new Redis Enterprise on Kub
111113
NAME TYPE DATA AGE
112114
admission-tls Opaque 2 2m43s
113115
```
116+
117+
> **Note:** If you're not using multiple namespaces you may proceed to step 6.
118+
114119
* Enable the Kubernetes webhook using the generated certificate
115120

116-
**NOTE**: One must replace REPLACE_WITH_NAMESPACE in the following command with the namespace the REC was installed into.
117121
* Save the certificate into a local environmental variable
118122
```shell script
119123
CERT=`kubectl get secret admission-tls -o jsonpath='{.data.cert}'`
120124
```
121125
* Create a patch file
122126
```shell script
123-
sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/REPLACE_WITH_NAMESPACE/g' admission/webhook.yaml | kubectl create -f -
127+
sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/demo/g' admission/webhook.yaml | kubectl create -f -
124128
125129
cat > modified-webhook.yaml <<EOF
126130
webhooks:
@@ -264,12 +268,10 @@ Other custom configurations are referenced in this repository.
264268
```
265269
* Enable the Kubernetes webhook using the generated certificate
266270
267-
**NOTE**: One must replace REPLACE_WITH_NAMESPACE in the following command with the namespace the REC was installed into.
268-
269271
```shell script
270272
# save cert
271273
CERT=`kubectl get secret admission-tls -o jsonpath='{.data.cert}'`
272-
sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/REPLACE_WITH_NAMESPACE/g' admission/webhook.yaml | kubectl create -f -
274+
sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/demo/g' admission/webhook.yaml | kubectl create -f -
273275
274276
# create patch file
275277
cat > modified-webhook.yaml <<EOF

0 commit comments

Comments
 (0)