Skip to content

Commit

Permalink
chore(release): pre release 1.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: zhanghongtong <[email protected]>
  • Loading branch information
Rory-Z committed Jan 18, 2022
1 parent 27561c5 commit 806c591
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
11 changes: 2 additions & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@

### Features 🌈

- 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
- Validate the format of the image tag by admission webhooks, the tag of the image must match '^[0-9]+.[0-9]+.[0-9]+$'

### Fixes 🛠

- Fix annotations for EMQ X Custom Resource not working
- Fix ".spec.env" not working in v1beta2 API version
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: f484057
newTag: 1.1.1
8 changes: 5 additions & 3 deletions config/samples/operator/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ spec:
annotations:
additionalProperties:
type: string
description: 'TODO: waiting to be deleted, should use meta.annotations'
type: object
env:
items:
Expand Down Expand Up @@ -1561,7 +1562,7 @@ spec:
labels:
additionalProperties:
type: string
description: The labels configure must be specified.
description: 'TODO: waiting to be deleted, should use meta.labels'
type: object
listener:
properties:
Expand Down Expand Up @@ -4288,6 +4289,7 @@ spec:
annotations:
additionalProperties:
type: string
description: 'TODO: waiting to be deleted, should use meta.annotations'
type: object
env:
items:
Expand Down Expand Up @@ -5302,7 +5304,7 @@ spec:
labels:
additionalProperties:
type: string
description: The labels configure must be specified.
description: 'TODO: waiting to be deleted, should use meta.labels'
type: object
license:
type: string
Expand Down Expand Up @@ -7902,7 +7904,7 @@ spec:
- --leader-elect
command:
- /manager
image: emqx/emqx-operator-controller:1.1.0
image: emqx/emqx-operator-controller:1.1.1
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.1.0/config/samples/operator/controller.yaml
$ kubectl apply -f https://raw.githubusercontent.com/emqx/emqx-operator/1.1.1/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.1.0/config/samples/emqx/emqx.yaml
$ cat https://raw.githubusercontent.com/emqx/emqx-operator/1.1.1/config/samples/emqx/v1beta2/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.1.0/config/samples/emqx/emqx.yaml
$ kubectl apply https://raw.githubusercontent.com/emqx/emqx-operator/1.1.1/config/samples/emqx/v1beta2/emqx.yaml
emqx.apps.emqx.io/emqx created
$ kubectl get pods
Expand Down

0 comments on commit 806c591

Please sign in to comment.