Skip to content

Commit

Permalink
chore(release): pre release 1.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: zhanghongtong <[email protected]>
  • Loading branch information
Rory-Z committed Jan 14, 2022
1 parent f43c8dc commit 0cf7b39
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 22 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified

deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default > config/samples/operator/controller.yaml
kubectl apply -f config/samples/operator/controller.yaml
$(KUSTOMIZE) build config/default | kubectl apply -f -

undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/default | kubectl delete -f -
Expand Down
26 changes: 12 additions & 14 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
## Release Note 🍻

🆕 Happy New Year!

### Features 🌈

- Custom Resource Definition for **EMQ X Broker** and **EMQ X Enterprise**
- Support EMQ X Broker 4.3.x version and EMQ X Enterprise 4.3.x version
- Readability configuration about `acl``modules` and `plugins` in `YAML`
- Support persistence for data and logs in EMQ X Cluster
- Support the strategy of node discovery `k8s`
- Support EMQ X metrics monitoring with `Prometheus`
- Scaling EMQ X cluster without disconnection
- Dynamic storage provisioning with pvc template
- Resources restrictions with k8s requests and limits
- Node selector
- New APIVersion: apps.emqx.io/v1beta2
- Restart pods when update `configmap` and `secret`
- Retain PVC when deleting EMQ X Custom Resource
- The emqx operator controller automatically creates the `serviceAccount`, `role` and `roleBinding` resources when the resource specified by `.spec.serviceAccountName` does not exist
- `.spec.serviceAccountName` is no longer required in EMQ X Custom Resource
- `.spec.replicas` is no longer required in EMQ X Custom Resource
- Add extra volumes mount possibility
- Add readiness probe for Statefulset

### Breaking Changes 💡
### Fixes 🛠

- Bump APIversion to `apps.emqx.io/v1beta1`
- Add the `CRD` of `EMQ X Enterprise`
- Remove configurations:`cluster`, `loadedPluginConf`,`loadedModulesConf`,`aclConf`
- Fix annotations for EMQ X Custom Resource not working
1 change: 0 additions & 1 deletion apis/apps/v1beta1/labels_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func mergeLabels(allLabels ...Labels) Labels {
func defaultLabels(name string) Labels {
return map[string]string{
"apps.emqx.io/managed-by": "emqx-operator",
"apps.emqx.io/version": "v1beta1",
"apps.emqx.io/instance": name,
}
}
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: emqx/emqx-operator-controller
newTag: 86b1b70
newTag: 1.1.0
2 changes: 1 addition & 1 deletion config/samples/operator/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7902,7 +7902,7 @@ spec:
- --leader-elect
command:
- /manager
image: emqx/emqx-operator-controller:86b1b70
image: emqx/emqx-operator-controller:1.1.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
6 changes: 3 additions & 3 deletions docs/user-guides/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ We using [cert manager](https://github.com/jetstack/cert-manager) for provisioni
1. Deploy operator controller

```shell
$ kubectl apply -f https://raw.githubusercontent.com/emqx/emqx-operator/1.0.0/config/samples/operator/controller.yaml
$ kubectl apply -f https://raw.githubusercontent.com/emqx/emqx-operator/1.1.0/config/samples/operator/controller.yaml
```

2. Check operator controller status
Expand All @@ -33,7 +33,7 @@ We using [cert manager](https://github.com/jetstack/cert-manager) for provisioni
1. Create EMQ X Custom Resource file like this

```shell
$ cat https://raw.githubusercontent.com/emqx/emqx-operator/1.0.0/config/samples/emqx/emqx.yaml
$ cat https://raw.githubusercontent.com/emqx/emqx-operator/1.1.0/config/samples/emqx/emqx.yaml
apiVersion: apps.emqx.io/v1beta2
kind: EmqxBroker
Expand Down Expand Up @@ -113,7 +113,7 @@ We using [cert manager](https://github.com/jetstack/cert-manager) for provisioni
2. Deploy EMQ X Custom Resource and check EMQ X status

```shell
$ kubectl apply https://raw.githubusercontent.com/emqx/emqx-operator/1.0.0/config/samples/emqx/emqx.yaml
$ kubectl apply https://raw.githubusercontent.com/emqx/emqx-operator/1.1.0/config/samples/emqx/emqx.yaml
emqx.apps.emqx.io/emqx created
$ kubectl get pods
Expand Down

0 comments on commit 0cf7b39

Please sign in to comment.