Skip to content

Commit

Permalink
Update release rc version
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Feb 17, 2023
1 parent bfbad73 commit fa3f168
Show file tree
Hide file tree
Showing 12 changed files with 110 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ci/olm-tests/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
namespace: olm
spec:
sourceType: grpc
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.10.0
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.11.0-rc-1
2 changes: 1 addition & 1 deletion .ci/olm-tests/subs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
spec:
channel: alpha
name: function-mesh
startingCSV: function-mesh.v0.10.0
startingCSV: function-mesh.v0.11.0-rc-1
source: my-test-catalog
sourceNamespace: olm
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Current Operator version
VERSION ?= 0.10.0
VERSION ?= 0.11.0-rc-1
# Default image tag
DOCKER_REPO := $(if $(DOCKER_REPO),$(DOCKER_REPO),streamnative)
OPERATOR_IMG ?= ${DOCKER_REPO}/function-mesh:v$(VERSION)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Kubernetes-Native way to run pulsar functions, connectors and composed functio
## Install

```bash
curl -sSL https://github.com/streamnative/function-mesh/releases/download/v0.10.0/install.sh | bash
curl -sSL https://github.com/streamnative/function-mesh/releases/download/v0.11.0-rc-1/install.sh | bash
```

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.
Expand Down
6 changes: 6 additions & 0 deletions charts/function-mesh-operator/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: admission-webhook
repository: ""
version: 0.2.8
digest: sha256:b71d7e3328fa4e71d0262ac18121ce5dc62a709ab379e5790bed07c543b9c6a7
generated: "2022-12-19T10:58:55.860604+08:00"
6 changes: 3 additions & 3 deletions charts/function-mesh-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.11
version: 0.2.12

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

home: https://github.com/streamnative/function-mesh
sources:
Expand All @@ -33,5 +33,5 @@ sources:
dependencies:
- name: admission-webhook
condition: admissionWebhook.enabled
version: 0.2.11
version: 0.2.12
# repository: https://charts.functionmesh.io/
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.11
version: 0.2.12

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

home: https://github.com/streamnative/function-mesh
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/function-mesh-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ installation:
namespace: function-mesh-system

# operatorImage is Function Mesh Operator image
operatorImage: streamnative/function-mesh:v0.10.0
operatorImage: streamnative/function-mesh:v0.11.0-rc-1
imagePullPolicy: IfNotPresent
imagePullSecrets: []

Expand Down
19 changes: 19 additions & 0 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ EOF

main() {
local local_kube="kind"
local fm_version="v0.10.0"
local fm_version="v0.11.0-rc-1"
local kind_name="kind"
local kind_version="v0.7.0"
local node_num=2
Expand Down
67 changes: 67 additions & 0 deletions test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-demo
data:
default.conf: |
server {
listen 80;
# download
autoindex on; # enable directory listing output
autoindex_exact_size off; # output file sizes rounded to kilobytes, megabytes, and gigabytes
autoindex_localtime on; # output local times in the directory
location / {
root /tmp;
}
}
---
apiVersion: v1
kind: Service
metadata:
name: nginx-server
labels:
app: nginx
spec:
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
type: LoadBalancer
selector:
app: nginx
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: nginx
spec:
selector:
matchLabels:
app: nginx
serviceName: nginx-server
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
volumes:
- name: nginx-config
configMap:
name: nginx-demo
items:
- key: default.conf
path: default.conf

7 changes: 7 additions & 0 deletions tmp/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM streamnative/pulsar-all:2.9.2.23 as pulsar
FROM streamnative/pulsar-functions-runner-base:2.9.2.23

COPY --from=pulsar --chown=$UID:$GID /pulsar/README /pulsar/pulsar-client /tmp/pulsar/
RUN if [ -d "/tmp/pulsar/pulsar-client" ]; then mv /tmp/pulsar/pulsar-client /pulsar/pulsar-client || true ; fi

RUN ls -al /tmp/pulsar

0 comments on commit fa3f168

Please sign in to comment.