Gitaly pv-name failed at v4.8.0
Summary
Can't upgrade to helm chart 4.8.0 from 4.7.4 with Gitaly pv-name. It works if i unset it.
Configuration used
gitlab:
gitaly:
persistence:
matchLabels:
pv-name: gitlab-gitaly
Current behavior
Failed to install app gitlab. Error: UPGRADE FAILED: Failed to recreate resource: StatefulSet in version "v1" cannot be handled as a StatefulSet: v1.StatefulSet.Spec: v1.StatefulSetSpec.VolumeClaimTemplates: []v1.PersistentVolumeClaim: v1.PersistentVolumeClaim.Spec: v1.PersistentVolumeClaimSpec.Selector: v1.LabelSelector.MatchExpressions: []v1.LabelSelectorRequirement: decode slice: expect [ or n, but found {, error found in #10 byte of ...|essions":{"pv-name":neutral_face:..., bigger context ...|storage":"50Gi"}},"selector":{"matchExpressions":{"pv-name":"gitlab-gitaly"},"matchLabels":{"pv-name|...
Versions
-
Chart: 4.8.0
-
Platform:
- Self-hosted: Rancher version v2.4.3 (684884c00)
-
Kubernetes: (
kubectl version
)- Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.8", GitCommit:"ec6eb119b81be488b030e849b9e64fda4caaf33c", GitTreeState:"clean", BuildDate:"2020-03-12T21:00:06Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
- Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5", GitCommit:"e0fccafd69541e3750d460ba0f9743b90336f24f", GitTreeState:"clean", BuildDate:"2020-04-16T11:35:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
-
Rancher-Helm: (
rancher-helm version
)- Client: &version.Version{SemVer:"v2.16.5-rancher1", GitCommit:"cba158d2776ba1b4c26812521503eaa12b6170cd", GitTreeState:"clean"}
- Server: Error: could not find tiller
-
Helm: (
helm_v3 version
)- version.BuildInfo{Version:"v3.2.0", GitCommit:"e11b7ce3b12db2941e90399e874513fbd24bcb71", GitTreeState:"clean", GoVersion:"go1.13.10"}