fix(README): fix typo in README and prepare for 0.2.1 release
diff --git a/README.md b/README.md
index 3f7932a..a181604 100644
--- a/README.md
+++ b/README.md
@@ -277,7 +277,7 @@
Using the default yaml, we can see that there are 2 name server Pods and 1 master broker 1 replica(slave) broker running on the k8s cluster.
-2. By default, the name server cluster is using host network ip(because ```hostNetwork: true```). If you set ```hostNetwork: true```, and need tp exposure the name server cluster to the outside, you can use the Service:
+2. By default, the name server cluster uses host network IP (because ```hostNetwork: true```). If you set ```hostNetwork: true```, and need to exposure the name server cluster to the outside, you can use the Service:
```
$ kubectl apply -f example/rocketmq_cluster_service.yaml
diff --git a/create-operator.sh b/create-operator.sh
index 8a21106..b589ad4 100755
--- a/create-operator.sh
+++ b/create-operator.sh
@@ -18,7 +18,7 @@
set -eux;
# You can change the DOCKERHUB_REPO to your docker repo for development purpose
-DOCKERHUB_REPO="apacherocketmq/rocketmq-operator:0.2.1-snapshot"
+DOCKERHUB_REPO="apacherocketmq/rocketmq-operator:0.2.1"
# The version of RocketMQ including the Admin Tool
ROCKETMQ_VERSION="4.5.0"
diff --git a/deploy/operator.yaml b/deploy/operator.yaml
index 2f62851..c096ad3 100644
--- a/deploy/operator.yaml
+++ b/deploy/operator.yaml
@@ -31,7 +31,7 @@
containers:
- name: rocketmq-operator
# Replace this with the built image name
- image: apacherocketmq/rocketmq-operator:0.2.1-snapshot
+ image: apacherocketmq/rocketmq-operator:0.2.1
command:
- rocketmq-operator
imagePullPolicy: Always
diff --git a/pkg/apis/rocketmq/v1alpha1/nameservice_types.go b/pkg/apis/rocketmq/v1alpha1/nameservice_types.go
index cb4d4f5..b8900e9 100644
--- a/pkg/apis/rocketmq/v1alpha1/nameservice_types.go
+++ b/pkg/apis/rocketmq/v1alpha1/nameservice_types.go
@@ -43,7 +43,7 @@
DNSPolicy corev1.DNSPolicy `json:"dnsPolicy"`
// Resources describes the compute resource requirements
Resources corev1.ResourceRequirements `json:"resources"`
- // StorageMode can be EmptyDir, HostPath, NFS
+ // StorageMode can be EmptyDir, HostPath, StorageClass
StorageMode string `json:"storageMode"`
// HostPath is the local path to store data
HostPath string `json:"hostPath"`