[ https://issues.apache.org/jira/browse/YUNIKORN-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Bacsko resolved YUNIKORN-3019. ------------------------------------ Resolution: Not A Problem > [Yunikorn] Incorrect security Context setting for Yunikorn charts > ----------------------------------------------------------------- > > Key: YUNIKORN-3019 > URL: https://issues.apache.org/jira/browse/YUNIKORN-3019 > Project: Apache YuniKorn > Issue Type: Bug > Components: shim - kubernetes > Affects Versions: 1.6.0 > Reporter: Rajesh Kanhaiya Lal > Assignee: Peter Bacsko > Priority: Major > > Hi Team, > The Yunikorn Charts have incorrect Security Context values for and because of > that getting below error while deploying Yunikorn. > {code:java} > 13:47:54 Error: unable to build kubernetes objects from release manifest: > error validating "": error validating data: > ValidationError(Deployment.spec.template.spec.containers[0].securityContext): > unknown field "readOnlyRootFileSystem" in io.k8s.api.core.v1.SecurityContext > 13:47:54 helm.go:75: [debug] error validating "": error validating data: > ValidationError(Deployment.spec.template.spec.containers[0].securityContext): > unknown field "readOnlyRootFileSystem" in io.k8s.api.core.v1.SecurityContext > 13:47:54 helm.sh/helm/v3/pkg/kube.scrubValidationError 13:47:54 > /home/circleci/helm.sh/helm/pkg/kube/client.go:552 13:47:54 > helm.sh/helm/v3/pkg/kube.(*Client).Build 13:47:54 > /home/circleci/helm.sh/helm/pkg/kube/client.go:149 13:47:54 > helm.sh/helm/v3/pkg/action.(*Install).Run 13:47:54 > /home/circleci/helm.sh/helm/pkg/action/install.go:245 13:47:54 > main.runInstall 13:47:54 /home/circleci/helm.sh/helm/cmd/helm/install.go:223 > 13:47:54 main.newUpgradeCmd.func1 13:47:54 > /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:113 13:47:54 > github.com/spf13/cobra.(*Command).execute 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 13:47:54 > github.com/spf13/cobra.(*Command).ExecuteC 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 13:47:54 > github.com/spf13/cobra.(*Command).Execute 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 13:47:54 main.main > 13:47:54 /home/circleci/helm.sh/helm/cmd/helm/helm.go:74 13:47:54 > runtime.main 13:47:54 /usr/local/go/src/runtime/proc.go:203 13:47:54 > runtime.goexit 13:47:54 /usr/local/go/src/runtime/asm_amd64.s:1357 13:47:54 > unable to build kubernetes objects from release manifest 13:47:54 > helm.sh/helm/v3/pkg/action.(*Install).Run 13:47:54 > /home/circleci/helm.sh/helm/pkg/action/install.go:247 13:47:54 > main.runInstall 13:47:54 /home/circleci/helm.sh/helm/cmd/helm/install.go:223 > 13:47:54 main.newUpgradeCmd.func1 13:47:54 > /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:113 13:47:54 > github.com/spf13/cobra.(*Command).execute 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 13:47:54 > github.com/spf13/cobra.(*Command).ExecuteC 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 13:47:54 > github.com/spf13/cobra.(*Command).Execute 13:47:54 > /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 13:47:54 main.main > 13:47:54 /home/circleci/helm.sh/helm/cmd/helm/helm.go:74 13:47:54 > runtime.main 13:47:54 /usr/local/go/src/runtime/proc.go:203 13:47:54 > runtime.goexit 13:47:54 /usr/local/go/src/runtime/asm_amd64.s:1357 {code} > Quick Fix : "readOnlyRootFile{*}_S_{*}ystem" but we need > "readOnlyRootFile{*}_s_{*}ystem" with lowercase 's' > Could you please take a look ? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org For additional commands, e-mail: dev-h...@yunikorn.apache.org