diff --git a/README.md b/README.md index 0604f60..1168429 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # openfunction -![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) +![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square) A Helm chart for OpenFunction on Kubernetes diff --git a/docs/index.yaml b/docs/index.yaml index 09fc8db..04483df 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -39,6 +39,51 @@ entries: - https://openfunction.github.io/charts/knative-serving-1.0.1.tgz version: 1.0.1 openfunction: + - apiVersion: v2 + appVersion: 1.1.0 + created: "2023-05-30T15:11:28.6680262+08:00" + dependencies: + - condition: global.Dapr.enabled + name: dapr + repository: file://dapr + version: 1.8.3 + - condition: global.KnativeServing.enabled + name: knative-serving + repository: file://knative-serving + version: 1.3.2 + - condition: global.TektonPipelines.enabled + name: tekton-pipelines + repository: file://tekton-pipelines + version: 0.37.2 + - condition: global.ShipwrightBuild.enabled + name: shipwright-build + repository: file://shipwright-build + version: 0.10.0 + - condition: global.Keda.enabled + name: keda + repository: file://keda + version: 2.8.2 + - condition: global.Contour.enabled + name: contour + repository: file://contour + version: 8.0.4 + description: A Helm chart for OpenFunction on Kubernetes + digest: e127982e29f8f42d3c0cfd5e8610e592de00201d17a1d492f4412a2f869ceba8 + keywords: + - faas + - Serverless + - Kubernetes + kubeVersion: '>=v1.21.0-0' + maintainers: + - email: wangyifei@kubesphere.io + name: wangyifei + name: openfunction + sources: + - https://github.com/OpenFunction/OpenFunction + type: application + urls: + - https://openfunction.github.io/charts/openfunction-v1.1.0-v0.6.0.tgz + version: 0.6.0 - apiVersion: v2 appVersion: 1.0.0 created: "2023-03-08T14:10:28.6680262+08:00" diff --git a/docs/openfunction-v1.1.0-v0.6.0.tgz b/docs/openfunction-v1.1.0-v0.6.0.tgz new file mode 100644 index 0000000..e9eef4d Binary files /dev/null and b/docs/openfunction-v1.1.0-v0.6.0.tgz differ diff --git a/openfunction/README.md b/openfunction/README.md index 0604f60..c5a2b9f 100644 --- a/openfunction/README.md +++ b/openfunction/README.md @@ -1,6 +1,6 @@ # openfunction -![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) +![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square) A Helm chart for OpenFunction on Kubernetes diff --git a/openfunction/templates/build-strategies/openfunction.yaml b/openfunction/templates/build-strategies/openfunction.yaml index e502a4c..0810341 100644 --- a/openfunction/templates/build-strategies/openfunction.yaml +++ b/openfunction/templates/build-strategies/openfunction.yaml @@ -43,7 +43,7 @@ spec: done command: - /usr/local/bin/bash - image: docker.io/library/bash:5.1.4@sha256:b208215a4655538be652b2769d82e576bc4d0a2bb132144c060efc5be8c3f5d6 + image: $(params.BASH_IMAGE) name: prepare securityContext: privileged: true @@ -90,7 +90,7 @@ spec: cat /layers/report.toml | grep "digest" | cut -d'"' -f2 | cut -d'"' -f2 | tr -d '\n' | tee $(results.shp-image-digest.path) command: - /bin/sh - image: docker.io/library/bash:5.1.4@sha256:b208215a4655538be652b2769d82e576bc4d0a2bb132144c060efc5be8c3f5d6 + image: $(params.BASH_IMAGE) name: results volumeMounts: - mountPath: /layers @@ -122,4 +122,7 @@ spec: description: Environment variables to set during _build-time_. The formate is `key1=value1,key2=value2`. name: ENV_VARS + - default: "docker.io/library/bash:5.1.4" + description: The bash image. + name: BASH_IMAGE {{- end }} \ No newline at end of file diff --git a/openfunction/templates/configmaps/config.yaml b/openfunction/templates/configmaps/config.yaml index 2dd0abe..b658db8 100644 --- a/openfunction/templates/configmaps/config.yaml +++ b/openfunction/templates/configmaps/config.yaml @@ -9,14 +9,14 @@ data: knative-serving.namespace: "knative-serving" knative-serving.config-features.name: "config-features" # Configuration of the order of the plugins - plugins: | + hooks: | pre: - plugin1 - plugin2 post: - plugin2 - plugin1 - plugins.tracing: | + tracing: | # Switch for tracing, default to false enabled: false # Provider name can be set to "skywalking", "opentelemetry" diff --git a/openfunction/values.yaml b/openfunction/values.yaml index d01d3ec..2fc8aed 100644 --- a/openfunction/values.yaml +++ b/openfunction/values.yaml @@ -18,7 +18,7 @@ config: eventsourceHandlerImage: openfunction/eventsource-handler:v4 triggerHandlerImage: openfunction/trigger-handler:v4 daprProxyImage: openfunction/dapr-proxy:v0.1.1 - pluginsTracing: | + tracing: | enabled: false provider: name: "skywalking" @@ -39,7 +39,7 @@ controllerManager: openfunction: image: repository: openfunction/openfunction - tag: v1.0.0 + tag: v1.1.0 resources: limits: cpu: 500m