apache / apache/devlake-helm-chart

field is immutable when upgrading

Open
#257 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go Template
Stars
52
Forks
72
Avg merge
21h 4m
Merged PRs (30d)
1

Description

When upgrading from 0.20.0-beta8 to 0.20.0-beta9 I get this error:

```
Error:
cannot patch "devlake-ui" with kind Deployment: Deployment.apps "devlake-ui" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string
]string{
"app.kubernetes.io/instance": "devlake",
"app.kubernetes.io/name": "devlake",
"devlakeComponent": "ui"
}, MatchExpressions: []v1.LabelSelectorRequirement(nil)
}: field is immutable
cannot patch "devlake-lake" with kind Deployment: Deployment.apps "devlake-lake" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string
]string{
"app.kubernetes.io/instance": "devlake",
"app.kubernetes.io/name": "devlake",
"devlakeComponent": "lake"
}, MatchExpressions: []v1.LabelSelectorRequirement(nil)
}: field is immutable
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.