This is an automated email from the ASF dual-hosted git repository. liurui pushed a commit to branch pre-release-0.2.1 in repository https://gitbox.apache.org/repos/asf/rocketmq-operator.git
commit 3cb18b82720d86da21447c8310ec16a5f5508761 Author: liurui <[email protected]> AuthorDate: Fri Aug 7 15:27:19 2020 +0800 fix(README): fix typo in README and prepare for 0.2.1 release --- README.md | 2 +- create-operator.sh | 2 +- deploy/operator.yaml | 2 +- pkg/apis/rocketmq/v1alpha1/nameservice_types.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3f7932a..a181604 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ rocketmq-operator-76b4b9f4db-x52mz 1/1 Running 0 3h25m 10.1.2 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 @@ spec: 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 @@ type NameServiceSpec struct { 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"`
