Skip to content

Commit c5f8942

Browse files
release 0.12.0-rc-1 (#615)
* release 0.12.0-rc-1 * helm-docs * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> * Update CHANGELOG.md Co-authored-by: Huanli Meng <[email protected]> --------- Co-authored-by: Huanli Meng <[email protected]>
1 parent a232adf commit c5f8942

File tree

11 files changed

+84
-160
lines changed

11 files changed

+84
-160
lines changed

.ci/olm-tests/catalog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ metadata:
55
namespace: olm
66
spec:
77
sourceType: grpc
8-
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.11.0
8+
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.12.0-rc-1

.ci/olm-tests/subs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ metadata:
66
spec:
77
channel: alpha
88
name: function-mesh
9-
startingCSV: function-mesh.v0.11.0
9+
startingCSV: function-mesh.v0.12.0-rc-1
1010
source: my-test-catalog
1111
sourceNamespace: olm

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# Function Mesh v0.12.0 Release Notes
2+
3+
## v0.12.0 What's New
4+
5+
* [Controller] Ensure the Pod security standard follows restricted specifications ([#574](https://github.com/streamnative/function-mesh/pull/574))
6+
* [Controller] Fix the issue that the `fsGroup` does not work when a volume mount uses an existing directory as a subpath ([#577](https://github.com/streamnative/function-mesh/issues/577))
7+
* [Controller] Add the default value for `minReplicas` and `replicas` ([#582](https://github.com/streamnative/function-mesh/pull/582))
8+
* [Controller] Introduce the `ConnectorCatalog` CRD ([#585](https://github.com/streamnative/function-mesh/pull/585), [#610](https://github.com/streamnative/function-mesh/pull/610))
9+
* [Controller] Allow passing Function Mesh Operator configurations through the environment variables ([#587](https://github.com/streamnative/function-mesh/pull/587))
10+
* [Controller] Allow scaling a function or connector to zero when HPA is disabled ([#590](https://github.com/streamnative/function-mesh/pull/590))
11+
* [Controller] Fix the issue that `SubscriptionType` is not handled properly ([#592](https://github.com/streamnative/function-mesh/pull/592))
12+
* [Controller] Fix the issue that `DeadLetterTopic` is set to an incorrect value in some specific cases ([#595](https://github.com/streamnative/function-mesh/pull/595))
13+
* [Controller] Fix the issue that `MaxPendingAsyncRequests` is not working ([#599](https://github.com/streamnative/function-mesh/pull/599))
14+
* [Controller] Fix the issue that the liveness probe is not working ([#604](https://github.com/streamnative/function-mesh/pull/604))
15+
* [Controller] Support configuring multiple PVs to a CR ([#605](https://github.com/streamnative/function-mesh/pull/605))
16+
* [Controller] Introduce `ShowPreciseParallelism` to CRDs ([#607](https://github.com/streamnative/function-mesh/pull/607))
17+
* [Controller] Make `Limits.CPU` optional ([#608](https://github.com/streamnative/function-mesh/pull/608))
18+
* [Controller] Move `webhook` into `pkg` ([#613](https://github.com/streamnative/function-mesh/pull/613))
19+
* [Runner Image] Remove unused dependencies from runner images ([#576](https://github.com/streamnative/function-mesh/pull/576))
20+
* [CVE] Resolve vulnerabilities and bump dependencies ([#568](https://github.com/streamnative/function-mesh/pull/568), [#583](https://github.com/streamnative/function-mesh/pull/583), [#600](https://github.com/streamnative/function-mesh/pull/600))
21+
22+
For the full changes in this release, see the [Pull Requests](https://github.com/streamnative/function-mesh/pulls?q=is%3Apr+label%3Am%2F2023-03+is%3Aclosed+).
23+
124
# Function Mesh v0.11.0 Release Notes
225

326
## v0.11.0 What's New

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Current Operator version
2-
VERSION ?= 0.11.0
2+
VERSION ?= 0.12.0-rc-1
33
# Default image tag
44
DOCKER_REPO := $(if $(DOCKER_REPO),$(DOCKER_REPO),streamnative)
55
OPERATOR_IMG ?= ${DOCKER_REPO}/function-mesh:v$(VERSION)

README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Kubernetes-Native way to run pulsar functions, connectors and composed functio
44
## Install
55

66
```bash
7-
curl -sSL https://github.com/streamnative/function-mesh/releases/download/v0.11.0/install.sh | bash
7+
curl -sSL https://github.com/streamnative/function-mesh/releases/download/v0.12.0-rc-1/install.sh | bash
88
```
99

1010
The above command installs all the CRDs, required service account configuration, and all function-mesh operator components. Before you start running a function-mesh example, verify if Function Mesh is installed correctly.
@@ -26,16 +26,15 @@ Note:
2626

2727
This table outlines the supported Kubernetes versions. We have tested these versions in their respective branches. But note that other versions might work as well.
2828

29-
| Function Mesh operator | Kubernetes 1.19 | Kubernetes 1.20 | Kubernetes 1.21 | Kubernetes 1.22 | Kubernetes 1.23 | Kubernetes 1.24 | Kubernetes 1.25 |
30-
| ------------------------------------------------------------ | --------------- |-----------------|-----------------|-----------------| --------------- | --------------- | --------------- |
31-
| [`v0.11.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.11.0) ||||||||
29+
| Function Mesh operator | Kubernetes 1.19 | Kubernetes 1.20 | Kubernetes 1.21 | Kubernetes 1.22 | Kubernetes 1.23 | Kubernetes 1.24 | Kubernetes 1.25 |
30+
|---------------------------------------------------------------------------------| --------------- |-----------------|-----------------|-----------------| --------------- | --------------- | --------------- |
31+
| [`v0.12.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.12.0) ||||||||
32+
| [`v0.11.2`](https://github.com/streamnative/function-mesh/releases/tag/v0.11.2) ||||||||
3233
| [`v0.10.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.10.0) ||||||||
33-
| [`v0.9.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.9.0) ||||||||
34-
| [`v0.8.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.8.0) ||||||||
35-
| [`v0.7.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.7.0) ||||||||
36-
| [`v0.6.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.6.0) ||||||||
37-
| [`v0.5.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.5.0) ||||||||
38-
| [`Master`](https://github.com/streamnative/function-mesh/tree/master) ||||||||
34+
| [`v0.9.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.9.0) ||||||||
35+
| [`v0.8.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.8.0) ||||||||
36+
| [`v0.7.0`](https://github.com/streamnative/function-mesh/releases/tag/v0.7.0) ||||||||
37+
| [`Master`](https://github.com/streamnative/function-mesh/tree/master) ||||||||
3938

4039
## Development
4140

charts/function-mesh-operator/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ type: application
1919
# This is the chart version. This version number should be incremented each time you make changes
2020
# to the chart and its templates, including the app version.
2121
# Versions are expected to follow Semantic Versioning (https://semver.org/)
22-
version: 0.2.12
22+
version: 0.2.13
2323

2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to
2626
# follow Semantic Versioning. They should reflect the version the application is using.
27-
appVersion: 0.11.0
27+
appVersion: 0.12.0-rc-1
2828

2929
home: https://github.com/streamnative/function-mesh
3030
sources:
@@ -33,5 +33,5 @@ sources:
3333
dependencies:
3434
- name: admission-webhook
3535
condition: admissionWebhook.enabled
36-
version: 0.2.12
36+
version: 0.2.13
3737
# repository: https://charts.functionmesh.io/
+32-130
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# function-mesh-operator
22

3-
![Version: 0.2.12](https://img.shields.io/badge/Version-0.2.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.11.0](https://img.shields.io/badge/AppVersion-0.11.0-informational?style=flat-square)
3+
![Version: 0.2.13](https://img.shields.io/badge/Version-0.2.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.12.0-rc-1](https://img.shields.io/badge/AppVersion-0.12.0--rc--1-informational?style=flat-square)
44

5-
The Function Mesh operator Helm chart for Kubernetes
5+
function mesh operator Helm chart for Kubernetes
66

77
**Homepage:** <https://github.com/streamnative/function-mesh>
88

99
## Maintainers
1010

11-
| Name | Email | URL |
12-
| ---- |--------------------------------------| --- |
13-
| Function Mesh | mailto:[email protected] | https://github.com/streamnative/function-mesh |
11+
| Name | Email | Url |
12+
| ---- | ------ | --- |
13+
| Function Mesh Support | <[email protected]> | <https://github.com/streamnative/function-mesh> |
1414

1515
## Source Code
1616

@@ -20,133 +20,35 @@ The Function Mesh operator Helm chart for Kubernetes
2020

2121
| Repository | Name | Version |
2222
|------------|------|---------|
23-
| (Built-in) | admission-webhook | 0.2.12 |
23+
| | admission-webhook | 0.2.13 |
2424

2525
## Values
2626

27-
| Key | Type | Default |
28-
|-----|------|----------------------------------------|
29-
| admissionWebhook.enabled | bool | `true` |
30-
| controllerManager.affinity | object | `{}` |
31-
| controllerManager.autoFailover | bool | `true` |
32-
| controllerManager.configFile | string | `"/etc/config/config.yaml"` |
33-
| controllerManager.create | bool | `true` |
34-
| controllerManager.enableLeaderElection | bool | `true` |
35-
| controllerManager.healthProbe.port | int | `8000` |
36-
| controllerManager.metrics.port | int | `8080` |
37-
| controllerManager.nodeSelector | object | `{}` |
38-
| controllerManager.pprof.enable | bool | `false` |
39-
| controllerManager.pprof.port | int | `8090` |
40-
| controllerManager.replicas | int | `1` |
41-
| controllerManager.resources.requests.cpu | string | `"80m"` |
42-
| controllerManager.resources.requests.memory | string | `"50Mi"` |
43-
| controllerManager.selector | list | `[]` |
44-
| controllerManager.serviceAccount | string | `"function-mesh-controller-manager"` |
45-
| controllerManager.tolerations | list | `[]` |
46-
| controllerManager.enableInitContainers | bool | `false` |
47-
| imagePullPolicy | string | `"IfNotPresent"` |
48-
| imagePullSecrets | list | `[]` |
49-
| installation.namespace | string | `"function-mesh-system"` |
50-
| operatorImage | string | `"streamnative/function-mesh:v0.11.0"` |
51-
| rbac.create | bool | `true` |
27+
| Key | Type | Default | Description |
28+
|-----|------|---------|-------------|
29+
| admissionWebhook.enabled | bool | `true` | |
30+
| controllerManager.affinity | object | `{}` | |
31+
| controllerManager.autoFailover | bool | `true` | |
32+
| controllerManager.configFile | string | `"/etc/config/config.yaml"` | |
33+
| controllerManager.create | bool | `true` | |
34+
| controllerManager.enableInitContainers | bool | `false` | |
35+
| controllerManager.enableLeaderElection | bool | `true` | |
36+
| controllerManager.healthProbe.port | int | `8000` | |
37+
| controllerManager.metrics.port | int | `8080` | |
38+
| controllerManager.nodeSelector | object | `{}` | |
39+
| controllerManager.pprof.enable | bool | `false` | |
40+
| controllerManager.pprof.port | int | `8090` | |
41+
| controllerManager.replicas | int | `1` | |
42+
| controllerManager.resources.requests.cpu | string | `"80m"` | |
43+
| controllerManager.resources.requests.memory | string | `"50Mi"` | |
44+
| controllerManager.selector | list | `[]` | |
45+
| controllerManager.serviceAccount | string | `"function-mesh-controller-manager"` | |
46+
| controllerManager.tolerations | list | `[]` | |
47+
| imagePullPolicy | string | `"IfNotPresent"` | |
48+
| imagePullSecrets | list | `[]` | |
49+
| installation.namespace | string | `"function-mesh-system"` | |
50+
| operatorImage | string | `"streamnative/function-mesh:v0.12.0-rc-1"` | |
51+
| rbac.create | bool | `true` | |
5252

5353
----------------------------------------------
54-
## Function Mesh Helm Charts Usage
55-
56-
### Install cert-manager
57-
58-
Function Mesh is enabled with the [admission control webhook](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#what-are-admission-webhooks) by default. Therefore, you need to prepare the relevant signed certificate. Secrets that contain signed certificates are named with the fixed name `function-mesh-admission-webhook-server-cert`, which is controlled by the [Certificate CRD](https://cert-manager.io/docs/concepts/certificate/).
59-
60-
It is recommended to use [cert-manager](https://cert-manager.io/) to manage these certificates and you can install the cert-manager as follows.
61-
62-
```shell
63-
helm repo add jetstack https://charts.jetstack.io
64-
helm repo update
65-
helm install \
66-
cert-manager jetstack/cert-manager \
67-
--namespace cert-manager \
68-
--create-namespace \
69-
--version v1.8.0 \
70-
--set installCRDs=true
71-
```
72-
73-
### Install Function Mesh
74-
75-
> **Note**
76-
>
77-
> - Before installation, ensure that Helm v3 is installed properly.
78-
> - For the use of `kubectl` commands, see [kubectl command reference](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands).
79-
80-
1. Add the StreamNative Function Mesh repository.
81-
82-
```shell
83-
helm repo add function-mesh http://charts.functionmesh.io/
84-
helm repo update
85-
```
86-
87-
2. Install the Function Mesh Operator.
88-
89-
Let's set some variables for convenient use later.
90-
91-
```shell
92-
export FUNCTION_MESH_RELEASE_NAME=function-mesh # change the release name according to your scenario
93-
export FUNCTION_MESH_RELEASE_NAMESPACE=function-mesh # change the namespace to where you want to install Function Mesh
94-
```
95-
96-
Install the Function Mesh Operator via following command.
97-
98-
> **Note**
99-
>
100-
> - If no Kubernetes namespace is specified, the `default` namespace is used.
101-
>
102-
> - If the namespace ${FUNCTION_MESH_RELEASE_NAMESPACE} doesn't exist yet, you can add the parameter `--create-namespace ` to create it automatically.
103-
104-
```shell
105-
helm install ${FUNCTION_MESH_RELEASE_NAME} function-mesh/function-mesh-operator -n ${FUNCTION_MESH_RELEASE_NAMESPACE}
106-
```
107-
108-
You can refer to the [Values](#values) table above to learn about the configurable parameters of the Function Mesh operator and their default values.
109-
110-
For example, if you want to enable `pprof` for the Function Mesh Operator, set the `controllerManager.pprof.enable` to `true`.
111-
112-
```shell
113-
helm install ${FUNCTION_MESH_RELEASE_NAME} function-mesh/function-mesh-operator -n ${FUNCTION_MESH_RELEASE_NAMESPACE} \
114-
--set controllerManager.pprof.enable=true
115-
```
116-
117-
3. Check whether Function Mesh is installed successfully.
118-
119-
```shell
120-
kubectl get pods --namespace ${FUNCTION_MESH_RELEASE_NAMESPACE} -l app.kubernetes.io/instance=function-mesh
121-
```
122-
123-
**Output**
124-
125-
```
126-
NAME READY STATUS RESTARTS AGE
127-
function-mesh-controller-manager-5f867557c-d6vf4 1/1 Running 0 8s
128-
```
129-
130-
### Uninstall Function Mesh
131-
132-
1. Use the following command to uninstall Function Mesh through Helm.
133-
134-
> **Note**
135-
>
136-
> `${NAMESPACE}` indicates the namespace where Function Mesh Operator is installed.
137-
138-
```bash
139-
helm delete function-mesh -n ${NAMESPACE}
140-
```
141-
142-
2. Remove the Secrets that contain the signed certificate.
143-
144-
> **Note**
145-
>
146-
> If the Secrets are not cleaned up, future installations in this environment might behave abnormally. For details about how to automatically clean up the corresponding Secrets when you delete a Certificate, see [Cleaning up Secrets when Certificates are deleted](https://cert-manager.io/docs/usage/certificate/#cleaning-up-secrets-when-certificates-are-deleted).
147-
148-
```shell
149-
kubectl delete secret function-mesh-admission-webhook-server-cert -n ${NAMESPACE}
150-
```
151-
152-
*Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)*
54+
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

charts/function-mesh-operator/charts/admission-webhook/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ type: application
1919
# This is the chart version. This version number should be incremented each time you make changes
2020
# to the chart and its templates, including the app version.
2121
# Versions are expected to follow Semantic Versioning (https://semver.org/)
22-
version: 0.2.12
22+
version: 0.2.13
2323

2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to
2626
# follow Semantic Versioning. They should reflect the version the application is using.
2727
# It is recommended to use it with quotes.
28-
appVersion: 0.11.0
28+
appVersion: 0.12.0-rc-1
2929

3030
home: https://github.com/streamnative/function-mesh
3131
sources:

0 commit comments

Comments
 (0)