-
Type: Bug
-
Status: To Do (View Workflow)
-
Priority: High
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: SEBA-Next
-
Component/s: NEM
-
Labels:None
-
Story Points:5
-
Epic Link:
Helm charts failed to be installed.
Tried on kubernetes 1.19 with helm 3.5:
ran@voltha-1:~$ helm install xos-core onf/xos-core Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", error validating "": error validating data: ValidationError(Deployment.spec.template.spec.containers[0].ports[0]): unknown field "port" in io.k8s.api.core.v1.ContainerPort]
ran@voltha-1:~$ kubectl version Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:28:09Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
ran@voltha-1:~$ helm version version.BuildInfo{Version:"v3.5.0", GitCommit:"32c22239423b3b4ba6706d450bd044baffdcf9e6", GitTreeState:"clean", GoVersion:"go1.15.6"}
In addition Diego Nuevo reported this error in his installation:
Error: release xos-core failed: Deployment.apps "xos-core" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"app":"xos-core"}: `selector` does not match template `labels`
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
22988,1 | [SEBA-1002] Fix selectorLabels/spec mismatch in Deployments | master | helm-charts | Status: NEW | 0 | +1 |
22987,1 | [SEBA-1002] Fix selectorLabels/spec mismatch in Deployments | master | helm-charts | Status: ABANDONED | 0 | -1 |