diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index 5c7f3c0e..277ab72c 100644 --- a/charts/fission-all/Chart.yaml +++ b/charts/fission-all/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: fission-all -version: v1.19.0 -appVersion: v1.19.0 +version: v1.20.0-rc1 +appVersion: v1.20.0-rc1 description: Fission is a fast serverless framework for Kubernetes. home: https://fission.io/ icon: https://fission.io/images/fission-logo-white.svg diff --git a/charts/fission-all/README.md b/charts/fission-all/README.md index 919051c2..37c3de1b 100644 --- a/charts/fission-all/README.md +++ b/charts/fission-all/README.md @@ -4,7 +4,7 @@ ## Prerequisites -- Kubernetes 1.19+ +- Kubernetes 1.23+ - Helm 3+ ## Get Repo Info @@ -93,6 +93,25 @@ _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documen A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions. +### Upgrade from 1.18.x to 1.20.x + +We have removed controller service from fission-all chart. + +### Upgrade from 1.17.x to 1.18.x + +With 1.18.x, we have major change in the way we are deploying Fission. +We have added parameters `defaultNamespace`, `additionalFissionNamespaces`, `functionNamespace` and `builderNamespace` to manage the namespaces. +We watch and manage specific namespaces for Fission resources configured via `defaultNamespace` and `additionalFissionNamespaces` parameters. +You dont need to worry about `builderNamespace` and `functionNamespace` parameters, unless you want to consider legacy Fission resources. + +Please refer to [core changes](https://fission.io/docs/releases/v1.18.0/#fission-core-changes) for more details. + +### Upgrade from 1.16.x to 1.17.x + +By default, Fission runs with the default security context. This means that it will be run as root. We have added settings in Helm chart for securityContext across all services in Fission. You can enable recommended securityContext settings during Fission installation. + +Please refer to [security context settings](https://fission.io/docs/releases/v1.17.0/#security-context-setting-for-fission-installation) for more details. + ### Upgrade from 1.15.x to 1.16.x If you have been using `prometheus.enabled=true` in your fission-all chart, you will need to deploy the prometheus using prometheus community supported chart. diff --git a/charts/fission-all/templates/NOTES.txt b/charts/fission-all/templates/NOTES.txt index 6c8e2239..79c5ab67 100644 --- a/charts/fission-all/templates/NOTES.txt +++ b/charts/fission-all/templates/NOTES.txt @@ -11,14 +11,20 @@ Windows: 2. You're ready to use Fission! +{{- if gt (len .Values.additionalFissionNamespaces) 0 }} + You can create fission resources in the namespaces "{{ .Values.defaultNamespace }},{{ join "," .Values.additionalFissionNamespaces }}" +{{- else }} + You can create fission resources in the namespace "{{ .Values.defaultNamespace }}" +{{- end }} + # Create an environment - $ fission env create --name nodejs --image fission/node-env + $ fission env create --name nodejs --image fission/node-env --namespace {{ .Values.defaultNamespace }} # Get a hello world $ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js # Register this function with Fission - $ fission function create --name hello --env nodejs --code hello.js + $ fission function create --name hello --env nodejs --code hello.js --namespace {{ .Values.defaultNamespace }} {{- if .Values.authentication.enabled }} @@ -29,6 +35,6 @@ Windows: {{- end }} # Run this function - $ fission function test --name hello + $ fission function test --name hello --namespace {{ .Values.defaultNamespace }} Hello, world! diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index da1cdb03..fd6fde32 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -25,7 +25,7 @@ image: fission/fission-bundle ## It is also used by the chart to identify version of the few more images apart from fission-bundle. ## Keep it empty for using latest tag. ## -imageTag: v1.19.0 +imageTag: v1.20.0-rc1 ## pullPolicy represents the pull policy to use for images in the chart. ## @@ -99,7 +99,7 @@ fetcher: ## image represents the image of the fetcher component. image: fission/fetcher ## imageTag represents the tag of the image of the fetcher component. - imageTag: v1.19.0 + imageTag: v1.20.0-rc1 ## Fetcher is only for to downloading or uploading archive. ## Normally, you don't need to change the value here, unless necessary. @@ -656,7 +656,7 @@ preUpgradeChecks: image: fission/pre-upgrade-checks ## pre-install/pre-upgrade checks image version ## - imageTag: v1.19.0 + imageTag: v1.20.0-rc1 ## Fission post-install/post-upgrade reporting live in this image ##