From ee790b3e1e85b4cfcec1fe7f1d7fe812e571e219 Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Thu, 20 Oct 2022 11:44:10 +0530 Subject: [PATCH] Update chart version to v1.18.0-rc1 (#2576) Signed-off-by: Sanket Sudake --- Makefile | 2 +- charts/fission-all/Chart.yaml | 4 ++-- charts/fission-all/values.yaml | 6 +++--- pkg/fission-cli/cmd/environment/delete.go | 2 +- pkg/fission-cli/flag/flag.go | 2 +- pkg/utils/gitrepo/gitrepo.go | 2 +- pkg/utils/utils_test.go | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index aded33a1..8f01d870 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ generate-crd-ref-docs: install-crd-ref-docs cat out.md >> crd_docs.md && rm out.md mv crd_docs.md ../fission.io/content/en/docs/reference/crd-reference.md -all-generators: codegen generate-crds generate-swagger-doc +all-generators: codegen generate-crds generate-swagger-doc generate-cli-docs generate-crd-ref-docs skaffold-prebuild: @GOOS=linux GOARCH=amd64 GORELEASER_CURRENT_TAG=$(VERSION) goreleaser build --snapshot --rm-dist --single-target diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index 0c51743d..d1eb1bf0 100644 --- a/charts/fission-all/Chart.yaml +++ b/charts/fission-all/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: fission-all -version: v1.17.0 -appVersion: v1.17.0 +version: v1.18.0-rc1 +appVersion: v1.18.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/values.yaml b/charts/fission-all/values.yaml index 4103f952..9becc742 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.17.0 +imageTag: v1.18.0-rc1 ## pullPolicy represents the pull policy to use for images in the chart. ## @@ -108,7 +108,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.17.0 + imageTag: v1.18.0-rc1 ## Fetcher is only for to downloading or uploading archive. ## Normally, you don't need to change the value here, unless necessary. @@ -643,7 +643,7 @@ preUpgradeChecks: image: fission/pre-upgrade-checks ## pre-install/pre-upgrade checks image version ## - imageTag: v1.17.0 + imageTag: v1.18.0-rc1 ## Fission post-install/post-upgrade reporting live in this image ## diff --git a/pkg/fission-cli/cmd/environment/delete.go b/pkg/fission-cli/cmd/environment/delete.go index 3b86858e..f7b5b751 100644 --- a/pkg/fission-cli/cmd/environment/delete.go +++ b/pkg/fission-cli/cmd/environment/delete.go @@ -59,7 +59,7 @@ func (opts *DeleteSubCommand) do(input cli.Input) (err error) { for _, fn := range fns { if fn.Spec.Environment.Name == m.Name && fn.Spec.Environment.Namespace == m.Namespace { - return errors.New("Environment is used by atleast one function.") + return errors.New("Environment is used by at least one function.") } } } diff --git a/pkg/fission-cli/flag/flag.go b/pkg/fission-cli/flag/flag.go index 3c29e4be..33a1aa9b 100644 --- a/pkg/fission-cli/flag/flag.go +++ b/pkg/fission-cli/flag/flag.go @@ -215,7 +215,7 @@ var ( SpecDelete = Flag{Type: Bool, Name: flagkey.SpecDelete, Usage: "Allow apply to delete resources that no longer exist in the specification"} SpecDry = Flag{Type: Bool, Name: flagkey.SpecDry, Usage: "View the generated specs"} SpecValidation = Flag{Type: String, Name: flagkey.SpecValidate, Usage: "Turns server side validations of Fission objects on/off"} - SpecIgnore = Flag{Type: String, Name: flagkey.SpecIgnore, Usage: fmt.Sprintf("File containing specs to be ingored inside --specdir, defaults to %v", util.SPEC_IGNORE_FILE)} + SpecIgnore = Flag{Type: String, Name: flagkey.SpecIgnore, Usage: fmt.Sprintf("File containing specs to be ignored inside --specdir, defaults to %v", util.SPEC_IGNORE_FILE)} SpecApplyCommitLabel = Flag{Type: Bool, Name: flagkey.SpecApplyCommitLabel, Usage: "Apply commit label to the resources"} SpecAllowConflicts = Flag{Type: Bool, Name: flagkey.SpecAllowConflicts, Usage: "If true, spec apply will be forced even if conflicting resources exist", DefaultValue: false} diff --git a/pkg/utils/gitrepo/gitrepo.go b/pkg/utils/gitrepo/gitrepo.go index cdbec7fa..ea79ddf0 100644 --- a/pkg/utils/gitrepo/gitrepo.go +++ b/pkg/utils/gitrepo/gitrepo.go @@ -32,7 +32,7 @@ type GitRepo struct { status git.Status dirPath string gitRepoRootPath string // absolute path of the root of the git repository - commitID string // commit ID the HEAD of the repository is poitning to + commitID string // commit ID the HEAD of the repository is pointing to } // NewGitRepo creates new GitRepo struct diff --git a/pkg/utils/utils_test.go b/pkg/utils/utils_test.go index a26bff0f..55704dee 100644 --- a/pkg/utils/utils_test.go +++ b/pkg/utils/utils_test.go @@ -99,8 +99,8 @@ func TestGetStringValueFromEnv(t *testing.T) { }, { name: "string case", - value: "test sting", - want: "test sting", + value: "test string", + want: "test string", wantErr: false, }, } @@ -134,7 +134,7 @@ func TestGetUIntValueFromEnv(t *testing.T) { }, { name: "string case", - value: "test sting", + value: "test string", want: 0, wantErr: true, },